Commit Graph
41 Commits
Author SHA1 Message Date
Glenn Maynard 692cee7ddc merge old CreateGraphicsWindow 2006-01-15 01:10:45 +00:00
Glenn Maynard 61654be8de remove remove SetVideoModeParams 2006-01-15 01:08:24 +00:00
Glenn Maynard 2de99a1d59 merge SetVideoModeParams into ConfigureGraphicsWindow (the lifetime of this data has always been too confusing) 2006-01-15 01:05:43 +00:00
Glenn Maynard 669339a57f don't export CreateGraphicsWindow 2006-01-15 01:01:53 +00:00
Glenn Maynard 76dca9fb6f add bForceRecreateWindow 2006-01-15 00:55:27 +00:00
Glenn Maynard 989fe982b7 call CreateGraphicsWindow when needed 2006-01-15 00:51:45 +00:00
Glenn Maynard 58a5e76ccd don't expose 2006-01-15 00:44:37 +00:00
Glenn Maynard d52b52386b remove RecreateGraphicsWindow 2006-01-15 00:39:20 +00:00
Glenn Maynard 72036009b3 merge CreateGraphicsWindow and RecreateGraphicsWindow 2006-01-15 00:37:03 +00:00
Glenn Maynard 5e2a79e1d3 nudge CreateGraphicsWindow and RecreateGraphicsWindow together 2006-01-15 00:34:21 +00:00
Glenn Maynard 60e0bccef0 nudge CreateGraphicsWindow and RecreateGraphicsWindow together 2006-01-15 00:29:34 +00:00
Glenn Maynard c78cbd62f4 Simplify: harmless to call ChangeDisplaySettings(NULL,0) when going
windowed to windowed, too.  (This g_CurrentParams use is confusing;
trying to reduce it ...)
2006-01-15 00:14:25 +00:00
Glenn Maynard a1592e71e7 VideoModeParams has a bunch of settings. It's confusing to
pass the whole thing around, since it's not clear what data
is actually used.  For simple functions, just pass the needed
data.
2006-01-14 23:44:31 +00:00
Glenn Maynard 2120a39d2a Fix dependency: Crash.cpp should not depend on GraphicsWindow. 2005-12-31 04:09:56 +00:00
Glenn Maynard c0a86d6c44 use HOOKS->SetHasFocus 2005-12-30 03:59:10 +00:00
Glenn Maynard a5042f126c suppress autorun 2005-12-24 02:27:25 +00:00
Chris Danford d698a5f1ec CString -> RString in RageUtil
ThemeMetric<CString> -> LocalizedString to eliminate dependencies
2005-12-20 08:35:47 +00:00
Steve Checkoway 2ab8fcd709 update 2005-12-17 12:50:28 +00:00
Glenn Maynard 3203cbb435 simplify (we do this in FocusChanged(), too) 2005-12-10 19:01:17 +00:00
Glenn Maynard f8c0c0124a cleanup 2005-12-10 18:58:43 +00:00
Glenn Maynard a64545a533 use SetUserQuit to eliminate bad GameLoop.h dependency 2005-12-10 18:44:41 +00:00
Chris Danford 914a182a72 fix compile 2005-12-03 07:44:25 +00:00
Glenn Maynard e130c39f86 Fix spurious ChangeDisplaySettings calls; this fixes extra
graphics hitches when entering fullscreen.
2005-11-29 00:44:42 +00:00
Chris Danford 730a113ed6 enumerate resolutions
use mixed case for prefs values
2005-11-26 07:22:33 +00:00
Glenn Maynard 31ef353ed6 fix bogus resolutions being set 2005-11-24 18:28:52 +00:00
Chris Danford b3c7b9c99d fix viewport not correctly reset when alt+tabbing out of and back into full-screen opengl 2005-11-24 10:40:23 +00:00
Chris Danford 11333f8d32 fix app window icon not applied in XP 2600. 2005-11-23 19:25:19 +00:00
Chris Danford 20190e2e66 Unhide and set window dimensions in one call to SetWindowPos. Fixes wrong window dimensions after unhiding on my notebook. Not sure why this wasn't working in 2 separate calls though. 2005-11-23 02:36:02 +00:00
Glenn Maynard 4f52fab65a In OpenGL (not D3D), it's our job to unset and reset the full-screen video mode
when we lose focus.
2005-11-11 21:22:18 +00:00
Glenn Maynard cbc31d637b easier to search for by class name 2005-11-11 21:08:35 +00:00
Chris Danford 7f5a4b8373 move VideoModeParams out of RageDisplay to reduce header dependencies 2005-11-10 18:37:04 +00:00
Glenn Maynard 9d090cbe7d static 2005-11-09 13:34:17 +00:00
Steve Checkoway 33c0408ca2 Move ExitGame into GameLoop.h 2005-10-30 09:45:39 +00:00
Glenn Maynard d7ce21c03d maybe fix screensaver coming on sometimes 2005-10-27 23:00:17 +00:00
Chris Danford 48ebc53549 return NULL -> return CString() for clarity and efficiency 2005-09-04 16:55:21 +00:00
Glenn Maynard b85b6c7839 fixups for upcoming changes 2005-07-12 23:44:17 +00:00
Glenn Maynard 1ffe2f4b89 make g_hWndMain local to GraphicsWindow 2005-02-07 09:16:48 +00:00
Glenn Maynard 28241e30aa add GraphicsWindow::GetHwnd 2005-02-07 09:09:29 +00:00
Glenn Maynard bc9c3d1af9 This call is only in Win2k, VC6 is having trouble finding it, and I can't
seem to find the prototype (even in VC7--despite the fact that it does have
one), and it's not important enough to spend more time on right now ...
2005-01-24 00:27:04 +00:00
Glenn Maynard 1520875656 log processes that we lose focus to, to aid debugging of "stepmania loses
focus" bug reports
2005-01-23 01:22:14 +00:00
Glenn Maynard aa73f66bde windows ogl/d3d helpers 2004-09-21 08:55:39 +00:00