The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Functions
window.cpp File Reference
#include "tools/sdl2/window.hpp"
#include "tools/sdl2/sdl2.hpp"
#include "sdl/window.hpp"
#include "serialization/unicode.hpp"
#include <boost/lexical_cast.hpp>
Include dependency graph for window.cpp:

Go to the source code of this file.

Functions

static void create (std::string &command, std::string::const_iterator begin)
 
static void modify (std::string &command, std::string::const_iterator begin)
 
static void destroy (std::string &command, std::string::const_iterator begin)
 
void execute_window (std::string &command, std::string::const_iterator begin)
 Executes a window command. More...
 

Function Documentation

static void create ( std::string command,
std::string::const_iterator  begin 
)
static
static void destroy ( std::string command,
std::string::const_iterator  begin 
)
static
void execute_window ( std::string command,
std::string::const_iterator  begin 
)

Executes a window command.

Parameters
commandThe command to be executed.
beginThe beginning of the command's arguments.

Definition at line 112 of file window.cpp.

References create(), destroy(), formula_tokenizer::get_token(), utf8::insert(), modify(), and utf8::size().

Referenced by execute_command().

static void modify ( std::string command,
std::string::const_iterator  begin 
)
static