Glenn Maynard
e8c5ac24a2
Fix up Reload: re-add NextRow, do re-import (or the
...
m_iChoiceInRowWithFocus code is meaningless)
2006-01-18 04:00:58 +00:00
Glenn Maynard
32b83fbc00
move similar code together, in hopes of nudging them together later
2006-01-18 03:18:03 +00:00
Glenn Maynard
6adbf26fb3
Give each "list" type its own class, and create them in OptionRowHandlerUtil::Make.
...
- The metrics-visible "list" type should only be used for items that actually
use ScreenOptionsMaster lists. The fact that the others use the same class
for convenience is an implementation detail.
- Each type can have its own Reload() method, if appropriate.
2006-01-18 02:56:41 +00:00
Steve Checkoway
378a8a2adc
m([:upper:][:alpha:]*) -> m_\1
2006-01-18 02:48:10 +00:00
Glenn Maynard
1f3b71f3b1
move SelectExactlyOne and GetOneSelection into a namespace
2006-01-18 02:00:22 +00:00
Glenn Maynard
a3dc5596de
OptionRow::Reload doesn't take an OptionRowDefinition.
...
Implement Reload() explicitly, so we can clearly short-
circuit for static rows.
Fix up ScreenOptionsEditCourseEntry (broken during the
course of things).
2006-01-18 01:34:45 +00:00
Glenn Maynard
9b37d8966c
LoadInternal doesn't call Init()
2006-01-18 00:09:37 +00:00
Glenn Maynard
b1cfe1bb72
unify m_Def.Init
2006-01-18 00:09:11 +00:00
Glenn Maynard
2b172e7f7c
Remove defOut param; it's always m_Def.
2006-01-18 00:06:25 +00:00
Glenn Maynard
7a3282ea9a
unused
2006-01-17 23:57:19 +00:00
Glenn Maynard
34d7ba08ef
fix ScreenOptionsEditCourseEntry crash
2006-01-17 23:54:32 +00:00
Glenn Maynard
9234462123
hack to fix start on MiniMenu
...
(I have some thoughts to clean this up, on the lines of allowing NextScreen
to expicitly say "pop a screen", but I need to think about it some more.)
2006-01-17 23:43:20 +00:00
Glenn Maynard
04a702ea22
cleanup
2006-01-17 23:26:49 +00:00
Glenn Maynard
9ddd757315
cleanup
2006-01-17 22:54:12 +00:00
Glenn Maynard
15c872389e
partial fix
2006-01-17 22:42:57 +00:00
Chris Danford
7b75640337
use only ANSI APIs and ConvertUTF8ToACP
2006-01-17 22:20:27 +00:00
Glenn Maynard
b60126a261
remove redundant m_RowDef
2006-01-17 22:16:58 +00:00
Glenn Maynard
a7fc41580d
partial revert: m_pHand may be NULL before loaded
2006-01-17 22:15:53 +00:00
Glenn Maynard
ccdf671870
update
2006-01-17 22:10:03 +00:00
Glenn Maynard
fd54367ea7
all option rows have handlers
2006-01-17 22:06:00 +00:00
Glenn Maynard
b6a49fab47
use a handler for LoadExit, too
...
now all option rows have handlers
2006-01-17 22:03:56 +00:00
Chris Danford
b1564c4200
use MessageBoxW. Todo: link with unicows for Win9x.
2006-01-17 21:57:08 +00:00
Glenn Maynard
a42ba8e13f
simplify
2006-01-17 21:40:39 +00:00
Glenn Maynard
ce43aab773
simplify Reload
2006-01-17 21:36:44 +00:00
Glenn Maynard
39509ccb49
remove vDefs param
2006-01-17 21:32:52 +00:00
Glenn Maynard
8fd297bdfc
phase out vDefs param
2006-01-17 21:31:50 +00:00
Glenn Maynard
2b9bb0ec44
use OptionRowHandler::m_Def
2006-01-17 21:23:26 +00:00
Glenn Maynard
3bd5beeb53
use OptionRowHandler::m_Def
2006-01-17 20:58:40 +00:00
Chris Danford
2827fc10fa
Disable writing of missing string to base language's ini. This was temporary to ease adding tons of missing strings.
...
Don't pseudolocalize ":". It's messing up the help text tip separators.
2006-01-17 20:47:43 +00:00
Chris Danford
44db08792a
use "WindowTitle", not PRODUCT_NAME as string ID
2006-01-17 20:46:10 +00:00
Glenn Maynard
1e4c5cabe0
add OptionRowHandlerUtil::MakeNull
2006-01-17 20:39:56 +00:00
Glenn Maynard
85d654a306
remove unused parameter; simplify
2006-01-17 20:36:29 +00:00
Glenn Maynard
367d5f8f41
remove unused
2006-01-17 20:29:39 +00:00
Glenn Maynard
ded3feb51c
use pHand->m_Def
2006-01-17 20:28:44 +00:00
Glenn Maynard
fb98337d27
g++ 4.0 says: error: there are no arguments to ‘ssprintf’ that depend on a template parameter, so a declaration of ‘ssprintf’ must be available
2006-01-17 20:25:24 +00:00
Glenn Maynard
2c1d2827a9
store an OptionRowDefinition inside OptionRowHandler
2006-01-17 20:21:16 +00:00
Glenn Maynard
d1126e82b3
fix base not called
2006-01-17 20:19:04 +00:00
Steve Checkoway
562501ac78
Attempt at concurrent rendering. It seems to cause the computer to crash, so commented out. Clearly, I'm doing something wrong but I'm not sure what.
2006-01-17 09:33:14 +00:00
Chris Danford
a6d2ad5957
cleanup joystick with keyboard hack
2006-01-17 09:03:33 +00:00
Steve Checkoway
3a10c521de
Hack around using actual video mode params to store preferences.
2006-01-17 08:35:51 +00:00
Charles Lohr
86b8d28607
Style? Is this better?
2006-01-17 07:09:29 +00:00
Charles Lohr
faab333fe1
Style
2006-01-17 06:58:06 +00:00
Glenn Maynard
a629be2800
style
2006-01-17 06:51:22 +00:00
Steve Checkoway
2381b3f5e9
Cleanup. While I'm at it, might as well skip the "src/" too.
2006-01-17 06:50:34 +00:00
Charles Lohr
e86cad1234
Fix SMOnline in StepMania
2006-01-17 06:11:22 +00:00
Steve Checkoway
ec789f1473
Use a buffered window. This fixes the last of the GUI issues. Allows resizing and is very careful to update the graphics context only in the main thread (in this case, SM's main thread, not the GUI thread). It does so by managing the NSOpenGLContext explicitly rather than using NSOpenGLView to do it for us.
2006-01-17 06:10:33 +00:00
Glenn Maynard
45d3dff2d6
partial fix for re-using SPO
2006-01-17 05:41:17 +00:00
Glenn Maynard
9e5c128980
simplify
2006-01-17 05:38:02 +00:00
Glenn Maynard
df5c6b2b83
cleanup
2006-01-17 05:25:26 +00:00
Glenn Maynard
473a985512
const
2006-01-17 05:24:42 +00:00