Commit Graph
111 Commits
Author SHA1 Message Date
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 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
Glenn Maynard e24076f744 build fix 2006-01-04 17:51:43 +00:00
Glenn Maynard c0a86d6c44 use HOOKS->SetHasFocus 2005-12-30 03:59:10 +00:00
Glenn Maynard eca5a911d8 unused 2005-12-21 06:13:47 +00:00
Chris Danford d698a5f1ec CString -> RString in RageUtil
ThemeMetric<CString> -> LocalizedString to eliminate dependencies
2005-12-20 08:35:47 +00:00
Chris Danford 9cd3b4d4ba theme some common exception strings 2005-12-20 02:45:25 +00:00
Steve Checkoway ee07c1d20d Use ArchHooks::SetUserQuit() 2005-12-17 13:03:04 +00:00
Steve Checkoway f4e1603411 Add files incase I want to work on this in Washington...on my laptop. (Never develop on a laptop, compiling drains my battery faster than anything else.) 2005-12-15 11:48:16 +00:00
Chris Danford cb8a48e254 fix Mac compile 2005-12-07 00:34:11 +00:00
Ben Anderson 7da3272486 Add proper fullscreen and resolution changing support using XRandR. This makes XRandR mandatory, but I don't see any reason why we can't do that, and providing alternatives would be difficult at best for little payoff. 2005-12-02 21:17:36 +00:00
Ben Anderson 58eb9115db Return to compilable state (.h still breaks arch.o however) 2005-12-02 00:05:29 +00:00
Glenn Maynard be332f9883 remove old trace 2005-11-29 00:22:38 +00:00
Chris Danford c2e84323b1 add res enumeration to LLW SDL 2005-11-28 17:17:16 +00:00
Chris Danford 730a113ed6 enumerate resolutions
use mixed case for prefs values
2005-11-26 07:22:33 +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
Glenn Maynard 7828dd60ad g_X11Display is unused 2005-11-13 19:09:13 +00:00
Glenn Maynard 0ab285b40a g_X11Display -> X11Helper::Dpy 2005-11-13 19:05:30 +00:00
Glenn Maynard 7803d84ddd Disable the X11 screensaver in LowLevelWindow_X11. 2005-11-13 19:04:07 +00:00
Glenn Maynard 1cb4525ee6 LowLevelWindow_X11::IsSoftwareRenderer 2005-11-13 18:56:14 +00:00
Glenn Maynard 92504b10cc LowLevelWindow_Win32::IsSoftwareRenderer 2005-11-13 18:55:30 +00:00
Glenn Maynard 071ff2adb5 LowLevelWindow::IsSoftwareRenderer 2005-11-13 18:53:48 +00:00
Glenn Maynard 9c17980ed5 move some GLX-specific stuff into LowLevelWindow_X11 2005-11-13 18:43:22 +00:00
Glenn Maynard 7f95e0a309 calling straightforward code an "ugly hackish mess" falls just short of productive and appropriate 2005-11-13 18:38:55 +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
Chris Danford 182232344f GetVideoModeParams -> GetActualVideoModeParams
add GetApiDescription
2005-11-11 21:16:48 +00:00
Chris Danford db7a6af95c fix compile on non-Windows
remove header dependency
2005-11-10 20:39:55 +00:00
Chris Danford 7f5a4b8373 move VideoModeParams out of RageDisplay to reduce header dependencies 2005-11-10 18:37:04 +00:00
Chris Danford 423caaf207 spacing 2005-11-10 08:55:11 +00:00
Steve Checkoway 8d56d70e0f Move ExitGame into GameLoop.h. 2005-10-30 09:45:52 +00:00
Steve Checkoway c576663c15 Add cursor hack since SDL_ShowCursor fails. Also, prevent resizing the window. 2005-10-30 08:51:02 +00:00
Steve Checkoway c6c04d8c6b Remove out of date comment, cleanup. 2005-10-25 02:53:35 +00:00
Glenn Maynard 539ec6aa5c HAVE_WIN32 -> WINDOWS. HAVE_LINUXKERNEL -> LINUX. If some features originating in Linux work on other systems, then define them specifically (eg. HAVE_LINUX_JOYSTICKS). 2005-10-24 07:22:28 +00:00
Glenn Maynard e60e016ce8 comment 2005-09-04 18:00:44 +00:00
Chris Danford 48ebc53549 return NULL -> return CString() for clarity and efficiency 2005-09-04 16:55:21 +00:00
Glenn Maynard 16a1a71848 remove unused fDeltaTime 2005-07-12 23:14:21 +00:00
Glenn Maynard 94abe52637 headers don't include global.h 2005-07-12 04:39:57 +00:00
Glenn Maynard 78ed7dd2c7 pull the data from the right place. arch code is low-level, ThemeManager is high-level. arch should not use ThemeManager; that creates a conceptual dependency loop, which makes code reuse much harder. (should do this in Dialog, too ...) 2005-06-03 23:27:58 +00:00
Ben Anderson cde2db8c62 I've got a better idea. Let's respect the theme metric specifically designated for this. 2005-06-03 19:01:16 +00:00
Ben Anderson 78bc7c27b2 Partial semi-revert; X11Helper is supposed to catch that the window isn't open (I just fixed that), not us making sure to unmask only after the window is created. 2005-06-03 18:45:03 +00:00