57 lines
1.6 KiB
C
57 lines
1.6 KiB
C
/*
|
|
* vim:ts=8:sw=3:sts=8:noexpandtab:cino=>5n-3f0^-2{2
|
|
*/
|
|
|
|
#ifndef __ECORE_WINCE_PRIVATE_H__
|
|
#define __ECORE_WINCE_PRIVATE_H__
|
|
|
|
|
|
#define ECORE_WINCE_WINDOW_CLASS L"Ecore_WinCE_Window_Class"
|
|
|
|
|
|
typedef struct _Ecore_WinCE_Callback_Data Ecore_WinCE_Callback_Data;
|
|
|
|
struct _Ecore_WinCE_Callback_Data
|
|
{
|
|
RECT update;
|
|
HWND window;
|
|
unsigned int message;
|
|
WPARAM window_param;
|
|
LPARAM data_param;
|
|
long time;
|
|
int x;
|
|
int y;
|
|
};
|
|
|
|
|
|
typedef int (*ecore_wince_suspend) (void);
|
|
typedef int (*ecore_wince_resume) (void);
|
|
|
|
|
|
struct _Ecore_WinCE_Window
|
|
{
|
|
HWND window;
|
|
|
|
ecore_wince_suspend suspend;
|
|
ecore_wince_resume resume;
|
|
};
|
|
|
|
extern double _ecore_wince_event_last_time;
|
|
|
|
extern HINSTANCE _ecore_wince_instance;
|
|
|
|
|
|
void _ecore_wince_event_handle_key_press(Ecore_WinCE_Callback_Data *msg);
|
|
void _ecore_wince_event_handle_key_release(Ecore_WinCE_Callback_Data *msg);
|
|
void _ecore_wince_event_handle_focus_in(Ecore_WinCE_Callback_Data *msg);
|
|
void _ecore_wince_event_handle_focus_out(Ecore_WinCE_Callback_Data *msg);
|
|
void _ecore_wince_event_handle_expose(Ecore_WinCE_Callback_Data *msg);
|
|
void _ecore_wince_event_handle_create_notify(Ecore_WinCE_Callback_Data *msg);
|
|
void _ecore_wince_event_handle_destroy_notify(Ecore_WinCE_Callback_Data *msg);
|
|
void _ecore_wince_event_handle_map_notify(Ecore_WinCE_Callback_Data *msg);
|
|
void _ecore_wince_event_handle_unmap_notify(Ecore_WinCE_Callback_Data *msg);
|
|
void _ecore_wince_event_handle_delete_request(Ecore_WinCE_Callback_Data *msg);
|
|
|
|
|
|
#endif /* __ECORE_WINCE_PRIVATE_H__ */
|