Commit Graph

352 Commits

Author SHA1 Message Date
3bb416b1e4 Adjust scenario editor scroll bar size/positioning.
FIxes #772
2025-08-02 01:10:54 -04:00
e9212db929 Rename function for consistency of naming style 2025-08-02 01:03:35 -04:00
afb9554eda Fix all scenario editor compiler warnings except the ones in the Boost.Process header. 2025-08-01 23:25:22 -04:00
95e0cfc1c5 Fix call_focus_handlers arg behavior. Fix #768 2025-07-03 07:29:45 -04:00
d161252514 fix stack widgets calling focus handlers during construction 2025-06-19 15:36:14 -05:00
0e157cf434 scenario editor disable undo/redo when dialog is open.
fix #758
2025-06-13 09:13:46 -05:00
ac5a8eeb6a Fix copy/paste text in scenario editor for mac (#648) 2025-06-13 08:37:42 -05:00
fb56cbf607 Editor search field for terrains, monsters, items in palette 2025-06-02 11:32:20 -05:00
73f171b3ec Fix warning 2025-06-02 11:32:20 -05:00
49b5841d0f add Choose button for monster special loot item (#731) 2025-06-02 11:32:19 -05:00
4ed73bf72d Update src/dialogxml/dialogs/dialog.cpp
Co-authored-by: Celtic Minstrel <CelticMinstrel@users.noreply.github.com>
2025-05-23 14:02:50 -05:00
1084f26a88 Count preferences dialog when detecting max UI scale to fit (Fix #740) 2025-05-23 09:11:27 -05:00
f5e84b6e37 dialogxml catch nonexistent anchor at end of relative chain 2025-05-19 21:41:11 -05:00
9cde8fb78c DRY getting control type string 2025-05-19 21:41:11 -05:00
43060bb1cf Fix about-boe not showing all of bottom line in pane 2025-05-19 21:41:09 -05:00
a3af3fdc73 search not implemented for editable string pickers. don't crash about it 2025-05-19 21:41:00 -05:00
c407ffd248 allow ELLIPSIS mode through dialogxml 2025-05-11 10:50:08 -05:00
907fcb0a94 Replay debugging fixes 2025-05-11 10:49:58 -05:00
58f717a1a4 Fix mainPtr losing focus on Mac after dialog close 2025-05-11 10:49:52 -05:00
326f0a45d4 fix highlighting caster when reusing casting dialog 2025-05-11 10:49:50 -05:00
87e2130f76 save prefs when giving help message 2025-05-11 10:49:50 -05:00
99350a5eec Help dialog from other dialog: preserve z order 2025-05-11 10:49:44 -05:00
db11f2c20e comments 2025-05-11 10:49:39 -05:00
aeaee9bbdb Debug action to fix the elusive font corruption bug 2025-05-11 10:49:38 -05:00
20373acf68 pass parent to preview dialog 2025-05-11 10:49:37 -05:00
e2e7907e1a example preview button for ONCE_DIALOG 2025-05-11 10:49:36 -05:00
fe57c10173 move custom_choice_dialog into shared code 2025-05-11 10:49:35 -05:00
22617273ee Fix showing errors from replaying dialogs 2025-05-11 10:49:34 -05:00
973cd71627 Replay errors show line number of action
I would have done this FOREVER ago but every time I looked
in ticpp for a way to get element file positions I somehow
missed Row() and Column()
2025-05-11 10:49:33 -05:00
07c15dc1e7 Fix window focus bugs for Windows 2025-05-11 10:49:31 -05:00
58107f1856 str("") is unsafe on its own for clearing stream 2025-05-11 10:49:27 -05:00
e529c9273f make basicbutton no-key DRY 2025-05-11 10:49:25 -05:00
5d7f3088e9 move minimap logic out of dialog 2025-05-11 10:49:24 -05:00
06624d810c try to fix linker errors without new globals 2025-05-11 10:49:23 -05:00
98e87b155d annotate a fallthrough for Xcode 2025-05-11 10:49:22 -05:00
4041d0c1b2 Let the minimap be hidden by other applications in focus 2025-05-11 10:49:21 -05:00
3ba9259482 Remember window positions as preferences 2025-05-11 10:49:21 -05:00
6f02e3128d Fix hidden container children accepting hotkey input 2025-05-11 10:49:19 -05:00
80e045cfa3 3-choice dialogs make OK/Leave always leftmost" 2025-05-06 15:24:13 -05:00
6666a2753f custom choice dialogs Stay/Leave can't both use Enter Key.
And since depending on context they could both mean 'Cancel' but 'Leave' could be a positive action in some contexts, I've just given them no keys.
2025-05-06 15:24:13 -05:00
72ff67ceab dialogs ignore <error> actions 2025-05-06 15:24:13 -05:00
02f7828a08 map ctrl+f to key_find (which does nothing) 2025-03-30 11:51:15 -05:00
8af5eb6c38 dialogs can have a button respond to Escape
I'm planning to make it so the Enter key will never cancel a yes/no dialog. To do this, I'm adding an Escape button to dialogs. So cancel/accept keyboard shortcuts will be predictable and intuitive. Dialogs that require extra confirmation will have a 'really confirm' LED.
2025-03-30 11:51:11 -05:00
1c11810f58 fix crash in string picker search feature 2025-03-30 11:51:05 -05:00
53bb8a6d26 focus the search field when showing 2025-03-30 11:51:05 -05:00
f26a9e9c32 Fix awkwardness of Enter key in string picker
Search field starts out hidden. When the button is
clicked, the field and other controls appear, and
the button takes over the enter key. Ctrl+Enter
clicks okay (so if search is not opened, either
Enter OR Ctrl+Enter will click okay)
2025-03-30 11:51:04 -05:00
aa029f6bdc Ctrl+f in text field should not type 'f' 2025-03-30 11:51:04 -05:00
a17f5b1a7c String picker search field. Fix #701 2025-03-30 11:51:03 -05:00
341c285a39 Refactor allows cLedGroup leds to use relative positioning 2025-03-30 11:51:01 -05:00
9115f6416f fix debug help dialog 2025-03-19 19:31:23 -05:00