Mercurial > fife-parpg
comparison engine/core/controller/engine.i @ 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 | 685d250f2c2d |
children | 6e2151325017 |
comparison
equal
deleted
inserted
replaced
639:685d250f2c2d | 640:855ad500f991 |
---|---|
75 std::string getWindowIcon() const; | 75 std::string getWindowIcon() const; |
76 void setColorKeyEnabled(bool colorkeyenable); | 76 void setColorKeyEnabled(bool colorkeyenable); |
77 bool isColorKeyEnabled() const; | 77 bool isColorKeyEnabled() const; |
78 void setColorKey(uint8_t r, uint8_t g, uint8_t b); | 78 void setColorKey(uint8_t r, uint8_t g, uint8_t b); |
79 const SDL_Color& getColorKey() const; | 79 const SDL_Color& getColorKey() const; |
80 void setVideoDriver(const std::string& driver); | |
81 const std::string& getVideoDriver() const; | |
80 | 82 |
81 private: | 83 private: |
82 EngineSettings(); | 84 EngineSettings(); |
83 }; | 85 }; |
84 | 86 |