A User Interface for testing purposes.
#include <MockScreen.hpp>
|
virtual bool | init () |
|
virtual bool | cleanup () |
|
virtual bool | show () |
|
virtual bool | drawScreen (void *screen) |
|
virtual bool | update (const std::string ¶meter, const std::string &value) |
|
virtual bool | update (const std::string ¶meter, const Image &value) |
|
virtual bool | update (const std::string ¶meter, const Player &value) |
|
virtual bool | update (const std::string ¶meter, const std::vector< Player > &value) |
|
virtual bool | update (const std::string ¶meter, const std::vector< Target > &value) |
|
virtual bool | update (const std::string ¶meter, const Weapon &value) |
|
virtual int | getHeight () const |
|
virtual int | getWidth () const |
|
|
static const std::string | PARAM_MESSAGE = "message" |
|
|
static const std::string | IMAGE_PATH = "../images/unittesting.jpg" |
|
static const std::string | FONT_PATH = "../fonts/FreeMono.ttf" |
|
|
SDL_Window * | window |
|
SDL_Surface * | screen |
|
TTF_Font * | font |
|
SDL_Surface * | text_surface |
|
SDL_Surface * | background |
|
std::string | remaining_time |
|
|
static const SDL_Color | TEXT_COLOR = {255,0,0,0} |
|
The documentation for this class was generated from the following files:
- src/libraries/UserInterfaceLib/MockScreen.hpp
- src/libraries/UserInterfaceLib/MockScreen.cpp