Commit Graph
99 Commits
Author SHA1 Message Date
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
Chris Danford 265d9d56df Center the window in the display 2005-06-03 18:28:20 +00:00
Glenn Maynard 6c76e19d19 cleanup 2005-05-28 03:39:24 +00:00
Glenn Maynard 19bcc75d42 fix BadWindow warning due to calling XSelectInput before creating the window
fix uninitialized windowIsOpen
windowIsOpen -> m_bWindowIsOpen
use PRODUCT_NAME
one-line header comment goes on the very first line (eg. "head -1"); format it consistently, and be concise
2005-05-28 03:31:18 +00:00
Glenn Maynard 9e6db9eb4c cleanup 2005-05-28 03:12:58 +00:00
Glenn Maynard 7f50526d37 remove unused function 2005-05-28 02:38:31 +00:00
Glenn Maynard 329f23d8ad simple cosmetic changes to match code style 2005-04-23 22:13:19 +00:00
Glenn Maynard f4c3c1a759 add nvidia vsync hack from the SDL driver (copy and paste; not worth splitting it out) 2005-04-21 05:14:25 +00:00
Ben Anderson def9a3a267 Remove hack; no longer necessary 2005-04-05 03:08:31 +00:00
Ted Percival a05a9623d0 set window title 2005-03-27 11:48:46 +00:00
Ben Anderson 063298de3d Fix window resizing, and add a harmless workaround for my obscure WM. Recreating the window (when the depth changes) now works too. 2005-03-16 05:55:01 +00:00
Ben Anderson 18296126df Do things a little closer to the way SDL does them (but not much), magical hack that fixes performance issues for X11 on some (all?) systems, use variables instead of functions for Dpy and Win in X11Helper, a couple formatting tweaks. 2005-03-16 02:23:07 +00:00
Ben Anderson 167e5aebc0 Put all the Make* functions into a single .h/.cpp file (yes, kinda like the way it was), and add Make* functions for DialogDrivers. This means there's only one object that's affected by drivers being added/removed. (Driver default changes are a little different -- 2 or 3 objects.) Also one or two minor cleanups. (note: I apparently don't know much about CVS, it appears that some files might not make it into the repository; hang tight, I'm trying to find a solution.) 2005-03-15 00:30:26 +00:00