cleanup
This commit is contained in:
@@ -5,8 +5,6 @@
|
|||||||
|
|
||||||
class LowLevelWindow_SDL: public LowLevelWindow
|
class LowLevelWindow_SDL: public LowLevelWindow
|
||||||
{
|
{
|
||||||
RageDisplay::VideoModeParams CurrentParams;
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
LowLevelWindow_SDL();
|
LowLevelWindow_SDL();
|
||||||
~LowLevelWindow_SDL();
|
~LowLevelWindow_SDL();
|
||||||
@@ -16,7 +14,11 @@ public:
|
|||||||
void Update(float fDeltaTime);
|
void Update(float fDeltaTime);
|
||||||
|
|
||||||
RageDisplay::VideoModeParams GetVideoModeParams() const { return CurrentParams; }
|
RageDisplay::VideoModeParams GetVideoModeParams() const { return CurrentParams; }
|
||||||
|
|
||||||
|
private:
|
||||||
|
RageDisplay::VideoModeParams CurrentParams;
|
||||||
};
|
};
|
||||||
|
|
||||||
#ifdef ARCH_LOW_LEVEL_WINDOW
|
#ifdef ARCH_LOW_LEVEL_WINDOW
|
||||||
#error "More than one LowLevelWindow selected!"
|
#error "More than one LowLevelWindow selected!"
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -15,6 +15,7 @@ public:
|
|||||||
|
|
||||||
RageDisplay::VideoModeParams GetVideoModeParams() const;
|
RageDisplay::VideoModeParams GetVideoModeParams() const;
|
||||||
};
|
};
|
||||||
|
|
||||||
#ifdef ARCH_LOW_LEVEL_WINDOW
|
#ifdef ARCH_LOW_LEVEL_WINDOW
|
||||||
#error "More than one LowLevelWindow selected!"
|
#error "More than one LowLevelWindow selected!"
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -7,10 +7,6 @@
|
|||||||
|
|
||||||
class LowLevelWindow_X11 : public LowLevelWindow
|
class LowLevelWindow_X11 : public LowLevelWindow
|
||||||
{
|
{
|
||||||
private:
|
|
||||||
bool m_bWindowIsOpen;
|
|
||||||
RageDisplay::VideoModeParams CurrentParams;
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
LowLevelWindow_X11();
|
LowLevelWindow_X11();
|
||||||
~LowLevelWindow_X11();
|
~LowLevelWindow_X11();
|
||||||
@@ -20,7 +16,12 @@ public:
|
|||||||
void SwapBuffers();
|
void SwapBuffers();
|
||||||
|
|
||||||
RageDisplay::VideoModeParams GetVideoModeParams() const { return CurrentParams; }
|
RageDisplay::VideoModeParams GetVideoModeParams() const { return CurrentParams; }
|
||||||
|
|
||||||
|
private:
|
||||||
|
bool m_bWindowIsOpen;
|
||||||
|
RageDisplay::VideoModeParams CurrentParams;
|
||||||
};
|
};
|
||||||
|
|
||||||
#ifdef ARCH_LOW_LEVEL_WINDOW
|
#ifdef ARCH_LOW_LEVEL_WINDOW
|
||||||
#error "More than one LowLevelWindow selected!"
|
#error "More than one LowLevelWindow selected!"
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user