2003-04-07 00:54:32 +00:00
|
|
|
#ifndef LOW_LEVEL_WINDOW_SDL_H
|
|
|
|
|
#define LOW_LEVEL_WINDOW_SDL_H
|
|
|
|
|
|
|
|
|
|
#include "LowLevelWindow.h"
|
|
|
|
|
|
|
|
|
|
class LowLevelWindow_SDL: public LowLevelWindow
|
|
|
|
|
{
|
2003-06-05 19:29:27 +00:00
|
|
|
RageDisplay::VideoModeParams CurrentParams;
|
2003-04-07 00:54:32 +00:00
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
LowLevelWindow_SDL();
|
|
|
|
|
~LowLevelWindow_SDL();
|
|
|
|
|
void *GetProcAddress(CString s);
|
2003-06-05 19:29:27 +00:00
|
|
|
bool TryVideoMode( RageDisplay::VideoModeParams p, bool &bNewDeviceOut );
|
2003-04-07 00:54:32 +00:00
|
|
|
void SwapBuffers();
|
2003-04-12 02:30:28 +00:00
|
|
|
void Update(float fDeltaTime);
|
2003-04-07 00:54:32 +00:00
|
|
|
|
2003-06-05 19:29:27 +00:00
|
|
|
RageDisplay::VideoModeParams GetVideoModeParams() const { return CurrentParams; }
|
2003-04-07 00:54:32 +00:00
|
|
|
};
|
|
|
|
|
#undef ARCH_LOW_LEVEL_WINDOW
|
|
|
|
|
#define ARCH_LOW_LEVEL_WINDOW LowLevelWindow_SDL
|
|
|
|
|
|
|
|
|
|
#endif
|