Commit Graph
33 Commits
Author SHA1 Message Date
Chris Danford 134cdb4451 fix skip when changing value in row:
broadcast the row export only once - not for each player
disable export/import on reload - nothing uses it yet
2005-04-03 06:21:02 +00:00
Chris Danford 61a5f51344 fix new Screens get created 3x after the last GameCommand change
remove complicated GetAndEraseScreen logic and export SELECT_NONE rows if they have focus, otherwise don't export them (fixes InsertCoin row)
2005-03-30 03:29:35 +00:00
Chris Danford 30ec0cdb7d remove ShowUnderlines. Use SELECT_NONE to not show underlines 2005-03-30 02:37:19 +00:00
Chris Danford c2a776661d add OnCommand for Items and Icons 2005-03-25 04:14:49 +00:00
Chris Danford 6df73d3839 fix possible crash on row with no choices
rename highlight -> cursor to avoid confusion with line highlight graphic
2005-03-21 05:17:46 +00:00
Chris Danford e49c74a2c8 Always theme the NEXT_ROW item 2005-03-21 00:19:34 +00:00
Chris Danford 2f4d814a64 allow dynamically generated rows to override theming
remove unused EditAction row type
2005-03-20 23:40:26 +00:00
Chris Danford 724ccf0179 move theming of title text from ScreenOptions to OptionRow 2005-03-20 22:17:57 +00:00
Chris Danford b73448d410 move item theming from ScreenOptionsMaster to OptionRow so MiniMenu and other options screens can be themed 2005-03-20 20:16:32 +00:00
Chris Danford bbadc010f4 Implement ScreenMiniMenu with ScreenOptions 2005-03-20 06:41:56 +00:00
Chris Danford 0ab7c031bc position underlines per-player 2005-03-13 02:15:38 +00:00
Chris Danford 4b824bbe47 export and import separately for each player 2005-03-13 00:59:03 +00:00
Chris Danford 3c049c100d fix next screen logic 2005-02-26 23:50:24 +00:00
Chris Danford 85d8808080 fix popping animation when scrolling options 2005-02-26 20:59:56 +00:00
Chris Danford 0bcaeb0c43 cleanup
row reload fixes
2005-02-26 11:19:19 +00:00
Chris Danford 32fc206f48 have OptionRow save focus state for easier reloading 2005-02-26 09:42:36 +00:00
Chris Danford a288ff8b6e changed passed in values to be metrics
fix problems setting vbSelected on Reload
2005-02-25 19:26:05 +00:00
Chris Danford 03e3ba7609 move Font load for item length testing inside of OptionsRow 2005-02-25 16:52:33 +00:00
Chris Danford d004d5cbfa move many metrics into OptionRow for easier reloading 2005-02-25 16:48:54 +00:00
Chris Danford b923311e00 fix OptionRow doesn't unsubscribe to Messages 2005-02-25 06:04:31 +00:00
Chris Danford 6249b18702 move bFirstRowGoesDown logic into OptionRow
fix deleted OptionRowHanlder used in in ~OptionRow
move options importing/exporting into OptionRow so that OptionRow can refresh itself in response to a Message
2005-02-25 05:45:16 +00:00
Chris Danford 182db1222f Have OptionRows subscribe to a Message in order to refresh 2005-02-24 15:40:05 +00:00
Chris Danford fb4ab8886c save the Handler in OptionRow so a row can refresh itself without needing the Screen to Import/Export 2005-02-24 13:48:14 +00:00
Chris Danford 2dfb9f148e move bExportOnChange into OptionRowDef from OptionRowHandler 2005-02-24 11:35:31 +00:00
Chris Danford 7c237be91f export specific rows, not all rows at once, to make it easier to reload certain rows 2005-02-24 01:17:39 +00:00
Chris Danford 5c7b8314f4 allow hiding of option rows based on the value of other rows 2005-02-20 10:12:50 +00:00
Chris Danford 36b325a295 cleanup: move code from ScreenOptions into OptionRow 2005-02-19 19:17:28 +00:00
Chris Danford 518638028d cleanup 2005-02-19 01:27:51 +00:00
Glenn Maynard 230ba5b9a9 allow GetOneSelection to return -1 when there are none selected 2005-02-14 01:36:54 +00:00
Chris Danford c020f54c3c move code from header to cpp 2005-02-14 01:29:25 +00:00
Chris Danford dae8bf0332 enum name cleanup
fix "CapitalizeAll" not applied if "ShowOneInRow"
2005-02-13 18:15:10 +00:00
Glenn Maynard ccc31cad7f SelectTypeToString, StringToSelectType, LayoutTypeToString, StringToLayoutType 2005-02-12 05:08:43 +00:00
Chris Danford 93b8ba48b6 Move OptionRow to a separate file
Don't init all BitmapText objects for long rows.  Calculate the row width, then init the text.
2005-02-11 07:50:26 +00:00