The Battle for Wesnoth  1.19.5+dev
Namespaces | Macros | Functions | Variables
lua_gui2.cpp File Reference
#include "scripting/lua_gui2.hpp"
#include "gui/gui.hpp"
#include "gui/core/gui_definition.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 "scripting/lua_widget_methods.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/push_check.hpp"
#include "help/help.hpp"
#include "tstring.hpp"
#include "game_data.hpp"
#include "game_state.hpp"
#include "sdl/input.hpp"
#include <functional>
#include "utils/optional_fwd.hpp"
#include <vector>
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::switch_theme (lua_State *L)
 Changes the current ui(gui2) theme. 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 std::string &name, const game_data &data, const game_state &state)
 
static int lua_gui2::show_help (lua_State *L)
 
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 49 of file lua_gui2.cpp.

Variable Documentation

◆ log_scripting_lua

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