Mercurial > fife-parpg
comparison engine/core/video/sdl/renderbackendsdl.h @ 640:855ad500f991
* Added the ability to set/get the video driver used using the settings interface. Note that the default driver for the OS will be used unless explicitly specified.
author | prock@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Thu, 07 Oct 2010 18:37:02 +0000 |
parents | 5f381fa34769 |
children | 6e2151325017 |
comparison
equal
deleted
inserted
replaced
639:685d250f2c2d | 640:855ad500f991 |
---|---|
44 virtual ~RenderBackendSDL(); | 44 virtual ~RenderBackendSDL(); |
45 const std::string& getName() const; | 45 const std::string& getName() const; |
46 | 46 |
47 void startFrame(); | 47 void startFrame(); |
48 void endFrame(); | 48 void endFrame(); |
49 void init(); | 49 void init(const std::string& driver); |
50 void clearBackBuffer(); | 50 void clearBackBuffer(); |
51 | 51 |
52 Image* createMainScreen(unsigned int width, unsigned int height, unsigned char bitsPerPixel, bool fullscreen, const std::string& title, const std::string& icon); | 52 Image* createMainScreen(unsigned int width, unsigned int height, unsigned char bitsPerPixel, bool fullscreen, const std::string& title, const std::string& icon); |
53 Image* createImage(const uint8_t* data, unsigned int width, unsigned int height); | 53 Image* createImage(const uint8_t* data, unsigned int width, unsigned int height); |
54 Image* createImage(SDL_Surface* surface); | 54 Image* createImage(SDL_Surface* surface); |