The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Classes | Namespaces | Macros | Variables
lua_interpreter.cpp File Reference
#include "gui/dialogs/lua_interpreter.hpp"
#include "gui/auxiliary/field.hpp"
#include "gui/auxiliary/find_widget.hpp"
#include "gui/core/window_builder.hpp"
#include "gui/dialogs/helper.hpp"
#include "gui/widgets/button.hpp"
#include "gui/widgets/label.hpp"
#include "gui/widgets/scroll_label.hpp"
#include "gui/widgets/settings.hpp"
#include "gui/widgets/text_box.hpp"
#include "gui/widgets/window.hpp"
#include "desktop/clipboard.hpp"
#include "game_config.hpp"
#include "game_errors.hpp"
#include "gettext.hpp"
#include "resources.hpp"
#include "scripting/plugins/manager.hpp"
#include "scripting/game_lua_kernel.hpp"
#include "scripting/lua_kernel_base.hpp"
#include "serialization/string_utils.hpp"
#include "serialization/unicode.hpp"
#include "log.hpp"
#include "text.hpp"
#include <sstream>
#include <string>
#include <vector>
#include "utils/functional.hpp"
#include <boost/scoped_ptr.hpp>
Include dependency graph for lua_interpreter.cpp:

Go to the source code of this file.

Classes

class  gui2::tlua_interpreter::view
 
class  gui2::tlua_interpreter::lua_model
 The lua model is responsible to interact with the lua kernel base and keep track of what should be displayed in the console. More...
 
class  gui2::tlua_interpreter::input_model
 The input_model keeps track of what commands were executed before, and figures out what should be displayed when the user presses up / down arrows in the input. More...
 
class  gui2::tlua_interpreter::controller
 The controller is responsible to hold all the input widgets, and a pointer to the model and view. More...
 

Namespaces

 gui2
 A class inherited from ttext_box that displays its input as stars.
 

Macros

#define GETTEXT_DOMAIN   "wesnoth-lib"
 
#define DBG_LUA   LOG_STREAM(debug, log_lua_int)
 
#define LOG_LUA   LOG_STREAM(info, log_lua_int)
 
#define WRN_LUA   LOG_STREAM(warn, log_lua_int)
 
#define ERR_LUA   LOG_STREAM(err, log_lua_int)
 

Variables

static lg::log_domain log_lua_int ("lua/interpreter")
 

Macro Definition Documentation

#define DBG_LUA   LOG_STREAM(debug, log_lua_int)
#define ERR_LUA   LOG_STREAM(err, log_lua_int)

Definition at line 58 of file lua_interpreter.cpp.

Referenced by gui2::tlua_interpreter::display().

#define GETTEXT_DOMAIN   "wesnoth-lib"

Definition at line 15 of file lua_interpreter.cpp.

#define LOG_LUA   LOG_STREAM(info, log_lua_int)
#define WRN_LUA   LOG_STREAM(warn, log_lua_int)

Definition at line 57 of file lua_interpreter.cpp.

Variable Documentation

lg::log_domain log_lua_int("lua/interpreter")
static