CCAux  2.7.2.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.7.2.0, 2014-08-25
8 *
9 * (c) maximatecc 2013
10 *
11 * File description:
12 * Touch Screen settings
13 *
14 * Use the function GetTouchScreen() to get a handle to pass on to the other functions.
15 * Use the method TouchScreen_release(TOUCHSCREENHANDLE) to return the handle.
16 * Note that the VC platform uses a different touch screen solution which is not supported by this API.
17 *
18 * Example Usage:
19 * @include touchscreen_example.cpp
20 *
21 ************************************************/
22 
23 #ifndef CC_TOUCHSCR_H
24 #define CC_TOUCHSCR_H
25 
26 #include "CCAuxErrors.h"
27 #include "CCPlatform.h"
28 
29 #ifdef __cplusplus
30 namespace CrossControl {
31 #endif
32 
33  typedef void* TOUCHSCREENHANDLE;
34 
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 
130 
144  EXTERN_C
145  CCAUXDLL_API
147  CCAUXDLL_CALLING_CONV
148  GetTouchScreen(void);
149 
160  EXTERN_C
161  CCAUXDLL_API
162  void
163  CCAUXDLL_CALLING_CONV
165 
178  EXTERN_C
179  CCAUXDLL_API
180  eErr
181  CCAUXDLL_CALLING_CONV
183 
196  EXTERN_C
197  CCAUXDLL_API
198  eErr
199  CCAUXDLL_CALLING_CONV
201 
211  EXTERN_C
212  CCAUXDLL_API
213  eErr
214  CCAUXDLL_CALLING_CONV
216 
226  EXTERN_C
227  CCAUXDLL_API
228  eErr
229  CCAUXDLL_CALLING_CONV
231 
243  EXTERN_C
244  CCAUXDLL_API
245  eErr
246  CCAUXDLL_CALLING_CONV
248 
263  EXTERN_C
264  CCAUXDLL_API
265  eErr
266  CCAUXDLL_CALLING_CONV
268 
269 #ifdef __cplusplus
270 } /* namespace CrossControl */
271 #endif
272 
273 #endif /* CC_TOUCHSCR_H */
274