2 * vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
5 #ifndef __ECORE_WINCE_H__
6 #define __ECORE_WINCE_H__
14 # ifdef EFL_ECORE_WINCE_BUILD
16 # define EAPI __declspec(dllexport)
19 # endif /* ! DLL_EXPORT */
21 # define EAPI __declspec(dllimport)
22 # endif /* ! EFL_ECORE_WINCE_BUILD */
26 # define EAPI __attribute__ ((visibility("default")))
41 typedef void Ecore_WinCE_Window;
47 typedef struct _Ecore_WinCE_Event_Mouse_In Ecore_WinCE_Event_Mouse_In;
48 typedef struct _Ecore_WinCE_Event_Mouse_Out Ecore_WinCE_Event_Mouse_Out;
49 typedef struct _Ecore_WinCE_Event_Window_Focus_In Ecore_WinCE_Event_Window_Focus_In;
50 typedef struct _Ecore_WinCE_Event_Window_Focus_Out Ecore_WinCE_Event_Window_Focus_Out;
51 typedef struct _Ecore_WinCE_Event_Window_Damage Ecore_WinCE_Event_Window_Damage;
52 typedef struct _Ecore_WinCE_Event_Window_Create Ecore_WinCE_Event_Window_Create;
53 typedef struct _Ecore_WinCE_Event_Window_Destroy Ecore_WinCE_Event_Window_Destroy;
54 typedef struct _Ecore_WinCE_Event_Window_Hide Ecore_WinCE_Event_Window_Hide;
55 typedef struct _Ecore_WinCE_Event_Window_Show Ecore_WinCE_Event_Window_Show;
56 typedef struct _Ecore_WinCE_Event_Window_Delete_Request Ecore_WinCE_Event_Window_Delete_Request;
58 struct _Ecore_WinCE_Event_Mouse_In
60 Ecore_WinCE_Window *window;
66 struct _Ecore_WinCE_Event_Mouse_Out
68 Ecore_WinCE_Window *window;
74 struct _Ecore_WinCE_Event_Window_Focus_In
76 Ecore_WinCE_Window *window;
80 struct _Ecore_WinCE_Event_Window_Focus_Out
82 Ecore_WinCE_Window *window;
86 struct _Ecore_WinCE_Event_Window_Damage
88 Ecore_WinCE_Window *window;
96 struct _Ecore_WinCE_Event_Window_Create
98 Ecore_WinCE_Window *window;
102 struct _Ecore_WinCE_Event_Window_Destroy
104 Ecore_WinCE_Window *window;
108 struct _Ecore_WinCE_Event_Window_Hide
110 Ecore_WinCE_Window *window;
114 struct _Ecore_WinCE_Event_Window_Show
116 Ecore_WinCE_Window *window;
120 struct _Ecore_WinCE_Event_Window_Delete_Request
122 Ecore_WinCE_Window *window;
127 EAPI extern int ECORE_WINCE_EVENT_MOUSE_IN;
128 EAPI extern int ECORE_WINCE_EVENT_MOUSE_OUT;
129 EAPI extern int ECORE_WINCE_EVENT_WINDOW_FOCUS_IN;
130 EAPI extern int ECORE_WINCE_EVENT_WINDOW_FOCUS_OUT;
131 EAPI extern int ECORE_WINCE_EVENT_WINDOW_DAMAGE;
132 EAPI extern int ECORE_WINCE_EVENT_WINDOW_CREATE;
133 EAPI extern int ECORE_WINCE_EVENT_WINDOW_DESTROY;
134 EAPI extern int ECORE_WINCE_EVENT_WINDOW_HIDE;
135 EAPI extern int ECORE_WINCE_EVENT_WINDOW_SHOW;
136 EAPI extern int ECORE_WINCE_EVENT_WINDOW_DELETE_REQUEST;
141 EAPI int ecore_wince_init();
142 EAPI int ecore_wince_shutdown();
143 EAPI long ecore_wince_current_time_get(void);
144 EAPI void ecore_wince_message_loop_begin (void);
148 EAPI Ecore_WinCE_Window *ecore_wince_window_new(Ecore_WinCE_Window *parent,
154 EAPI void ecore_wince_window_free(Ecore_WinCE_Window *window);
156 EAPI void *ecore_wince_window_hwnd_get(Ecore_WinCE_Window *window);
158 EAPI void ecore_wince_window_move(Ecore_WinCE_Window *window,
162 EAPI void ecore_wince_window_resize(Ecore_WinCE_Window *window,
166 EAPI void ecore_wince_window_move_resize(Ecore_WinCE_Window *window,
172 EAPI void ecore_wince_window_show(Ecore_WinCE_Window *window);
174 EAPI void ecore_wince_window_hide(Ecore_WinCE_Window *window);
176 EAPI void ecore_wince_window_title_set(Ecore_WinCE_Window *window,
179 EAPI void ecore_wince_window_backend_set(Ecore_WinCE_Window *window, int backend);
181 EAPI void ecore_wince_window_suspend_set(Ecore_WinCE_Window *window, int (*suspend)(int));
183 EAPI void ecore_wince_window_resume_set(Ecore_WinCE_Window *window, int (*resume)(int));
185 EAPI void ecore_wince_window_geometry_get(Ecore_WinCE_Window *window,
191 EAPI void ecore_wince_window_size_get(Ecore_WinCE_Window *window,
195 EAPI void ecore_wince_window_fullscreen_set(Ecore_WinCE_Window *window,
203 #endif /* __ECORE_WINCE_H__ */