diff options
author | David Walter Seikel | 2013-01-13 17:29:19 +1000 |
---|---|---|
committer | David Walter Seikel | 2013-01-13 17:29:19 +1000 |
commit | 07274513e984f0b5544586c74508ccd16e7dcafa (patch) | |
tree | b32ff2a9136fbc1a4a6a0ed1e4d79cde0f5f16d9 /libraries/ecore/src/lib/ecore_win32/ecore_win32_private.h | |
parent | Added Irrlicht 1.8, but without all the Windows binaries. (diff) | |
download | SledjHamr-07274513e984f0b5544586c74508ccd16e7dcafa.zip SledjHamr-07274513e984f0b5544586c74508ccd16e7dcafa.tar.gz SledjHamr-07274513e984f0b5544586c74508ccd16e7dcafa.tar.bz2 SledjHamr-07274513e984f0b5544586c74508ccd16e7dcafa.tar.xz |
Remove EFL, since it's been released now.
Diffstat (limited to '')
-rw-r--r-- | libraries/ecore/src/lib/ecore_win32/ecore_win32_private.h | 170 |
1 files changed, 0 insertions, 170 deletions
diff --git a/libraries/ecore/src/lib/ecore_win32/ecore_win32_private.h b/libraries/ecore/src/lib/ecore_win32/ecore_win32_private.h deleted file mode 100644 index e3e4426..0000000 --- a/libraries/ecore/src/lib/ecore_win32/ecore_win32_private.h +++ /dev/null | |||
@@ -1,170 +0,0 @@ | |||
1 | #ifndef __ECORE_WIN32_PRIVATE_H__ | ||
2 | #define __ECORE_WIN32_PRIVATE_H__ | ||
3 | |||
4 | |||
5 | #ifdef __cplusplus | ||
6 | extern "C" { | ||
7 | #endif | ||
8 | |||
9 | #ifdef MIN | ||
10 | # undef MIN | ||
11 | #endif | ||
12 | #define MIN(a,b) (((a) < (b)) ? (a) : (b)) | ||
13 | |||
14 | #ifdef MAX | ||
15 | # undef MAX | ||
16 | #endif | ||
17 | #define MAX(a,b) (((a) < (b)) ? (b) : (a)) | ||
18 | |||
19 | /* logging messages macros */ | ||
20 | extern int _ecore_win32_log_dom_global; | ||
21 | |||
22 | #ifdef ECORE_WIN32_DEFAULT_LOG_COLOR | ||
23 | # undef ECORE_WIN32_DEFAULT_LOG_COLOR | ||
24 | #endif | ||
25 | #define ECORE_WIN32_DEFAULT_LOG_COLOR EINA_COLOR_LIGHTBLUE | ||
26 | |||
27 | #ifdef ERR | ||
28 | # undef ERR | ||
29 | #endif | ||
30 | #define ERR(...) EINA_LOG_DOM_ERR(_ecore_win32_log_dom_global , __VA_ARGS__) | ||
31 | #ifdef DBG | ||
32 | #undef DBG | ||
33 | #endif | ||
34 | #define DBG(...) EINA_LOG_DOM_DBG(_ecore_win32_log_dom_global , __VA_ARGS__) | ||
35 | |||
36 | #ifdef INF | ||
37 | #undef INF | ||
38 | #endif | ||
39 | #define INF(...) EINA_LOG_DOM_INFO(_ecore_win32_log_dom_global , __VA_ARGS__) | ||
40 | |||
41 | #ifdef WRN | ||
42 | # undef WRN | ||
43 | #endif | ||
44 | #define WRN(...) EINA_LOG_DOM_WARN(_ecore_win32_log_dom_global, __VA_ARGS__) | ||
45 | |||
46 | #define ECORE_WIN32_WINDOW_CLASS "Ecore_Win32_Window_Class" | ||
47 | |||
48 | typedef struct _Ecore_Win32_Callback_Data Ecore_Win32_Callback_Data; | ||
49 | |||
50 | struct _Ecore_Win32_Callback_Data | ||
51 | { | ||
52 | RECT update; | ||
53 | HWND window; | ||
54 | unsigned int message; | ||
55 | WPARAM window_param; | ||
56 | LPARAM data_param; | ||
57 | unsigned long timestamp; | ||
58 | int x; | ||
59 | int y; | ||
60 | Eina_Bool discard_ctrl; | ||
61 | }; | ||
62 | |||
63 | struct _Ecore_Win32_Window | ||
64 | { | ||
65 | HWND window; | ||
66 | |||
67 | DWORD style; /* used to go fullscreen to normal */ | ||
68 | RECT rect; /* used to go fullscreen to normal */ | ||
69 | |||
70 | unsigned int min_width; | ||
71 | unsigned int min_height; | ||
72 | unsigned int max_width; | ||
73 | unsigned int max_height; | ||
74 | int base_width; | ||
75 | int base_height; | ||
76 | unsigned int step_width; | ||
77 | unsigned int step_height; | ||
78 | |||
79 | struct { | ||
80 | unsigned int iconified : 1; | ||
81 | unsigned int modal : 1; | ||
82 | unsigned int sticky : 1; | ||
83 | unsigned int maximized_vert : 1; | ||
84 | unsigned int maximized_horz : 1; | ||
85 | unsigned int shaded : 1; | ||
86 | unsigned int hidden : 1; | ||
87 | unsigned int fullscreen : 1; | ||
88 | unsigned int above : 1; | ||
89 | unsigned int below : 1; | ||
90 | unsigned int demands_attention : 1; | ||
91 | } state; | ||
92 | |||
93 | struct { | ||
94 | unsigned int desktop : 1; | ||
95 | unsigned int dock : 1; | ||
96 | unsigned int toolbar : 1; | ||
97 | unsigned int menu : 1; | ||
98 | unsigned int utility : 1; | ||
99 | unsigned int splash : 1; | ||
100 | unsigned int dialog : 1; | ||
101 | unsigned int normal : 1; | ||
102 | } type; | ||
103 | |||
104 | unsigned int pointer_is_in : 1; | ||
105 | unsigned int borderless : 1; | ||
106 | unsigned int iconified : 1; | ||
107 | unsigned int fullscreen : 1; | ||
108 | |||
109 | struct { | ||
110 | unsigned short width; | ||
111 | unsigned short height; | ||
112 | unsigned char *mask; | ||
113 | unsigned int enabled : 1; | ||
114 | unsigned int layered : 1; | ||
115 | } shape; | ||
116 | |||
117 | struct { | ||
118 | DWORD type; | ||
119 | int x; | ||
120 | int y; | ||
121 | int w; | ||
122 | int h; | ||
123 | int px; | ||
124 | int py; | ||
125 | unsigned int dragging : 1; | ||
126 | } drag; | ||
127 | |||
128 | void *dnd_drop_target; | ||
129 | }; | ||
130 | |||
131 | |||
132 | extern HINSTANCE _ecore_win32_instance; | ||
133 | extern double _ecore_win32_double_click_time; | ||
134 | extern unsigned long _ecore_win32_event_last_time; | ||
135 | extern Ecore_Win32_Window *_ecore_win32_event_last_window; | ||
136 | |||
137 | |||
138 | void _ecore_win32_event_handle_key_press(Ecore_Win32_Callback_Data *msg, int is_keystroke); | ||
139 | void _ecore_win32_event_handle_key_release(Ecore_Win32_Callback_Data *msg); | ||
140 | void _ecore_win32_event_handle_button_press(Ecore_Win32_Callback_Data *msg, int button); | ||
141 | void _ecore_win32_event_handle_button_release(Ecore_Win32_Callback_Data *msg, int button); | ||
142 | void _ecore_win32_event_handle_motion_notify(Ecore_Win32_Callback_Data *msg); | ||
143 | void _ecore_win32_event_handle_enter_notify(Ecore_Win32_Callback_Data *msg); | ||
144 | void _ecore_win32_event_handle_leave_notify(Ecore_Win32_Callback_Data *msg); | ||
145 | void _ecore_win32_event_handle_focus_in(Ecore_Win32_Callback_Data *msg); | ||
146 | void _ecore_win32_event_handle_focus_out(Ecore_Win32_Callback_Data *msg); | ||
147 | void _ecore_win32_event_handle_expose(Ecore_Win32_Callback_Data *msg); | ||
148 | void _ecore_win32_event_handle_create_notify(Ecore_Win32_Callback_Data *msg); | ||
149 | void _ecore_win32_event_handle_destroy_notify(Ecore_Win32_Callback_Data *msg); | ||
150 | void _ecore_win32_event_handle_map_notify(Ecore_Win32_Callback_Data *msg); | ||
151 | void _ecore_win32_event_handle_unmap_notify(Ecore_Win32_Callback_Data *msg); | ||
152 | void _ecore_win32_event_handle_configure_notify(Ecore_Win32_Callback_Data *msg); | ||
153 | void _ecore_win32_event_handle_resize(Ecore_Win32_Callback_Data *msg); | ||
154 | void _ecore_win32_event_handle_delete_request(Ecore_Win32_Callback_Data *msg); | ||
155 | |||
156 | void *_ecore_win32_dnd_data_object_new(void *fmtetc, void *stgmeds, int count); | ||
157 | void _ecore_win32_dnd_data_object_free(void *data_object); | ||
158 | void *_ecore_win32_dnd_drop_source_new(); | ||
159 | void _ecore_win32_dnd_drop_source_free(void *drop_source); | ||
160 | void *_ecore_win32_dnd_register_drop_window(HWND hwnd, | ||
161 | Ecore_Win32_Dnd_DropTarget_Callback callback, void *ptr); | ||
162 | void _ecore_win32_dnd_unregister_drop_window(HWND hwnd, void *drop_target); | ||
163 | |||
164 | |||
165 | #ifdef __cplusplus | ||
166 | } | ||
167 | #endif | ||
168 | |||
169 | |||
170 | #endif /* __ECORE_WIN32_PRIVATE_H__ */ | ||