Commit Graph

13 Commits

Author SHA1 Message Date
a3af3fdc73 search not implemented for editable string pickers. don't crash about it 2025-05-19 21:41:00 -05:00
58107f1856 str("") is unsafe on its own for clearing stream 2025-05-11 10:49:27 -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
a17f5b1a7c String picker search field. Fix #701 2025-03-30 11:51:03 -05:00
5861268e8c Add a location picker for selecting a location in a town or outdoor sector.
It's currently used in special node editing and in advanced town details.
2025-03-02 19:13:01 -05:00
97cba0471b Add an editable version of the string picker, which allows you to edit each of the strings inline and even add new ones.
This just implements the guts of the dialog, without using it for anything yet.

It also fixes a bug that caused a blank page to appear in the string picker if the total number of strings was an exact multiple of 40.

Closes #563
2025-03-02 19:13:01 -05:00
58890f1b57 Templatize cStringChoice iterator constructor 2025-03-02 19:13:01 -05:00
719f7dcf47 Reformat cStringChoice constructors 2025-03-02 19:13:01 -05:00
15d169b084 fix clickable bounds of leds in cStringChoice 2025-01-11 21:50:35 -05:00
e3d6a4748e Dialog XML definitions are now loaded thru the resource manager 2023-01-07 11:59:42 -05:00
82abdab695 Major code reorganization
This commit only updates the XCode project for the changes.
A later commit each will update it for scons and MSVC.

A few actual changes are mixed in:
- Add a prefix header for a handful of common definitions
- Moved current_cursor into the Cursor class as a static member
- Removed the make_cursor_sword and make_cursor_watch functions
- Include tests in the All target
- Remove redundant -l flags for Common and Common-Party (since they're included in the Link phases anyway)
2017-04-14 00:24:29 -04:00