Steve Checkoway
7034879a79
Use SMMainThread with LLW_Cocoa. This fixes just about every GUI issue. For some reason, mousing over the button does not highlight them. Other than that, everything seems to work.
2006-01-15 05:30:48 +00:00
Steve Checkoway
0e1ca06a49
Use the ADD_ACTIONb macro.
2006-01-15 05:24:47 +00:00
Steve Checkoway
4c9fdec12b
Simplify.
2006-01-15 04:28:14 +00:00
Steve Checkoway
56779e06e5
Cleanup.
2006-01-15 04:15:39 +00:00
Steve Checkoway
45cb8038bd
Use SMMainThread to perform a sequence of actions on the main thread as required by the App Kit.
2006-01-15 04:15:05 +00:00
Glenn Maynard
2025761281
cleanup
2006-01-15 04:12:50 +00:00
Glenn Maynard
affaf07d35
rename ConfigureGraphicsWindow -> CreateGraphicsWindow
2006-01-15 01:43:04 +00:00
Glenn Maynard
16c7813949
remove SetVideoModeParams call
2006-01-15 01:07:32 +00:00
Glenn Maynard
50b0f360f4
CreateGraphicsWindow is done by ConfigureGraphicsWindow
2006-01-15 00:59:32 +00:00
Glenn Maynard
7c2f1fc48b
RecreateGraphicsWindow -> CreateGraphicsWindow
2006-01-15 00:38:43 +00:00
Glenn Maynard
1fdb63a26d
clarify
2006-01-15 00:12:52 +00:00
Steve Checkoway
3673740438
Cleanup.
2006-01-14 23:39:04 +00:00
Steve Checkoway
a0ed014d57
Remove hack for SDL.
2006-01-14 23:24:30 +00:00
Steve Checkoway
08173c6510
Handle swap interval in LLW_Cocoa itself.
2006-01-14 23:22:18 +00:00
Steve Checkoway
ca85424ec5
Fix memory leak, set OGL parameters.
2006-01-14 22:56:23 +00:00
Steve Checkoway
07168018d1
Closing the window quits the program. Fix focus issues.
2006-01-14 10:40:09 +00:00
Steve Checkoway
713ecb81ce
Full screen works. Mouse hiding works. A few GUI issues remain. For example, closing the window does nothing more than close the window.
2006-01-14 10:08:42 +00:00
Steve Checkoway
7aa6310339
Make this usable. Some issues still exist. E.g., full screen does not work yet.
2006-01-14 05:49:26 +00:00
Steve Checkoway
3a820b1c76
This code is a work in progress and does not currently work.
2006-01-14 01:09:33 +00:00
Steve Checkoway
b362a5969f
Simplify.
2006-01-14 01:04:48 +00:00
Glenn Maynard
cc56b86291
simplify
2006-01-13 00:29:04 +00:00
Chris Danford
7fe210a516
silence warning spew if no hid devices plugged in
2006-01-09 01:10:37 +00:00
Chris Danford
f6d11943ab
make more strings localizable
...
move dialog localization into archutil
adjust dialog layout for pseudoloc strings
2006-01-08 05:42:09 +00:00
Steve Checkoway
bc5582d639
Fix memory leak.
2006-01-08 00:28:17 +00:00
Steve Checkoway
3608694a18
Do memory card stuff (more) correctly.
2006-01-08 00:23:33 +00:00
Chris Danford
178e45d380
don't show strings before we've set up ThemeManager to be able to show something localized
2006-01-07 06:50:10 +00:00
Chris Danford
b96fa184ee
spacing cleanup
2006-01-07 05:43:38 +00:00
Chris Danford
168a98773e
fix LocalizedString::Load doesn't fill the value
...
Localize loading messages
2006-01-07 05:43:25 +00:00
Chris Danford
9ef306201c
CString -> RString
2006-01-06 17:57:03 +00:00
Glenn Maynard
b2cec2d787
build fix
2006-01-04 18:09:39 +00:00
Glenn Maynard
4b92224743
lame fix for Linux build for now
2006-01-04 18:03:42 +00:00
Glenn Maynard
6a5b7540cc
this should not be static
2006-01-04 18:02:25 +00:00
Glenn Maynard
b5414c435c
fix linux build
2006-01-04 18:01:34 +00:00
Glenn Maynard
e24076f744
build fix
2006-01-04 17:51:43 +00:00
Glenn Maynard
37af3d7b37
build fix
2006-01-04 17:46:29 +00:00
Steve Checkoway
c7c10fa06d
fix compile.
2006-01-03 02:57:24 +00:00
Glenn Maynard
8689b087f8
Static globals are still globals, and the global qualifier seems more useful than a static one. (don't want to start with the multiple-qualifiers business, eg 'sg_'; that gets ugly fast, and doesn't really help anything)
2005-12-31 06:19:54 +00:00
Glenn Maynard
a692d9f58d
cleanup
2005-12-31 06:16:22 +00:00
Glenn Maynard
d8eac51039
move IgnoredMessageWindows to Dialog, rename to IgnoredDialogs
2005-12-31 05:03:26 +00:00
Glenn Maynard
4d97933c43
move into namespace
2005-12-31 04:00:41 +00:00
Glenn Maynard
644801396c
move globals into namespace
2005-12-31 03:56:25 +00:00
Glenn Maynard
d454d09298
This code isn't worth it. It's only used for one driver. It's
...
mostly useful for pointing casual users to drivers, but any URLs
we give them will just go out of date, and 404s don't help people.
It's also too heavyweight to be done in ArchHooks; aim to not use
anything in it that we don't want to always include.
(I'm sort of undecided about this. This definitely needs to be out
of HOOKS; it could be moved to GraphicsWindow. It's potentially
useful, in theory, but it'd be a major hassle to maintain and always
be incomplete. Since it's only used for one ancient card and has
never been used for anything else, I'm just removing it for now.)
2005-12-31 03:26:18 +00:00
Glenn Maynard
45d3c944af
move movie driver pref into arch.cpp
2005-12-31 02:13:39 +00:00
Glenn Maynard
f4570700fa
build fix
2005-12-31 01:40:24 +00:00
Glenn Maynard
2084896f7d
RageSoundUtil::Attenuate
2005-12-30 19:04:18 +00:00
Glenn Maynard
9de5ac05a1
compile fix
2005-12-30 05:48:45 +00:00
Glenn Maynard
21da00170d
unneeded includes
2005-12-30 04:06:45 +00:00
Glenn Maynard
0330792ab6
unneeded include, fix compile
2005-12-30 04:06:00 +00:00
Glenn Maynard
c0a86d6c44
use HOOKS->SetHasFocus
2005-12-30 03:59:10 +00:00
Glenn Maynard
fcdb6602ab
Move focus handling from StepMania.cpp to ArchHooks. Arch-specific
...
code calls HOOKS->SetHasFocus when focus is lost or regained; user
code calls HOOKS->AppHasFocus as needed. This moves the very
simple task of remembering focus to ArchHooks, and removes a
few annoying dependencies on StepMania.cpp. (That's the highest-
level code there is, so very few things should depend on it.)
The original design of HOOKS is to be a place where portable
code calls to do platform-specific things, not to be a place
for nonportable code to call to do generic things. These
state calls (SetHasFocus, SetToggleWindowed, SetUserQuit) don't
quite fit that. But there's currently no better place to put
these, and they're just as low-level, so it's not really a
layering violation. Hmm.
(This also eliminates GameLoop's dependency on StepMania.cpp. Keeping
GL.cpp independent of SM.cpp is helpful. It's not as useful to
split apart two files, if the two files are cross-dependent anyway;
you still have to know how both files work in order to understand
either of them.)
2005-12-30 03:57:01 +00:00