Thad Ward
7a2e51e7ea
include cleanups.
2005-10-30 21:39:49 +00:00
Glenn Maynard
999ec0bd15
change m_sprLineHighlight to AutoActor
2005-10-29 23:47:03 +00:00
Glenn Maynard
6ea2f37a36
Change MenuUp(pn,type) overrides to MenuUp(IEP), so info like DeviceI.ts is always accessible.
2005-09-23 00:44:52 +00:00
Chris Danford
bb10c7c21f
pass around InputEventPlus in Screen::Input instead of multiple input structures
2005-09-05 02:26:50 +00:00
Chris Danford
24440aa3bf
move Trasform caching out of ActorScroller and into LuaExpressionTransform so that ScreenOptions can use it too.
...
add RowOn/OffCommand to ScreenOptions
2005-09-03 17:37:42 +00:00
Glenn Maynard
94ea3cb9e0
cleanup
2005-09-03 00:30:46 +00:00
Chris Danford
c885d87f4a
Use a lua transform function to position SOptions rows instead of having a Y metric for each row
2005-08-15 07:51:16 +00:00
Chris Danford
7f67cfcac0
add WRAP_VALUE_IN_ROW
2005-08-03 03:22:58 +00:00
Chris Danford
71a67fd0f7
add "virtual" to methods for clarity
2005-08-01 05:12:40 +00:00
Chris Danford
e3167a82d8
working on new course edit screens
2005-07-30 19:34:23 +00:00
Chris Danford
00b65ce3bc
use OptionsCursorPlus
2005-07-30 04:49:50 +00:00
Chris Danford
5a6f085800
OnChange -> AfterChangeValueOrRow
2005-07-29 22:52:36 +00:00
Chris Danford
b50482c185
put focus on last selected profile
2005-07-18 01:50:31 +00:00
Chris Danford
146c505c5a
change sprBullet to an AutoActor
2005-07-16 07:01:48 +00:00
Glenn Maynard
b925b2d7ca
instead of loading actors inside OptionRow, load a single copy of each
...
one we need, and then make copies as needed. This avoids lots of
extra loading (which can be slow, even with refcounted data; lots of path
lookups, etc). (Trying to get this to the point where we can construct new
OptionRows for a menu without making a whole new menu.) This approach
means we don't lose the potential to have different sTypes of OptionRow
in a single menu. (The annoying bit is that any actor we copy has to handle
copying, which is tricky for ActorFrame and doesn't work yet for AutoActor.
Working on it ...)
2005-07-16 02:51:17 +00:00
Glenn Maynard
d9068e601d
LoadOptionIcon -> SetOptionIcon
2005-07-15 05:43:10 +00:00
Glenn Maynard
1f3ac4613c
simplify: add SetInputMode, like SetNavigation (rest of commit coming)
2005-07-15 03:28:09 +00:00
Glenn Maynard
ca74ac58d1
work on BeginScreen, TweenOnScreen. (screen isn't correct yet;
...
there's no way to reuse the screen with different available options, etc.,
only with the same settings)
2005-07-15 02:06:46 +00:00
Chris Danford
4459393d84
row -> iRow
2005-07-13 19:01:42 +00:00
Glenn Maynard
abe3e2c39f
remove GoToNextScreen/GoToNextScreen; call base
2005-07-12 06:35:49 +00:00
Glenn Maynard
57cef3fb5a
not pure virtual
2005-07-12 06:12:12 +00:00
Glenn Maynard
cd76a879f6
cleanup: don't export options from SM_GoToNextScreen
...
(need to get rid of this AutoScreenMessage thing; causes duplicate variables
to be declared for every file that includes it)
2005-07-12 06:10:01 +00:00
Glenn Maynard
28133ca105
cleanup
2005-07-07 10:29:04 +00:00
Chris Danford
848d6c89e2
OptionRow: member name cleanup, add focus commands
2005-07-06 06:11:56 +00:00
Chris Danford
7a1d736694
working on new course editor
2005-06-26 21:31:07 +00:00
Chris Danford
2a6dcba6e8
cleanup:
...
"GroupName" -> "SongGroup" to make room for CourseGroup
replace checks for "cvs" with a call to StripCvs()
m_Rows -> m_pRows
broadcast on preferred group changes
2005-06-23 08:05:09 +00:00
Glenn Maynard
6c9028ea16
Select -> up
2005-04-29 06:32:07 +00:00
Chris Danford
e8ca958503
remove hard-coded cursor tween seconds
2005-04-20 23:02:37 +00:00
Glenn Maynard
07047a833a
metric scheme update
2005-04-15 06:39:44 +00:00
Chris Danford
9cec64c089
add ScreenOption AllowRepeatingChangeValueInput
2005-04-07 09:12:48 +00:00
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
724ccf0179
move theming of title text from ScreenOptions to OptionRow
2005-03-20 22:17:57 +00:00
Chris Danford
92ad3d2c38
Store OptionRow metrics in the screen to make it easier for a screen to customize these
2005-03-20 20:23:10 +00:00
Chris Danford
82a67c31ec
fix misnamed method
...
don't mangle strings when looking up Title and Explanation metrics
2005-03-20 20:12:11 +00:00
Chris Danford
bbadc010f4
Implement ScreenMiniMenu with ScreenOptions
2005-03-20 06:41:56 +00:00
Chris Danford
9b2b8e73a8
throw away inputs that queued while the screen was loading
2005-03-16 23:26:19 +00:00
Chris Danford
fbaaf61313
refresh icons per-row, per-player
2005-03-13 02:25:33 +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
b48a19dd2f
fix SeparateExitRow
...
add ShowExitRow
Allow ScreenOptions to override BeginFadingOut in case they don't want to set a new screen
2005-02-26 21:35:27 +00:00
Chris Danford
b7b45ab4bf
split some metrics from ScreenOptions into OptionRow
2005-02-26 00:40:54 +00:00
Chris Danford
2f7e332d6b
remove unused bShowUnderlines
2005-02-25 19:36:58 +00:00
Chris Danford
d004d5cbfa
move many metrics into OptionRow for easier reloading
2005-02-25 16:48:54 +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
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
Glenn Maynard
b51b0cfb4c
Use Init() for all screens, so we can set state before the base class
...
members are loaded--they'll see resets, score finalization, etc. It
also results in smaller code, due to a g++ bug that causes constructors
to be emitted several times.
2005-02-23 06:29:05 +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
Glenn Maynard
e73a167761
fix positioning for hidden items
2005-02-14 01:16:08 +00:00