The Battle for Wesnoth  1.15.5+dev
Namespaces | Macros | Functions | Variables
lua_gui2.cpp File Reference
#include "scripting/lua_gui2.hpp"
#include "gui/core/gui_definition.hpp"
#include "gui/core/window_builder.hpp"
#include "gui/dialogs/drop_down_menu.hpp"
#include "gui/dialogs/gamestate_inspector.hpp"
#include "gui/dialogs/lua_interpreter.hpp"
#include "gui/dialogs/wml_message.hpp"
#include "gui/dialogs/story_viewer.hpp"
#include "gui/dialogs/transient_message.hpp"
#include "gui/dialogs/message.hpp"
#include "gui/widgets/retval.hpp"
#include "config.hpp"
#include "log.hpp"
#include "scripting/lua_common.hpp"
#include "scripting/lua_cpp_function.hpp"
#include "scripting/lua_kernel_base.hpp"
#include "scripting/lua_widget_methods.hpp"
#include "scripting/push_check.hpp"
#include "serialization/string_utils.hpp"
#include "tstring.hpp"
#include "game_data.hpp"
#include "game_state.hpp"
#include "utils/functional.hpp"
#include <map>
#include <utility>
#include <vector>
#include <boost/optional.hpp>
#include "lua/lauxlib.h"
#include "lua/lua.h"
Include dependency graph for lua_gui2.cpp:

Go to the source code of this file.

Namespaces

 lua_gui2
 

Macros

#define ERR_LUA   LOG_STREAM(err, log_scripting_lua)
 

Functions

int lua_gui2::show_message_dialog (lua_State *L)
 Displays a message window. More...
 
int lua_gui2::show_popup_dialog (lua_State *L)
 Displays a popup message. More...
 
int lua_gui2::show_story (lua_State *L)
 Displays a story screen. More...
 
int lua_gui2::show_menu (lua_State *L)
 Displays a popup menu at the current mouse position Best used from a [set_menu_item], to show a submenu. More...
 
int lua_gui2::show_message_box (lua_State *L)
 Displays a simple message box. More...
 
int lua_gui2::show_lua_console (lua_State *, lua_kernel_base *lk)
 
int lua_gui2::show_gamestate_inspector (const vconfig &cfg, const game_data &data, const game_state &state)
 
int lua_gui2::intf_add_widget_definition (lua_State *L)
 
int lua_gui2::luaW_open (lua_State *L)
 

Variables

static lg::log_domain log_scripting_lua ("scripting/lua")
 

Macro Definition Documentation

◆ ERR_LUA

#define ERR_LUA   LOG_STREAM(err, log_scripting_lua)

Definition at line 52 of file lua_gui2.cpp.

Variable Documentation

◆ log_scripting_lua

lg::log_domain log_scripting_lua("scripting/lua")
static