anaglym/Video.h
Josh Holtrop 7154cd81c7 modifications to build in MSYS
git-svn-id: svn://anubis/anaglym/trunk@25 99a6e188-d820-4881-8870-2d33a10e2619
2009-09-22 14:27:56 +00:00

25 lines
462 B
C++

#ifndef VIDEO_H
#define VIDEO_H
#include <SDL.h>
class Video
{
public:
Video();
void start(int width = 0,
int height = 0,
bool fullscreen = true);
void stop();
int getDefaultWidth() { return m_defaultWidth; }
int getDefaultHeight() { return m_defaultHeight; }
protected:
int m_defaultWidth;
int m_defaultHeight;
SDL_Surface * m_surface;
};
#endif