Glenn Maynard
b4691c560f
simplify: "more" makes as much sense when the last entry isn't "exit"
2006-01-14 08:03:46 +00:00
Glenn Maynard
04ec901671
style
2006-01-14 08:01:34 +00:00
Glenn Maynard
97bd1669d4
Don't need to special case RowType_Exit here; the bullet is hidden,
...
and this will be a no-op.
2006-01-13 23:17:15 +00:00
Chris Danford
76fba53755
remove comment
2006-01-09 19:48:59 +00:00
Chris Danford
fc18dbd342
make more strings localizable
2006-01-08 18:40:20 +00:00
Glenn Maynard
5c5183b953
bind
2005-12-09 21:39:41 +00:00
Glenn Maynard
7b646dc6b1
split SetNumSubdivisions
2005-12-07 04:16:11 +00:00
Glenn Maynard
0c5ebc4c46
warning
2005-12-06 15:57:09 +00:00
Chris Danford
2d8b30e049
polish
2005-12-06 12:41:33 +00:00
Chris Danford
d057e2a488
remove special position transforms and feed the main transform with special offset values
2005-12-06 04:17:37 +00:00
Chris Danford
cf5e658c00
fix crash if 0 rows
2005-12-04 09:00:33 +00:00
Chris Danford
39f167f4aa
remove ExplanationZoom, use OnCommand instead
2005-12-03 20:49:43 +00:00
Chris Danford
d33daeb6f9
add separate explanation name so that rows with no title can still have an explanation
2005-12-03 20:39:11 +00:00
Glenn Maynard
999ec0bd15
change m_sprLineHighlight to AutoActor
2005-10-29 23:47:03 +00:00
Glenn Maynard
96040d82f2
StartTransitioningScreen does this
2005-10-18 03:42:10 +00:00
Glenn Maynard
dfc67cd84d
ScreenWithMenuElements::StartTransitioning -> StartTransitioningScreen, to make searching
...
for it easier (vs. Transition::StartTransitioning). (Trying to simplify tweening; this
may go back later.)
2005-10-13 22:17:13 +00:00
Glenn Maynard
a3c0817d81
prefer AutoActor over Sprite
2005-10-05 22:30:54 +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
Glenn Maynard
ee9fd1ecc2
remove fast repeat rate. It's the same as the slow rate, and nothing uses it. (IET_FAST_REPEAT kept for now, since some code uses it.)
2005-09-22 23:22:18 +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
48ebc53549
return NULL -> return CString() for clarity and efficiency
2005-09-04 16:55:21 +00:00
Glenn Maynard
59165f49e4
fix warning
2005-09-03 23:13:15 +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
Chris Danford
e439ae2a96
return "" -> return NULL
2005-09-02 00:14:07 +00:00
Chris Danford
b224ac2b13
play CursorOnCommand to set DrawOrder
2005-08-30 07:56:39 +00:00
Chris Danford
3c72edb0d4
report num rows visible and not > the number of actual rows
2005-08-15 16:01:39 +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
Glenn Maynard
18a1459284
fix assert if InitMenu is called more than once on a screen that uses OptionRowHandlers
2005-08-13 04:57:41 +00:00
Chris Danford
fc05cb7838
don't play changed sound unless the value actually changed
2005-08-06 05:31:53 +00:00
Glenn Maynard
1e0b236ac4
warnings
2005-08-05 16:18:07 +00:00
Chris Danford
7f67cfcac0
add WRAP_VALUE_IN_ROW
2005-08-03 03:22:58 +00:00
Chris Danford
29e013270c
export row before calling AfterChangeValueInRow so that derived classes can operate using the newly exported data
2005-08-01 05:13:52 +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
Glenn Maynard
34a43105bf
hide/show player-specific elements
2005-07-22 19:58:26 +00:00
Glenn Maynard
26b5ac01d3
We don't know which players are joined until BeginScreen, so always load
...
assets for both players (fixes preload asserts). This isn't an important
optimization point: it's not acceptable for a screen to be so much slower in
2-player than 1-player that this type of optimization would matter. Also, always
loading both players will help reduce the chance of code that's too slow in
2-player not being noticed due to only being tested in 1-player.
2005-07-22 06:30:19 +00:00
Glenn Maynard
a10e6f3d36
handle re-calling InitMenu (fairly cheaply)
2005-07-19 21:03:56 +00:00
Glenn Maynard
c76799ffa0
do slow loads in ScreenOptions::Init, not ScreenOptions::InitMenu
2005-07-18 03:42:10 +00:00
Glenn Maynard
e2086bcb5b
import options in ScreenOptions::BeginScreen, not ScreenOptions::InitMenu, so
...
we'll re-import if the screen is re-pushed
2005-07-18 03:41:15 +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
d8bf6df4aa
move metrics into OptionRowType, too
2005-07-16 03:23:53 +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
e0bf0e285c
do call InitText and AfterImportOptions on exit row
2005-07-16 01:24:54 +00:00
Glenn Maynard
618f71f3d4
separate initializing text and setting m_iChoiceInRowWithFocus
2005-07-15 06:54:10 +00:00
Glenn Maynard
d9068e601d
LoadOptionIcon -> SetOptionIcon
2005-07-15 05:43:10 +00:00
Glenn Maynard
ddedfe25bc
cleanup (trying to do only what's needed in ScreenOptions::InitMenu, to make
...
things saner)
2005-07-15 03:33:53 +00:00
Glenn Maynard
1f3ac4613c
simplify: add SetInputMode, like SetNavigation (rest of commit coming)
2005-07-15 03:28:09 +00:00
Glenn Maynard
84f85f086c
load as much as possible in ScreenOptions::Init
2005-07-15 03:21:31 +00:00