reflexion 0.1.45 → 0.1.47
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/contact_event.cpp +1 -0
- data/.doc/ext/reflex/focus_event.cpp +1 -0
- data/.doc/ext/reflex/key_event.cpp +1 -0
- data/.doc/ext/reflex/pointer.cpp +2 -0
- data/ChangeLog.md +11 -0
- data/VERSION +1 -1
- data/ext/reflex/contact_event.cpp +1 -0
- data/ext/reflex/focus_event.cpp +1 -0
- data/ext/reflex/key_event.cpp +1 -0
- data/ext/reflex/pointer.cpp +2 -0
- data/reflex.gemspec +2 -2
- data/src/ios/view_controller.mm +1 -1
- data/src/ios/window.mm +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bbba01aa89b281514746d453c7fa419ce6549b575e4f104a10879590b36f7618
|
4
|
+
data.tar.gz: 22e14f38d1e12250dbcbbef64e277d270199e9803a4f65d4843e97751d718f29
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f47eedb2578dd14f8bb89921483de7a2a95c2b49a6f10946750f974bf8571ab2de4f9004646fae4548dce697fb443e35524b1bf97558051503d7d2e3f880ec80
|
7
|
+
data.tar.gz: 5d22c08c4b141058bd1cadf70c0205a5e21873e6a73b3af635b8038a9bd68cae110a707737dbb7e0b38e1b5635d3f2e71047b0a257318890998a6d589bd66711
|
@@ -76,6 +76,7 @@ Init_reflex_contact_event ()
|
|
76
76
|
rb_define_method(cContactEvent, "action", RUBY_METHOD_FUNC(get_action), 0);
|
77
77
|
rb_define_method(cContactEvent, "shape", RUBY_METHOD_FUNC(get_shape), 0);
|
78
78
|
rb_define_method(cContactEvent, "view", RUBY_METHOD_FUNC(get_view), 0);
|
79
|
+
|
79
80
|
cContactEvent.define_const("ACTION_NONE", Reflex::ContactEvent::ACTION_NONE);
|
80
81
|
cContactEvent.define_const("BEGIN", Reflex::ContactEvent::BEGIN);
|
81
82
|
cContactEvent.define_const("END", Reflex::ContactEvent::END);
|
@@ -75,6 +75,7 @@ Init_reflex_focus_event ()
|
|
75
75
|
rb_define_method(cFocusEvent, "action", RUBY_METHOD_FUNC(get_action), 0);
|
76
76
|
rb_define_method(cFocusEvent, "current", RUBY_METHOD_FUNC(get_current), 0);
|
77
77
|
rb_define_method(cFocusEvent, "last", RUBY_METHOD_FUNC(get_last), 0);
|
78
|
+
|
78
79
|
cFocusEvent.define_const("ACTION_NONE", Reflex::FocusEvent::ACTION_NONE);
|
79
80
|
cFocusEvent.define_const("FOCUS", Reflex::FocusEvent::FOCUS);
|
80
81
|
cFocusEvent.define_const("BLUR", Reflex::FocusEvent::BLUR);
|
@@ -298,6 +298,7 @@ Init_reflex_key_event ()
|
|
298
298
|
rb_define_method(cKeyEvent, "modifiers", RUBY_METHOD_FUNC(get_modifiers), 0);
|
299
299
|
rb_define_method(cKeyEvent, "repeat", RUBY_METHOD_FUNC(get_repeat), 0);
|
300
300
|
cKeyEvent.define_method("captured?", is_captured);
|
301
|
+
|
301
302
|
cKeyEvent.define_const("ACTION_NONE", Reflex::KeyEvent::ACTION_NONE);
|
302
303
|
cKeyEvent.define_const("DOWN", Reflex::KeyEvent::DOWN);
|
303
304
|
cKeyEvent.define_const("UP", Reflex::KeyEvent::UP);
|
data/.doc/ext/reflex/pointer.cpp
CHANGED
@@ -145,6 +145,7 @@ Init_reflex_pointer ()
|
|
145
145
|
rb_define_method(cPointer, "time", RUBY_METHOD_FUNC(get_time), 0);
|
146
146
|
rb_define_method(cPointer, "prev", RUBY_METHOD_FUNC(get_prev), 0);
|
147
147
|
rb_define_method(cPointer, "down", RUBY_METHOD_FUNC(get_down), 0);
|
148
|
+
|
148
149
|
cPointer.define_const("TYPE_NONE", Reflex::Pointer::TYPE_NONE);
|
149
150
|
cPointer.define_const("MOUSE", Reflex::Pointer::MOUSE);
|
150
151
|
cPointer.define_const("MOUSE_LEFT", Reflex::Pointer::MOUSE_LEFT);
|
@@ -152,6 +153,7 @@ Init_reflex_pointer ()
|
|
152
153
|
cPointer.define_const("MOUSE_MIDDLE", Reflex::Pointer::MOUSE_MIDDLE);
|
153
154
|
cPointer.define_const("TOUCH", Reflex::Pointer::TOUCH);
|
154
155
|
cPointer.define_const("PEN", Reflex::Pointer::PEN);
|
156
|
+
|
155
157
|
cPointer.define_const("ACTION_NONE", Reflex::Pointer::ACTION_NONE);
|
156
158
|
cPointer.define_const("DOWN", Reflex::Pointer::DOWN);
|
157
159
|
cPointer.define_const("UP", Reflex::Pointer::UP);
|
data/ChangeLog.md
CHANGED
@@ -1,6 +1,17 @@
|
|
1
1
|
# reflex ChangeLog
|
2
2
|
|
3
3
|
|
4
|
+
## [v0.1.47] - 2023-06-27
|
5
|
+
|
6
|
+
- NONE -> TYPE_NONE
|
7
|
+
|
8
|
+
|
9
|
+
## [v0.1.46] - 2023-06-22
|
10
|
+
|
11
|
+
- Use UIScreen's 'nativeScale' instead of 'scale'
|
12
|
+
- Fix invalid dz value for FrameEvent
|
13
|
+
|
14
|
+
|
4
15
|
## [v0.1.45] - 2023-06-11
|
5
16
|
|
6
17
|
- Add Pointer#down() which saves the first 'pointer_down' pointer
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.47
|
@@ -82,6 +82,7 @@ Init_reflex_contact_event ()
|
|
82
82
|
cContactEvent.define_method("action", get_action);
|
83
83
|
cContactEvent.define_method("shape", get_shape);
|
84
84
|
cContactEvent.define_method("view", get_view);
|
85
|
+
|
85
86
|
cContactEvent.define_const("ACTION_NONE", Reflex::ContactEvent::ACTION_NONE);
|
86
87
|
cContactEvent.define_const("BEGIN", Reflex::ContactEvent::BEGIN);
|
87
88
|
cContactEvent.define_const("END", Reflex::ContactEvent::END);
|
data/ext/reflex/focus_event.cpp
CHANGED
@@ -81,6 +81,7 @@ Init_reflex_focus_event ()
|
|
81
81
|
cFocusEvent.define_method("action", get_action);
|
82
82
|
cFocusEvent.define_method("current", get_current);
|
83
83
|
cFocusEvent.define_method("last", get_last);
|
84
|
+
|
84
85
|
cFocusEvent.define_const("ACTION_NONE", Reflex::FocusEvent::ACTION_NONE);
|
85
86
|
cFocusEvent.define_const("FOCUS", Reflex::FocusEvent::FOCUS);
|
86
87
|
cFocusEvent.define_const("BLUR", Reflex::FocusEvent::BLUR);
|
data/ext/reflex/key_event.cpp
CHANGED
@@ -308,6 +308,7 @@ Init_reflex_key_event ()
|
|
308
308
|
cKeyEvent.define_method("modifiers", get_modifiers);
|
309
309
|
cKeyEvent.define_method("repeat", get_repeat);
|
310
310
|
cKeyEvent.define_method("captured?", is_captured);
|
311
|
+
|
311
312
|
cKeyEvent.define_const("ACTION_NONE", Reflex::KeyEvent::ACTION_NONE);
|
312
313
|
cKeyEvent.define_const("DOWN", Reflex::KeyEvent::DOWN);
|
313
314
|
cKeyEvent.define_const("UP", Reflex::KeyEvent::UP);
|
data/ext/reflex/pointer.cpp
CHANGED
@@ -159,6 +159,7 @@ Init_reflex_pointer ()
|
|
159
159
|
cPointer.define_method("time", get_time);
|
160
160
|
cPointer.define_method("prev", get_prev);
|
161
161
|
cPointer.define_method("down", get_down);
|
162
|
+
|
162
163
|
cPointer.define_const("TYPE_NONE", Reflex::Pointer::TYPE_NONE);
|
163
164
|
cPointer.define_const("MOUSE", Reflex::Pointer::MOUSE);
|
164
165
|
cPointer.define_const("MOUSE_LEFT", Reflex::Pointer::MOUSE_LEFT);
|
@@ -166,6 +167,7 @@ Init_reflex_pointer ()
|
|
166
167
|
cPointer.define_const("MOUSE_MIDDLE", Reflex::Pointer::MOUSE_MIDDLE);
|
167
168
|
cPointer.define_const("TOUCH", Reflex::Pointer::TOUCH);
|
168
169
|
cPointer.define_const("PEN", Reflex::Pointer::PEN);
|
170
|
+
|
169
171
|
cPointer.define_const("ACTION_NONE", Reflex::Pointer::ACTION_NONE);
|
170
172
|
cPointer.define_const("DOWN", Reflex::Pointer::DOWN);
|
171
173
|
cPointer.define_const("UP", Reflex::Pointer::UP);
|
data/reflex.gemspec
CHANGED
@@ -27,8 +27,8 @@ Gem::Specification.new do |s|
|
|
27
27
|
|
28
28
|
s.add_runtime_dependency 'xot', '~> 0.1.39'
|
29
29
|
s.add_runtime_dependency 'rucy', '~> 0.1.39'
|
30
|
-
s.add_runtime_dependency 'beeps', '~> 0.1.
|
31
|
-
s.add_runtime_dependency 'rays', '~> 0.1.
|
30
|
+
s.add_runtime_dependency 'beeps', '~> 0.1.41'
|
31
|
+
s.add_runtime_dependency 'rays', '~> 0.1.43'
|
32
32
|
|
33
33
|
s.add_development_dependency 'rake'
|
34
34
|
s.add_development_dependency 'test-unit'
|
data/src/ios/view_controller.mm
CHANGED
@@ -422,7 +422,7 @@ ReflexViewController_get_show_fun ()
|
|
422
422
|
|
423
423
|
if (dpos != 0 || dsize != 0)
|
424
424
|
{
|
425
|
-
Reflex::FrameEvent e(b, dpos.x, dpos.y, dsize.x, dsize.y, 0
|
425
|
+
Reflex::FrameEvent e(b, dpos.x, dpos.y, 0, dsize.x, dsize.y, 0);
|
426
426
|
if (dpos != 0) win->on_move(&e);
|
427
427
|
if (dsize != 0)
|
428
428
|
{
|
data/src/ios/window.mm
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: reflexion
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.47
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- xordog
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-06-
|
11
|
+
date: 2023-06-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: xot
|
@@ -44,28 +44,28 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 0.1.
|
47
|
+
version: 0.1.41
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 0.1.
|
54
|
+
version: 0.1.41
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rays
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 0.1.
|
61
|
+
version: 0.1.43
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: 0.1.
|
68
|
+
version: 0.1.43
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: rake
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|