The Battle for Wesnoth  1.15.1+dev
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/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 "play_controller.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 "lexical_cast.hpp"
#include "log.hpp"
#include "font/pango/escape.hpp"
#include <sstream>
#include <string>
#include <vector>
#include "utils/functional.hpp"
Include dependency graph for lua_interpreter.cpp:

Go to the source code of this file.

Classes

class  gui2::dialogs::lua_interpreter::view
 
class  gui2::dialogs::lua_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::dialogs::lua_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::dialogs::lua_interpreter::controller
 The controller is responsible to hold all the input widgets, and a pointer to the model and view. More...
 

Namespaces

 gui2
 Generic file dialog.
 
 gui2::dialogs
 

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

◆ DBG_LUA

#define DBG_LUA   LOG_STREAM(debug, log_lua_int)

◆ ERR_LUA

#define ERR_LUA   LOG_STREAM(err, log_lua_int)

Definition at line 58 of file lua_interpreter.cpp.

Referenced by gui2::dialogs::lua_interpreter::display().

◆ GETTEXT_DOMAIN

#define GETTEXT_DOMAIN   "wesnoth-lib"

Definition at line 15 of file lua_interpreter.cpp.

◆ LOG_LUA

#define LOG_LUA   LOG_STREAM(info, log_lua_int)

◆ WRN_LUA

#define WRN_LUA   LOG_STREAM(warn, log_lua_int)

Definition at line 57 of file lua_interpreter.cpp.

Variable Documentation

◆ log_lua_int

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