CCAux  2.8.3.0
CCAux API reference
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator
TouchScreen.h
Go to the documentation of this file.
1 /************************************************
2 *
3 * CROSSCONTROL AUX API
4 *
5 * TouchScreen.h
6 *
7 * Version 2.8.3.0, 2016-04-06
8 *
9 * (c) maximatecc 2013
10 *
11 
12  * File description:
13  * Touch Screen settings
14  *
15  * Use the function GetTouchScreen() to get a handle to pass on to the other functions.
16  * Use the method TouchScreen_release(TOUCHSCREENHANDLE) to return the handle.
17  * Note that the VC platform uses a different touch screen solution which is not supported by this API.
18  *
19  * Example Usage:
20  * @include touchscreen_example.cpp
21  *
22  ************************************************/
23 
24 #ifndef CC_TOUCHSCR_H
25 #define CC_TOUCHSCR_H
26 
27 #include "CCAuxErrors.h"
28 #include "CCPlatform.h"
29 
30 #ifdef __cplusplus
31 namespace CrossControl {
32 #endif
33 
34  typedef void* TOUCHSCREENHANDLE;
35 
37  typedef enum
38  {
41  MOUSE_NOW = 2,
42  TOUCH_NOW = 3
44 
48  typedef enum
49  {
54 
60 
65 
72 
79 
85 
91 
96 
102 
107 
112 
118 
127 
129 
143  EXTERN_C
144  CCAUXDLL_API
146  CCAUXDLL_CALLING_CONV
147  GetTouchScreen(void);
148 
159  EXTERN_C
160  CCAUXDLL_API
161  void
162  CCAUXDLL_CALLING_CONV
164 
177  EXTERN_C
178  CCAUXDLL_API
179  eErr
180  CCAUXDLL_CALLING_CONV
182 
195  EXTERN_C
196  CCAUXDLL_API
197  eErr
198  CCAUXDLL_CALLING_CONV
200 
210  EXTERN_C
211  CCAUXDLL_API
212  eErr
213  CCAUXDLL_CALLING_CONV
215 
225  EXTERN_C
226  CCAUXDLL_API
227  eErr
228  CCAUXDLL_CALLING_CONV
230 
242  EXTERN_C
243  CCAUXDLL_API
244  eErr
245  CCAUXDLL_CALLING_CONV
247 
262  EXTERN_C
263  CCAUXDLL_API
264  eErr
265  CCAUXDLL_CALLING_CONV
267 
268 #ifdef __cplusplus
269 } /* namespace CrossControl */
270 #endif
271 
272 #endif /* CC_TOUCHSCR_H */
273