File tree Expand file tree Collapse file tree 1 file changed +39
-39
lines changed Expand file tree Collapse file tree 1 file changed +39
-39
lines changed Original file line number Diff line number Diff line change @@ -77,12 +77,12 @@ FOSSIL_TEST_CASE(cpp_test_mouse_register_and_unregister) {
77
77
fossil::io::Mouse mouse;
78
78
79
79
fossil_io_mouse_event_t event = {
80
- . x = 100 ,
81
- . y = 200 ,
82
- . button = 1 ,
83
- . shift = 1 ,
84
- . ctrl = 0 ,
85
- . alt = 1
80
+ 100 ,
81
+ 200 ,
82
+ 1 ,
83
+ 1 ,
84
+ 0 ,
85
+ 1
86
86
};
87
87
88
88
fossil_io_mouse_callback_t callback = (fossil_io_mouse_callback_t )0x2 ;
@@ -98,12 +98,12 @@ FOSSIL_TEST_CASE(cpp_test_mouse_clear_bindings) {
98
98
fossil::io::Mouse mouse;
99
99
100
100
fossil_io_mouse_event_t event = {
101
- . x = 150 ,
102
- . y = 250 ,
103
- . button = 2 ,
104
- . shift = 0 ,
105
- . ctrl = 1 ,
106
- . alt = 0
101
+ 150 ,
102
+ 250 ,
103
+ 2 ,
104
+ 0 ,
105
+ 1 ,
106
+ 0
107
107
};
108
108
109
109
fossil_io_mouse_callback_t callback = (fossil_io_mouse_callback_t )0x2 ;
@@ -117,12 +117,12 @@ FOSSIL_TEST_CASE(cpp_test_mouse_poll_events) {
117
117
fossil::io::Mouse mouse;
118
118
119
119
fossil_io_mouse_event_t event = {
120
- . x = 120 ,
121
- . y = 180 ,
122
- . button = 0 ,
123
- . shift = 0 ,
124
- . ctrl = 0 ,
125
- . alt = 0
120
+ 120 ,
121
+ 180 ,
122
+ 0 ,
123
+ 0 ,
124
+ 0 ,
125
+ 0
126
126
};
127
127
128
128
fossil_io_mouse_callback_t callback = (fossil_io_mouse_callback_t )0x2 ;
@@ -140,13 +140,13 @@ FOSSIL_TEST_CASE(cpp_test_touch_register_and_unregister) {
140
140
fossil::io::Touch touch;
141
141
142
142
fossil_io_touch_event_t event = {
143
- . x = 400 ,
144
- . y = 300 ,
145
- . touch_id = 1 ,
146
- . action = 0 ,
147
- . shift = 0 ,
148
- . ctrl = 1 ,
149
- . alt = 0
143
+ 400 ,
144
+ 300 ,
145
+ 1 ,
146
+ 0 ,
147
+ 0 ,
148
+ 1 ,
149
+ 0
150
150
};
151
151
152
152
fossil_io_touch_callback_t callback = (fossil_io_touch_callback_t )0x3 ;
@@ -162,13 +162,13 @@ FOSSIL_TEST_CASE(cpp_test_touch_clear_bindings) {
162
162
fossil::io::Touch touch;
163
163
164
164
fossil_io_touch_event_t event = {
165
- . x = 500 ,
166
- . y = 600 ,
167
- . touch_id = 2 ,
168
- . action = 1 ,
169
- . shift = 1 ,
170
- . ctrl = 0 ,
171
- . alt = 1
165
+ 500 ,
166
+ 600 ,
167
+ 2 ,
168
+ 1 ,
169
+ 1 ,
170
+ 0 ,
171
+ 1
172
172
};
173
173
174
174
fossil_io_touch_callback_t callback = (fossil_io_touch_callback_t )0x3 ;
@@ -182,13 +182,13 @@ FOSSIL_TEST_CASE(cpp_test_touch_poll_events) {
182
182
fossil::io::Touch touch;
183
183
184
184
fossil_io_touch_event_t event = {
185
- . x = 700 ,
186
- . y = 800 ,
187
- . touch_id = 3 ,
188
- . action = 2 ,
189
- . shift = 1 ,
190
- . ctrl = 1 ,
191
- . alt = 0
185
+ 700 ,
186
+ 800 ,
187
+ 3 ,
188
+ 2 ,
189
+ 1 ,
190
+ 1 ,
191
+ 0
192
192
};
193
193
194
194
fossil_io_touch_callback_t callback = (fossil_io_touch_callback_t )0x3 ;
You can’t perform that action at this time.
0 commit comments