This commit is contained in:
Glenn Maynard
2005-05-28 03:39:24 +00:00
parent 19bcc75d42
commit 6c76e19d19
3 changed files with 10 additions and 6 deletions
@@ -5,8 +5,6 @@
class LowLevelWindow_SDL: public LowLevelWindow
{
RageDisplay::VideoModeParams CurrentParams;
public:
LowLevelWindow_SDL();
~LowLevelWindow_SDL();
@@ -16,7 +14,11 @@ public:
void Update(float fDeltaTime);
RageDisplay::VideoModeParams GetVideoModeParams() const { return CurrentParams; }
private:
RageDisplay::VideoModeParams CurrentParams;
};
#ifdef ARCH_LOW_LEVEL_WINDOW
#error "More than one LowLevelWindow selected!"
#endif
@@ -15,6 +15,7 @@ public:
RageDisplay::VideoModeParams GetVideoModeParams() const;
};
#ifdef ARCH_LOW_LEVEL_WINDOW
#error "More than one LowLevelWindow selected!"
#endif
@@ -7,10 +7,6 @@
class LowLevelWindow_X11 : public LowLevelWindow
{
private:
bool m_bWindowIsOpen;
RageDisplay::VideoModeParams CurrentParams;
public:
LowLevelWindow_X11();
~LowLevelWindow_X11();
@@ -20,7 +16,12 @@ public:
void SwapBuffers();
RageDisplay::VideoModeParams GetVideoModeParams() const { return CurrentParams; }
private:
bool m_bWindowIsOpen;
RageDisplay::VideoModeParams CurrentParams;
};
#ifdef ARCH_LOW_LEVEL_WINDOW
#error "More than one LowLevelWindow selected!"
#endif