reflexion 0.2.1 → 0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.doc/ext/reflex/application.cpp +1 -1
- data/.doc/ext/reflex/capture_event.cpp +1 -1
- data/.doc/ext/reflex/contact_event.cpp +1 -1
- data/.doc/ext/reflex/draw_event.cpp +1 -1
- data/.doc/ext/reflex/ellipse_shape.cpp +1 -1
- data/.doc/ext/reflex/event.cpp +1 -1
- data/.doc/ext/reflex/filter.cpp +1 -1
- data/.doc/ext/reflex/focus_event.cpp +1 -1
- data/.doc/ext/reflex/frame_event.cpp +1 -1
- data/.doc/ext/reflex/image_view.cpp +1 -1
- data/.doc/ext/reflex/key_event.cpp +74 -69
- data/.doc/ext/reflex/line_shape.cpp +1 -1
- data/.doc/ext/reflex/motion_event.cpp +1 -1
- data/.doc/ext/reflex/pointer.cpp +1 -1
- data/.doc/ext/reflex/pointer_event.cpp +1 -1
- data/.doc/ext/reflex/polygon_shape.cpp +1 -1
- data/.doc/ext/reflex/rect_shape.cpp +1 -1
- data/.doc/ext/reflex/reflex.cpp +58 -50
- data/.doc/ext/reflex/screen.cpp +1 -1
- data/.doc/ext/reflex/scroll_event.cpp +1 -1
- data/.doc/ext/reflex/selector.cpp +2 -2
- data/.doc/ext/reflex/shape.cpp +1 -1
- data/.doc/ext/reflex/style.cpp +1 -1
- data/.doc/ext/reflex/style_length.cpp +2 -2
- data/.doc/ext/reflex/timer.cpp +1 -1
- data/.doc/ext/reflex/timer_event.cpp +1 -1
- data/.doc/ext/reflex/update_event.cpp +1 -1
- data/.doc/ext/reflex/view.cpp +1 -1
- data/.doc/ext/reflex/wheel_event.cpp +1 -1
- data/.doc/ext/reflex/window.cpp +1 -1
- data/.github/workflows/release-gem.yml +1 -1
- data/.github/workflows/test.yml +3 -0
- data/ChangeLog.md +5 -0
- data/Rakefile +1 -1
- data/VERSION +1 -1
- data/ext/reflex/application.cpp +1 -1
- data/ext/reflex/capture_event.cpp +1 -1
- data/ext/reflex/contact_event.cpp +1 -1
- data/ext/reflex/defs.h +2 -0
- data/ext/reflex/draw_event.cpp +1 -1
- data/ext/reflex/ellipse_shape.cpp +1 -1
- data/ext/reflex/event.cpp +1 -1
- data/ext/reflex/extconf.rb +4 -4
- data/ext/reflex/filter.cpp +1 -1
- data/ext/reflex/focus_event.cpp +1 -1
- data/ext/reflex/frame_event.cpp +1 -1
- data/ext/reflex/image_view.cpp +1 -1
- data/ext/reflex/key_event.cpp +74 -69
- data/ext/reflex/line_shape.cpp +1 -1
- data/ext/reflex/motion_event.cpp +1 -1
- data/ext/reflex/pointer.cpp +1 -1
- data/ext/reflex/pointer_event.cpp +1 -1
- data/ext/reflex/polygon_shape.cpp +1 -1
- data/ext/reflex/rect_shape.cpp +1 -1
- data/ext/reflex/reflex.cpp +58 -50
- data/ext/reflex/screen.cpp +1 -1
- data/ext/reflex/scroll_event.cpp +1 -1
- data/ext/reflex/selector.cpp +2 -2
- data/ext/reflex/shape.cpp +1 -1
- data/ext/reflex/style.cpp +1 -1
- data/ext/reflex/style_length.cpp +2 -2
- data/ext/reflex/timer.cpp +1 -1
- data/ext/reflex/timer_event.cpp +1 -1
- data/ext/reflex/update_event.cpp +1 -1
- data/ext/reflex/view.cpp +1 -1
- data/ext/reflex/wheel_event.cpp +1 -1
- data/ext/reflex/window.cpp +1 -1
- data/include/reflex/defs.h +204 -187
- data/include/reflex/reflex.h +1 -0
- data/include/reflex/ruby/application.h +2 -2
- data/include/reflex/ruby/event.h +26 -26
- data/include/reflex/ruby/exception.h +3 -3
- data/include/reflex/ruby/filter.h +2 -2
- data/include/reflex/ruby/image_view.h +2 -2
- data/include/reflex/ruby/pointer.h +2 -2
- data/include/reflex/ruby/reflex.h +1 -1
- data/include/reflex/ruby/screen.h +2 -2
- data/include/reflex/ruby/selector.h +2 -2
- data/include/reflex/ruby/shape.h +10 -10
- data/include/reflex/ruby/style.h +4 -4
- data/include/reflex/ruby/timer.h +2 -2
- data/include/reflex/ruby/view.h +2 -2
- data/include/reflex/ruby/window.h +2 -2
- data/lib/reflex/extension.rb +4 -0
- data/reflex.gemspec +4 -4
- data/src/event.cpp +7 -3
- data/src/event.h +2 -0
- data/src/ios/event.mm +21 -27
- data/src/shape.cpp +2 -2
- data/src/view.cpp +1 -0
- data/src/win32/application.cpp +48 -35
- data/src/win32/device.cpp +18 -0
- data/src/win32/event.cpp +221 -0
- data/src/win32/event.h +50 -0
- data/src/win32/opengl.cpp +54 -27
- data/src/win32/opengl.h +15 -13
- data/src/win32/reflex.cpp +10 -16
- data/src/win32/screen.cpp +61 -0
- data/src/win32/screen.h +21 -0
- data/src/win32/window.cpp +445 -240
- data/src/window.cpp +1 -0
- data/test/test_window.rb +24 -21
- metadata +14 -11
- data/src/win32/defs.cpp +0 -303
- data/src/win32/defs.h +0 -34
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 519781325342b4d3ce4f84636140f9869f7a071835b880979e59b138b28242be
|
4
|
+
data.tar.gz: f474f2abbb1f8957ae5ddfc20b5a9fdcf8f0f0dc7fa3904122b0fff29d561952
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 74fa4aeefb7e4639c3b05b3bf7ae257695690b63e01b30f97058d9f9d672704a9912937a85469eb3b9cb853de5f4505233f5857bca3e20cfb998368409df089a
|
7
|
+
data.tar.gz: 71fb5eed0de8a8619964399fcb6981ca7e8841b9e8bbc333ddbe94593f98c6ead527ad5196fa30f97d17d7a2d52cbbe29f4c8aa898f0e8930102239322987638
|
data/.doc/ext/reflex/event.cpp
CHANGED
data/.doc/ext/reflex/filter.cpp
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
#include "defs.h"
|
5
5
|
|
6
6
|
|
7
|
-
RUCY_DEFINE_VALUE_FROM_TO(Reflex::KeyEvent)
|
7
|
+
RUCY_DEFINE_VALUE_FROM_TO(REFLEX_EXPORT, Reflex::KeyEvent)
|
8
8
|
|
9
9
|
#define THIS to<Reflex::KeyEvent*>(self)
|
10
10
|
|
@@ -119,18 +119,18 @@ VALUE get_key(VALUE self)
|
|
119
119
|
CASE(LBRACKET): SYMBOL1(lbracket);
|
120
120
|
CASE(RBRACKET): SYMBOL1(rbracket);
|
121
121
|
|
122
|
-
#if defined(OSX) || defined(IOS)
|
123
|
-
CASE(ENTER):
|
122
|
+
#if defined(OSX) || defined(IOS) || defined(WIN32)
|
123
|
+
CASE(ENTER): SYMBOL1(enter);
|
124
124
|
#else
|
125
|
-
CASE(ENTER):
|
126
|
-
CASE(RETURN):
|
125
|
+
CASE(ENTER): SYMBOL1(enter);
|
126
|
+
CASE(RETURN): SYMBOL1(_return, "return");
|
127
127
|
#endif
|
128
|
-
CASE(SPACE):
|
129
|
-
CASE(TAB):
|
130
|
-
CASE(DELETE):
|
131
|
-
CASE(BACKSPACE):
|
132
|
-
|
133
|
-
CASE(ESCAPE):
|
128
|
+
CASE(SPACE): SYMBOL1(space);
|
129
|
+
CASE(TAB): SYMBOL1(tab);
|
130
|
+
CASE(DELETE): SYMBOL2(_delete, "delete");
|
131
|
+
CASE(BACKSPACE): SYMBOL1(backspace);
|
132
|
+
CASE(INSERT): SYMBOL1(insert);
|
133
|
+
CASE(ESCAPE): SYMBOL1(escape);
|
134
134
|
|
135
135
|
CASE(LEFT): SYMBOL1(left);
|
136
136
|
CASE(RIGHT): SYMBOL1(right);
|
@@ -141,27 +141,25 @@ VALUE get_key(VALUE self)
|
|
141
141
|
CASE(PAGEUP): SYMBOL1(pageup);
|
142
142
|
CASE(PAGEDOWN): SYMBOL1(pagedown);
|
143
143
|
|
144
|
-
#if defined(OSX)
|
144
|
+
#if !defined(OSX) && !defined(IOS)
|
145
|
+
CASE(SHIFT):
|
146
|
+
#endif
|
145
147
|
CASE(LSHIFT):
|
146
148
|
CASE(RSHIFT): SYMBOL1(shift);
|
149
|
+
#if !defined(OSX) && !defined(IOS)
|
150
|
+
CASE(CONTROL):
|
151
|
+
#endif
|
147
152
|
CASE(LCONTROL):
|
148
153
|
CASE(RCONTROL): SYMBOL1(control);
|
154
|
+
CASE(ALT):
|
155
|
+
CASE(LALT):
|
156
|
+
CASE(RALT): SYMBOL1(alt);
|
157
|
+
CASE(LWIN):
|
158
|
+
CASE(RWIN): SYMBOL1(win);
|
149
159
|
CASE(LCOMMAND):
|
150
160
|
CASE(RCOMMAND): SYMBOL1(command);
|
151
161
|
CASE(LOPTION):
|
152
162
|
CASE(ROPTION): SYMBOL1(option);
|
153
|
-
#else
|
154
|
-
CASE(SHIFT):
|
155
|
-
CASE(LSHIFT):
|
156
|
-
CASE(RSHIFT): SYMBOL1(shift);
|
157
|
-
CASE(CONTROL):
|
158
|
-
CASE(LCONTROL):
|
159
|
-
CASE(RCONTROL): SYMBOL1(control);
|
160
|
-
//CASE(LALT):
|
161
|
-
//CASE(RALT): SYMBOL1(alt);
|
162
|
-
//CASE(LWIN):
|
163
|
-
//CASE(RWIN): SYMBOL1(win);
|
164
|
-
#endif
|
165
163
|
CASE(FUNCTION): SYMBOL1(function);
|
166
164
|
|
167
165
|
CASE(F1): SYMBOL1(f1);
|
@@ -184,10 +182,10 @@ VALUE get_key(VALUE self)
|
|
184
182
|
CASE(F18): SYMBOL1(f18);
|
185
183
|
CASE(F19): SYMBOL1(f19);
|
186
184
|
CASE(F20): SYMBOL1(f20);
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
185
|
+
CASE(F21): SYMBOL1(f21);
|
186
|
+
CASE(F22): SYMBOL1(f22);
|
187
|
+
CASE(F23): SYMBOL1(f23);
|
188
|
+
CASE(F24): SYMBOL1(f24);
|
191
189
|
|
192
190
|
CASE(NUM_PLUS): SYMBOL1(plus);
|
193
191
|
CASE(NUM_MINUS): SYMBOL1(minus);
|
@@ -200,56 +198,63 @@ VALUE get_key(VALUE self)
|
|
200
198
|
CASE(NUM_ENTER): SYMBOL1(enter);
|
201
199
|
|
202
200
|
CASE(CAPSLOCK): SYMBOL1(capslock);
|
203
|
-
|
204
|
-
|
201
|
+
CASE(NUMLOCK): SYMBOL1(numlock);
|
202
|
+
CASE(SCROLLLOCK): SYMBOL1(scrolllock);
|
205
203
|
|
206
|
-
|
207
|
-
|
208
|
-
|
204
|
+
CASE(PRINTSCREEN): SYMBOL1(printscreen);
|
205
|
+
CASE(PAUSE): SYMBOL1(pause);
|
206
|
+
CASE(BREAK): SYMBOL2(_break, "break");
|
209
207
|
CASE(SECTION): SYMBOL1(section);
|
210
208
|
CASE(HELP): SYMBOL1(help);
|
211
209
|
|
212
|
-
CASE(
|
213
|
-
CASE(
|
214
|
-
|
215
|
-
|
216
|
-
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
210
|
+
CASE(EISU): SYMBOL1(eisu);
|
211
|
+
CASE(KANA): SYMBOL1(kana);
|
212
|
+
CASE(KANJI): SYMBOL1(kanji);
|
213
|
+
CASE(IME_ON): SYMBOL1(ime_on);
|
214
|
+
CASE(IME_OFF): SYMBOL1(ime_off);
|
215
|
+
CASE(IME_MODECHANGE): SYMBOL1(ime_mode_change);
|
216
|
+
CASE(CONVERT): SYMBOL1(convert);
|
217
|
+
CASE(NONCONVERT): SYMBOL1(nonconvert);
|
218
|
+
CASE(ACCEPT): SYMBOL1(accept);
|
219
|
+
CASE(PROCESS): SYMBOL1(process);
|
222
220
|
|
223
221
|
CASE(VOLUME_UP): SYMBOL1(volume_up);
|
224
222
|
CASE(VOLUME_DOWN): SYMBOL1(volume_down);
|
225
223
|
CASE(MUTE): SYMBOL1(mute);
|
226
224
|
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
|
244
|
-
|
245
|
-
|
246
|
-
|
247
|
-
|
248
|
-
|
249
|
-
|
250
|
-
|
251
|
-
|
252
|
-
|
225
|
+
CASE(SLEEP): SYMBOL1(sleep);
|
226
|
+
CASE(EXEC): SYMBOL1(exec);
|
227
|
+
CASE(PRINT): SYMBOL1(print);
|
228
|
+
CASE(APPS): SYMBOL1(apps);
|
229
|
+
CASE(SELECT): SYMBOL1(select);
|
230
|
+
CASE(CLEAR): SYMBOL1(clear);
|
231
|
+
|
232
|
+
CASE(NAVIGATION_VIEW): SYMBOL1(navigation_view);
|
233
|
+
CASE(NAVIGATION_MENU): SYMBOL1(navigation_menu);
|
234
|
+
CASE(NAVIGATION_UP): SYMBOL1(navigation_up);
|
235
|
+
CASE(NAVIGATION_DOWN): SYMBOL1(navigation_down);
|
236
|
+
CASE(NAVIGATION_LEFT): SYMBOL1(navigation_left);
|
237
|
+
CASE(NAVIGATION_RIGHT): SYMBOL1(navigation_right);
|
238
|
+
CASE(NAVIGATION_ACCEPT): SYMBOL1(navigation_accept);
|
239
|
+
CASE(NAVIGATION_CANCEL): SYMBOL1(navigation_cancel);
|
240
|
+
|
241
|
+
CASE(BROWSER_BACK): SYMBOL1(browser_back);
|
242
|
+
CASE(BROWSER_FORWARD): SYMBOL1(browser_forward);
|
243
|
+
CASE(BROWSER_REFRESH): SYMBOL1(browser_refresh);
|
244
|
+
CASE(BROWSER_STOP): SYMBOL1(browser_stop);
|
245
|
+
CASE(BROWSER_SEARCH): SYMBOL1(browser_search);
|
246
|
+
CASE(BROWSER_FAVORITES): SYMBOL1(browser_favorites);
|
247
|
+
CASE(BROWSER_HOME): SYMBOL1(browser_home);
|
248
|
+
|
249
|
+
CASE(MEDIA_PREV_TRACK): SYMBOL1(media_prev);
|
250
|
+
CASE(MEDIA_NEXT_TRACK): SYMBOL1(media_next);
|
251
|
+
CASE(MEDIA_PLAY_PAUSE): SYMBOL1(media_play_pause);
|
252
|
+
CASE(MEDIA_STOP): SYMBOL1(media_stop);
|
253
|
+
|
254
|
+
CASE(LAUNCH_MAIL): SYMBOL1(launch_mail);
|
255
|
+
CASE(LAUNCH_MEDIA_SELECT): SYMBOL1(launch_media_select);
|
256
|
+
CASE(LAUNCH_APP1): SYMBOL1(launch_app1);
|
257
|
+
CASE(LAUNCH_APP2): SYMBOL1(launch_app2);
|
253
258
|
|
254
259
|
#undef CASE
|
255
260
|
#undef SYMBOL1
|
data/.doc/ext/reflex/pointer.cpp
CHANGED
data/.doc/ext/reflex/reflex.cpp
CHANGED
@@ -113,7 +113,7 @@ Init_reflex ()
|
|
113
113
|
DEFINE_CONST(KEY_TAB);
|
114
114
|
DEFINE_CONST(KEY_DELETE);
|
115
115
|
DEFINE_CONST(KEY_BACKSPACE);
|
116
|
-
|
116
|
+
DEFINE_CONST(KEY_INSERT);
|
117
117
|
DEFINE_CONST(KEY_ESCAPE);
|
118
118
|
|
119
119
|
DEFINE_CONST(KEY_LEFT);
|
@@ -131,10 +131,11 @@ Init_reflex ()
|
|
131
131
|
DEFINE_CONST(KEY_CONTROL);
|
132
132
|
DEFINE_CONST(KEY_LCONTROL);
|
133
133
|
DEFINE_CONST(KEY_RCONTROL);
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
134
|
+
DEFINE_CONST(KEY_ALT);
|
135
|
+
DEFINE_CONST(KEY_LALT);
|
136
|
+
DEFINE_CONST(KEY_RALT);
|
137
|
+
DEFINE_CONST(KEY_LWIN);
|
138
|
+
DEFINE_CONST(KEY_RWIN);
|
138
139
|
DEFINE_CONST(KEY_COMMAND);
|
139
140
|
DEFINE_CONST(KEY_LCOMMAND);
|
140
141
|
DEFINE_CONST(KEY_RCOMMAND);
|
@@ -163,10 +164,10 @@ Init_reflex ()
|
|
163
164
|
DEFINE_CONST(KEY_F18);
|
164
165
|
DEFINE_CONST(KEY_F19);
|
165
166
|
DEFINE_CONST(KEY_F20);
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
167
|
+
DEFINE_CONST(KEY_F21);
|
168
|
+
DEFINE_CONST(KEY_F22);
|
169
|
+
DEFINE_CONST(KEY_F23);
|
170
|
+
DEFINE_CONST(KEY_F24);
|
170
171
|
|
171
172
|
DEFINE_CONST(KEY_NUM_0);
|
172
173
|
DEFINE_CONST(KEY_NUM_1);
|
@@ -190,56 +191,63 @@ Init_reflex ()
|
|
190
191
|
DEFINE_CONST(KEY_NUM_ENTER);
|
191
192
|
|
192
193
|
DEFINE_CONST(KEY_CAPSLOCK);
|
193
|
-
|
194
|
-
|
194
|
+
DEFINE_CONST(KEY_NUMLOCK);
|
195
|
+
DEFINE_CONST(KEY_SCROLLLOCK);
|
195
196
|
|
196
|
-
|
197
|
-
|
198
|
-
|
197
|
+
DEFINE_CONST(KEY_PRINTSCREEN);
|
198
|
+
DEFINE_CONST(KEY_PAUSE);
|
199
|
+
DEFINE_CONST(KEY_BREAK);
|
199
200
|
DEFINE_CONST(KEY_SECTION);
|
200
201
|
DEFINE_CONST(KEY_HELP);
|
201
202
|
|
202
|
-
DEFINE_CONST(
|
203
|
-
DEFINE_CONST(
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
203
|
+
DEFINE_CONST(KEY_EISU);
|
204
|
+
DEFINE_CONST(KEY_KANA);
|
205
|
+
DEFINE_CONST(KEY_KANJI);
|
206
|
+
DEFINE_CONST(KEY_IME_ON);
|
207
|
+
DEFINE_CONST(KEY_IME_OFF);
|
208
|
+
DEFINE_CONST(KEY_IME_MODECHANGE);
|
209
|
+
DEFINE_CONST(KEY_CONVERT);
|
210
|
+
DEFINE_CONST(KEY_NONCONVERT);
|
211
|
+
DEFINE_CONST(KEY_ACCEPT);
|
212
|
+
DEFINE_CONST(KEY_PROCESS);
|
212
213
|
|
213
214
|
DEFINE_CONST(KEY_VOLUME_UP);
|
214
215
|
DEFINE_CONST(KEY_VOLUME_DOWN);
|
215
216
|
DEFINE_CONST(KEY_MUTE);
|
216
217
|
|
217
|
-
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
242
|
-
|
218
|
+
DEFINE_CONST(KEY_SLEEP);
|
219
|
+
DEFINE_CONST(KEY_EXEC);
|
220
|
+
DEFINE_CONST(KEY_PRINT);
|
221
|
+
DEFINE_CONST(KEY_APPS);
|
222
|
+
DEFINE_CONST(KEY_SELECT);
|
223
|
+
DEFINE_CONST(KEY_CLEAR);
|
224
|
+
|
225
|
+
DEFINE_CONST(KEY_NAVIGATION_VIEW);
|
226
|
+
DEFINE_CONST(KEY_NAVIGATION_MENU);
|
227
|
+
DEFINE_CONST(KEY_NAVIGATION_UP);
|
228
|
+
DEFINE_CONST(KEY_NAVIGATION_DOWN);
|
229
|
+
DEFINE_CONST(KEY_NAVIGATION_LEFT);
|
230
|
+
DEFINE_CONST(KEY_NAVIGATION_RIGHT);
|
231
|
+
DEFINE_CONST(KEY_NAVIGATION_ACCEPT);
|
232
|
+
DEFINE_CONST(KEY_NAVIGATION_CANCEL);
|
233
|
+
|
234
|
+
DEFINE_CONST(KEY_BROWSER_BACK);
|
235
|
+
DEFINE_CONST(KEY_BROWSER_FORWARD);
|
236
|
+
DEFINE_CONST(KEY_BROWSER_REFRESH);
|
237
|
+
DEFINE_CONST(KEY_BROWSER_STOP);
|
238
|
+
DEFINE_CONST(KEY_BROWSER_SEARCH);
|
239
|
+
DEFINE_CONST(KEY_BROWSER_FAVORITES);
|
240
|
+
DEFINE_CONST(KEY_BROWSER_HOME);
|
241
|
+
|
242
|
+
DEFINE_CONST(KEY_MEDIA_PREV_TRACK);
|
243
|
+
DEFINE_CONST(KEY_MEDIA_NEXT_TRACK);
|
244
|
+
DEFINE_CONST(KEY_MEDIA_PLAY_PAUSE);
|
245
|
+
DEFINE_CONST(KEY_MEDIA_STOP);
|
246
|
+
|
247
|
+
DEFINE_CONST(KEY_LAUNCH_MAIL);
|
248
|
+
DEFINE_CONST(KEY_LAUNCH_MEDIA_SELECT);
|
249
|
+
DEFINE_CONST(KEY_LAUNCH_APP1);
|
250
|
+
DEFINE_CONST(KEY_LAUNCH_APP2);
|
243
251
|
|
244
252
|
DEFINE_CONST(MOD_SHIFT);
|
245
253
|
DEFINE_CONST(MOD_CONTROL);
|
data/.doc/ext/reflex/screen.cpp
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
#include "defs.h"
|
6
6
|
|
7
7
|
|
8
|
-
RUCY_DEFINE_VALUE_OR_ARRAY_FROM_TO(Reflex::Selector)
|
8
|
+
RUCY_DEFINE_VALUE_OR_ARRAY_FROM_TO(REFLEX_EXPORT, Reflex::Selector)
|
9
9
|
|
10
10
|
#define THIS to< Reflex::Selector*>(self)
|
11
11
|
#define C_THIS to<const Reflex::Selector*>(self)
|
@@ -131,7 +131,7 @@ namespace Rucy
|
|
131
131
|
{
|
132
132
|
|
133
133
|
|
134
|
-
template <> Reflex::Selector
|
134
|
+
template <> REFLEX_EXPORT Reflex::Selector
|
135
135
|
value_to<Reflex::Selector> (int argc, const Value* argv, bool convert)
|
136
136
|
{
|
137
137
|
if (argc == 1 && argv->is_array())
|
data/.doc/ext/reflex/shape.cpp
CHANGED
data/.doc/ext/reflex/style.cpp
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
#include "defs.h"
|
6
6
|
|
7
7
|
|
8
|
-
RUCY_DEFINE_VALUE_OR_ARRAY_FROM_TO(Reflex::StyleLength)
|
8
|
+
RUCY_DEFINE_VALUE_OR_ARRAY_FROM_TO(REFLEX_EXPORT, Reflex::StyleLength)
|
9
9
|
|
10
10
|
#define THIS to<Reflex::StyleLength*>(self)
|
11
11
|
|
@@ -208,7 +208,7 @@ namespace Rucy
|
|
208
208
|
{
|
209
209
|
|
210
210
|
|
211
|
-
template <> Reflex::StyleLength
|
211
|
+
template <> REFLEX_EXPORT Reflex::StyleLength
|
212
212
|
value_to<Reflex::StyleLength> (int argc, const Value* argv, bool convert)
|
213
213
|
{
|
214
214
|
if (argc == 1 && argv->is_array())
|
data/.doc/ext/reflex/timer.cpp
CHANGED
data/.doc/ext/reflex/view.cpp
CHANGED