
Public Types | |
| typedef std::map < gui2::twidget *, int > | callback_map |
Public Member Functions | |
| scoped_dialog (lua_State *l, gui2::twindow *w) | |
| ~scoped_dialog () | |
Public Attributes | |
| lua_State * | L |
| scoped_dialog * | prev |
| gui2::twindow * | window |
| callback_map | callbacks |
Static Public Attributes | |
| static scoped_dialog * | current = NULL |
Private Member Functions | |
| scoped_dialog (const scoped_dialog &) | |
Definition at line 2762 of file lua.cpp.
| typedef std::map<gui2::twidget *, int> scoped_dialog::callback_map |
| scoped_dialog::scoped_dialog | ( | lua_State * | l, | |
| gui2::twindow * | w | |||
| ) |
Definition at line 2779 of file lua.cpp.
References current, L, lua_createtable(), lua_pushlightuserdata(), lua_pushvalue(), lua_rawget(), lua_rawset(), lua_rawseti(), and LUA_REGISTRYINDEX.

| scoped_dialog::~scoped_dialog | ( | ) |
Definition at line 2792 of file lua.cpp.
References current, L, lua_pushlightuserdata(), lua_pushvalue(), lua_rawget(), lua_rawgeti(), lua_rawset(), LUA_REGISTRYINDEX, lua_remove(), prev, and window.

| scoped_dialog::scoped_dialog | ( | const scoped_dialog & | ) | [private] |
Definition at line 2769 of file lua.cpp.
Referenced by dialog_callback(), and intf_set_dialog_callback().
scoped_dialog * scoped_dialog::current = NULL [static] |
Definition at line 2766 of file lua.cpp.
Referenced by scoped_dialog(), and ~scoped_dialog().
Definition at line 2764 of file lua.cpp.
Referenced by dialog_callback(), scoped_dialog(), and ~scoped_dialog().
Definition at line 2765 of file lua.cpp.
Referenced by ~scoped_dialog().
Definition at line 2767 of file lua.cpp.
Referenced by find_widget(), intf_show_dialog(), and ~scoped_dialog().
| Generated by doxygen 1.7.1 on Fri May 25 2012 01:14:06 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |