Glenn Maynard
b1015f0458
We allow this in Windows, and I don't see any reason to disallow it ...
2006-01-17 02:03:07 +00:00
Glenn Maynard
918dac41ab
cleanup
2006-01-17 02:00:27 +00:00
Glenn Maynard
e24076f744
build fix
2006-01-04 17:51:43 +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
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
Chris Danford
730a113ed6
enumerate resolutions
...
use mixed case for prefs values
2005-11-26 07:22:33 +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
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
Chris Danford
db7a6af95c
fix compile on non-Windows
...
remove header dependency
2005-11-10 20:39:55 +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
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
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
566d2b9d35
Set current parameters after a successful video mode try.
2005-03-14 23:51:58 +00:00
Ben Anderson
0db665d4d6
Thorough(!) remodeling of the arch/ directory and the contents therein; fixed link-time warnings on GCC and should make things a lot easier to manage. A pile of other random things too, mostly cleanups and getting things to work with the remodeled arch/ directory.
2005-03-14 06:44:38 +00:00
Ben Anderson
bee0a762d2
Remap the window when remodeling to work around possible buggy WMs and/or X servers; remove useless trace; random cleanups, formatting adjustments, etc
2005-03-14 00:26:14 +00:00
Ben Anderson
6df8be39ec
Play nice with RageDisplay_OGL GLX hacks
2005-03-13 22:54:50 +00:00
Ben Anderson
907bfa03eb
I'm such an idiot, I forgot to map the window! Also, slight reordering to make things theoretically more efficient.
2005-03-13 22:40:41 +00:00
Ben Anderson
de3c510f73
Make hackish assumption for now, we can fix that properly later.
2005-03-13 21:23:58 +00:00
Ben Anderson
2a7290ce16
Numerous fixes, now compiles on GCC 3.4 and should on most other compilers
2005-03-13 20:44:43 +00:00
Ben Anderson
58c6b37389
Oops, little hangover from a previous design there...
2005-03-13 20:13:01 +00:00
Ben Anderson
fbc1ebcf32
Second time today I forgot something... unmask StructureNotify events so we actually GET the MapNotify event!
2005-03-13 19:18:23 +00:00
Ben Anderson
f5b08ace8e
And after a long wait, here it is -- LowLevelWindow_X11. InputHandler_X11 coming soon...
2005-03-13 19:05:20 +00:00