1 #ifndef __ECORE_WINCE_H__
2 #define __ECORE_WINCE_H__
10 # ifdef EFL_ECORE_WINCE_BUILD
12 # define EAPI __declspec(dllexport)
15 # endif /* ! DLL_EXPORT */
17 # define EAPI __declspec(dllimport)
18 # endif /* ! EFL_ECORE_WINCE_BUILD */
22 # define EAPI __attribute__ ((visibility("default")))
37 typedef void Ecore_WinCE_Window;
43 typedef struct _Ecore_WinCE_Event_Mouse_In Ecore_WinCE_Event_Mouse_In;
44 typedef struct _Ecore_WinCE_Event_Mouse_Out Ecore_WinCE_Event_Mouse_Out;
45 typedef struct _Ecore_WinCE_Event_Window_Focus_In Ecore_WinCE_Event_Window_Focus_In;
46 typedef struct _Ecore_WinCE_Event_Window_Focus_Out Ecore_WinCE_Event_Window_Focus_Out;
47 typedef struct _Ecore_WinCE_Event_Window_Damage Ecore_WinCE_Event_Window_Damage;
48 typedef struct _Ecore_WinCE_Event_Window_Create Ecore_WinCE_Event_Window_Create;
49 typedef struct _Ecore_WinCE_Event_Window_Destroy Ecore_WinCE_Event_Window_Destroy;
50 typedef struct _Ecore_WinCE_Event_Window_Hide Ecore_WinCE_Event_Window_Hide;
51 typedef struct _Ecore_WinCE_Event_Window_Show Ecore_WinCE_Event_Window_Show;
52 typedef struct _Ecore_WinCE_Event_Window_Delete_Request Ecore_WinCE_Event_Window_Delete_Request;
54 struct _Ecore_WinCE_Event_Mouse_In
56 Ecore_WinCE_Window *window;
62 struct _Ecore_WinCE_Event_Mouse_Out
64 Ecore_WinCE_Window *window;
70 struct _Ecore_WinCE_Event_Window_Focus_In
72 Ecore_WinCE_Window *window;
76 struct _Ecore_WinCE_Event_Window_Focus_Out
78 Ecore_WinCE_Window *window;
82 struct _Ecore_WinCE_Event_Window_Damage
84 Ecore_WinCE_Window *window;
92 struct _Ecore_WinCE_Event_Window_Create
94 Ecore_WinCE_Window *window;
98 struct _Ecore_WinCE_Event_Window_Destroy
100 Ecore_WinCE_Window *window;
104 struct _Ecore_WinCE_Event_Window_Hide
106 Ecore_WinCE_Window *window;
110 struct _Ecore_WinCE_Event_Window_Show
112 Ecore_WinCE_Window *window;
116 struct _Ecore_WinCE_Event_Window_Delete_Request
118 Ecore_WinCE_Window *window;
123 EAPI extern int ECORE_WINCE_EVENT_MOUSE_IN;
124 EAPI extern int ECORE_WINCE_EVENT_MOUSE_OUT;
125 EAPI extern int ECORE_WINCE_EVENT_WINDOW_FOCUS_IN;
126 EAPI extern int ECORE_WINCE_EVENT_WINDOW_FOCUS_OUT;
127 EAPI extern int ECORE_WINCE_EVENT_WINDOW_DAMAGE;
128 EAPI extern int ECORE_WINCE_EVENT_WINDOW_CREATE;
129 EAPI extern int ECORE_WINCE_EVENT_WINDOW_DESTROY;
130 EAPI extern int ECORE_WINCE_EVENT_WINDOW_HIDE;
131 EAPI extern int ECORE_WINCE_EVENT_WINDOW_SHOW;
132 EAPI extern int ECORE_WINCE_EVENT_WINDOW_DELETE_REQUEST;
137 EAPI int ecore_wince_init();
138 EAPI int ecore_wince_shutdown();
139 EAPI long ecore_wince_current_time_get(void);
140 EAPI void ecore_wince_message_loop_begin (void);
144 EAPI Ecore_WinCE_Window *ecore_wince_window_new(Ecore_WinCE_Window *parent,
150 EAPI void ecore_wince_window_free(Ecore_WinCE_Window *window);
152 EAPI void *ecore_wince_window_hwnd_get(Ecore_WinCE_Window *window);
154 EAPI void ecore_wince_window_move(Ecore_WinCE_Window *window,
158 EAPI void ecore_wince_window_resize(Ecore_WinCE_Window *window,
162 EAPI void ecore_wince_window_move_resize(Ecore_WinCE_Window *window,
168 EAPI void ecore_wince_window_show(Ecore_WinCE_Window *window);
170 EAPI void ecore_wince_window_hide(Ecore_WinCE_Window *window);
172 EAPI void ecore_wince_window_title_set(Ecore_WinCE_Window *window,
175 EAPI void ecore_wince_window_backend_set(Ecore_WinCE_Window *window, int backend);
177 EAPI void ecore_wince_window_suspend_set(Ecore_WinCE_Window *window, int (*suspend)(int));
179 EAPI void ecore_wince_window_resume_set(Ecore_WinCE_Window *window, int (*resume)(int));
181 EAPI void ecore_wince_window_geometry_get(Ecore_WinCE_Window *window,
187 EAPI void ecore_wince_window_size_get(Ecore_WinCE_Window *window,
191 EAPI void ecore_wince_window_fullscreen_set(Ecore_WinCE_Window *window,
199 #endif /* __ECORE_WINCE_H__ */