Commit Graph

322 Commits

Author SHA1 Message Date
df1e9d6bb4 remove cButton::setTextSize() 2024-12-03 09:44:40 -05:00
2b01a18bb3 make text-size an optional attribute of button 2024-12-03 09:44:40 -05:00
f47229417b still require width on other button types 2024-12-03 09:44:40 -05:00
9fb5cdbefd leds and tiny buttons measure actual preferred width 2024-12-03 09:44:40 -05:00
ed3dcd9246 make button text size changeable 2024-12-03 09:44:40 -05:00
df0c46d616 Merge pull request #458 from NQNStudios:credits-overhaul
Auto-generated credits / Update the credits from IndieGOGO
2024-11-23 18:54:51 -05:00
b441401475 wrap pollEvent() to guarantee all loops handle modifiers (#477) 2024-11-23 17:46:54 -05:00
888b86404c move forward declaration 2024-11-19 18:54:06 -06:00
9d972a3961 Pick the largest suitable default scale. Fix #468 (#472) 2024-11-19 19:17:15 -05:00
cd6c0a0a30 link controls auto-add click handler 2024-11-19 15:06:43 -06:00
a551da6299 add very rudimentary right-alignment text option 2024-11-16 17:47:07 -06:00
d47249b404 rename control_click to click_control 2024-11-10 00:32:17 -05:00
8a9fb0ed22 dialogxml: ensure a container's contents have been resolved before resolving anything else relative to the container 2024-09-10 22:18:59 -04:00
1db98bc7c0 dialogxml: Search for anchor widgets recursively within containers
Aso throw an error if relative attribute is missing when an anchor is specified
2024-09-10 22:18:59 -04:00
e7a56f08a2 use text for bool representations 2024-09-03 00:08:26 -04:00
d772263394 record_selection no longer needed after key-based change 2024-09-03 00:08:26 -04:00
4e66edc7e3 prefer lexical_cast over stringstream in record/replay 2024-09-03 00:08:26 -04:00
b1be43eb7e reformat a block for setting breakpoints 2024-09-03 00:08:26 -04:00
2e3d181a2f reverse cField::handleInput() default argument 2024-09-03 00:08:26 -04:00
5d294f0107 record and replay text field selection changes 2024-09-03 00:08:26 -04:00
20bb7e4322 more convenient has_next_action() 2024-09-03 00:08:26 -04:00
4c67d7220e record and replay scrollbar movement from user input 2024-09-03 00:08:26 -04:00
18d7bb2508 don't record dummy field input events 2024-09-03 00:08:26 -04:00
9b1b9df456 record and replay tab/shift-tab in multi-field forms 2024-09-03 00:08:26 -04:00
8cc8f5e2b7 Remove a few TODO notes that look obsolete 2024-08-27 09:18:42 -04:00
ec2a20208e Fix a bunch of 'Failed to create texture' errors being written to console 2024-08-24 20:50:26 -04:00
ad9ad3dc3c record and replay text field input 2024-08-24 20:04:29 -04:00
3b6d16a549 always calculate_layout() when recalcRect() is called 2024-08-22 09:47:06 -04:00
5ac49be9df cTextMsg recalculate line breaks on setText() 2024-08-22 09:47:06 -04:00
d5a536c19c encapsulate control.lbl so setText() is required 2024-08-22 09:47:06 -04:00
c08a10867c cTextMsg pre-calculate layout 2024-08-22 09:47:06 -04:00
39c85e7f3c limit framerate of controls' nested event loops 2024-08-22 09:47:06 -04:00
20c53fb2ed Fix crash if you cancel the scenario selection 2024-08-21 23:47:44 -04:00
b624b32284 Seeing \a is just confusing, so make it a constant 2024-08-12 19:27:30 -04:00
104f6d6b0b Address some compiler warnings (Xcode 12)
* Missing prototypes
* Unused function parameters
* Float comparison in preferences
2024-08-10 12:06:11 -04:00
4e6306b110 record and replay mods on startup buttons. fix #394 2024-08-09 19:47:15 -04:00
a13e7cdc3b replace atoi with std::stoi 2024-08-09 02:06:31 -04:00
f01fdb7e2a move ui_rand to cDialog 2024-08-08 13:43:29 -04:00
fc12092a1b replace rand() and srand(). fix #390 2024-08-08 13:43:29 -04:00
a1022aa23b guard next_action_type() call 2024-08-08 08:30:59 -04:00
41f88c9f58 container controls replay child control clicks 2024-08-03 12:30:08 -04:00
9c1a5b98e1 led groups replay specific led click 2024-07-31 19:58:19 -04:00
9d5c2e4fe1 revert control_focus recording/replaying 2024-07-31 19:58:19 -04:00
49c62aa985 don't replay events for empty id controls 2024-07-31 19:58:19 -04:00
3c3a105ae4 make pop_next_action() return a reference 2024-07-28 17:07:33 -04:00
bf724951c5 record and replay control focus events 2024-07-28 17:07:33 -04:00
a7925affc5 replay control clicks in open dialogs 2024-07-28 17:07:33 -04:00
acd7bb4080 record clicks on dialog controls 2024-07-28 17:07:33 -04:00
7cb1770059 Fix #314 2024-07-06 00:21:47 -04:00
010c3c0b39 cDialog DRY recursive relative positioning code 2024-07-03 19:24:58 -06:00