#include "gui/widgets/helper.hpp"#include "gui/core/log.hpp"#include "gui/core/point.hpp"#include "gui/widgets/settings.hpp"#include "sdl/rect.hpp"#include "formula/callable.hpp"#include "formula/string_utils.hpp"#include "tstring.hpp"#include <SDL_ttf.h>
Go to the source code of this file.
Namespaces | |
| gui2 | |
| A class inherited from ttext_box that displays its input as stars. | |
Macros | |
| #define | GETTEXT_DOMAIN "wesnoth-lib" |
Functions | |
| bool | gui2::init () |
| Initializes the gui subsystems. More... | |
| SDL_Rect | gui2::create_rect (const tpoint &origin, const tpoint &size) |
| Creates a rectangle. More... | |
| unsigned | gui2::decode_font_style (const std::string &style) |
| Converts a font style string to a font style. More... | |
| boost::uint32_t | gui2::decode_color (const std::string &color) |
| Converts a color string to a color. More... | |
| PangoAlignment | gui2::decode_text_alignment (const std::string &alignment) |
| Converts a text alignment string to a text alignment. More... | |
| std::string | gui2::encode_text_alignment (const PangoAlignment alignment) |
| Converts a text alignment to its string representation. More... | |
| t_string | gui2::missing_widget (const std::string &id) |
| Returns a default error message if a mandatory widget is omitted. More... | |
| void | gui2::get_screen_size_variables (game_logic::map_formula_callable &variable) |
| Gets a formula object with the screen size. More... | |
| game_logic::map_formula_callable | gui2::get_screen_size_variables () |
| Gets a formula object with the screen size. More... | |
| tpoint | gui2::get_mouse_position () |
| Returns the current mouse position. More... | |
| std::string | gui2::debug_truncate (const std::string &text) |
| Returns a truncated version of the text. More... | |
| #define GETTEXT_DOMAIN "wesnoth-lib" |
Definition at line 15 of file helper.cpp.
1.8.8