Commit Graph

381 Commits

Author SHA1 Message Date
15d169b084 fix clickable bounds of leds in cStringChoice 2025-01-11 21:50:35 -05:00
8253088ba4 remove the cancel button in case where it would be ignored 2025-01-07 21:35:59 -05:00
3bd9154412 rename new led attribute 'label-pos' 2024-12-03 09:44:40 -05:00
dd1b4a66bb remove accidental semicolon, fix led measurements 2024-12-03 09:44:40 -05:00
c913b11047 simplify convoluted if statement 2024-12-03 09:44:40 -05:00
c35ba7cc62 LEDs allow text on the left side 2024-12-03 09:44:40 -05:00
121f54fbe2 make defaultTextSize() static 2024-12-03 09:44:40 -05:00
bf84a15087 fix constant names 2024-12-03 09:44:40 -05:00
cfdd6304fd change constant names 2024-12-03 09:44:40 -05:00
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