#include "gui/widgets/helper.hpp"
#include "gui/widgets/settings.hpp"
#include "sdl_utils.hpp"
#include "serialization/string_utils.hpp"
#include "log.hpp"
#include "SDL_ttf.h"
Go to the source code of this file.
Namespaces | |
namespace | gui2 |
Defines | |
#define | DBG_G LOG_STREAM_INDENT(debug, gui) |
#define | LOG_G LOG_STREAM_INDENT(info, gui) |
#define | WRN_G LOG_STREAM_INDENT(warn, gui) |
#define | ERR_G LOG_STREAM_INDENT(err, gui) |
#define | DBG_G_D LOG_STREAM_INDENT(debug, gui_draw) |
#define | LOG_G_D LOG_STREAM_INDENT(info, gui_draw) |
#define | WRN_G_D LOG_STREAM_INDENT(warn, gui_draw) |
#define | ERR_G_D LOG_STREAM_INDENT(err, gui_draw) |
#define | DBG_G_E LOG_STREAM_INDENT(debug, gui_event) |
#define | LOG_G_E LOG_STREAM_INDENT(info, gui_event) |
#define | WRN_G_E LOG_STREAM_INDENT(warn, gui_event) |
#define | ERR_G_E LOG_STREAM_INDENT(err, gui_event) |
#define | DBG_G_P LOG_STREAM_INDENT(debug, gui_parse) |
#define | LOG_G_P LOG_STREAM_INDENT(info, gui_parse) |
#define | WRN_G_P LOG_STREAM_INDENT(warn, gui_parse) |
#define | ERR_G_P LOG_STREAM_INDENT(err, gui_parse) |
Functions | |
bool | gui2::init () |
SDL_Rect | gui2::create_rect (const tpoint &origin, const tpoint &size) |
std::ostream & | gui2::operator<< (std::ostream &stream, const tpoint &point) |
int | gui2::decode_font_style (const std::string &style) |
Uint32 | gui2::decode_colour (const std::string &colour) |
surface | gui2::save_background (const surface &background, const SDL_Rect &rect) |
Copies a portion of a surface. | |
void | gui2::restore_background (const surface &restorer, surface &background, const SDL_Rect &rect) |
Copies one surface unto another one. | |
Variables | |
static bool | gui2::initialized_ = false |
#define DBG_G LOG_STREAM_INDENT(debug, gui) |
Definition at line 24 of file helper.cpp.
#define DBG_G_D LOG_STREAM_INDENT(debug, gui_draw) |
Definition at line 29 of file helper.cpp.
#define DBG_G_E LOG_STREAM_INDENT(debug, gui_event) |
Definition at line 34 of file helper.cpp.
#define DBG_G_P LOG_STREAM_INDENT(debug, gui_parse) |
Definition at line 39 of file helper.cpp.
#define ERR_G LOG_STREAM_INDENT(err, gui) |
Definition at line 27 of file helper.cpp.
#define ERR_G_D LOG_STREAM_INDENT(err, gui_draw) |
Definition at line 32 of file helper.cpp.
#define ERR_G_E LOG_STREAM_INDENT(err, gui_event) |
Definition at line 37 of file helper.cpp.
#define ERR_G_P LOG_STREAM_INDENT(err, gui_parse) |
Definition at line 42 of file helper.cpp.
#define LOG_G LOG_STREAM_INDENT(info, gui) |
Definition at line 25 of file helper.cpp.
#define LOG_G_D LOG_STREAM_INDENT(info, gui_draw) |
Definition at line 30 of file helper.cpp.
#define LOG_G_E LOG_STREAM_INDENT(info, gui_event) |
Definition at line 35 of file helper.cpp.
#define LOG_G_P LOG_STREAM_INDENT(info, gui_parse) |
Definition at line 40 of file helper.cpp.
#define WRN_G LOG_STREAM_INDENT(warn, gui) |
Definition at line 26 of file helper.cpp.
#define WRN_G_D LOG_STREAM_INDENT(warn, gui_draw) |
Definition at line 31 of file helper.cpp.
#define WRN_G_E LOG_STREAM_INDENT(warn, gui_event) |
Definition at line 36 of file helper.cpp.
#define WRN_G_P LOG_STREAM_INDENT(warn, gui_parse) |
Definition at line 41 of file helper.cpp.
Generated by doxygen 1.5.5 on 23 May 2008 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |