Public Types | Public Member Functions | Public Attributes | Static Public Attributes | Private Member Functions

scoped_dialog Struct Reference

Collaboration diagram for scoped_dialog:
Collaboration graph
[legend]

List of all members.

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_StateL
scoped_dialogprev
gui2::twindowwindow
callback_map callbacks

Static Public Attributes

static scoped_dialogcurrent = NULL

Private Member Functions

 scoped_dialog (const scoped_dialog &)

Detailed Description

Definition at line 2762 of file lua.cpp.


Member Typedef Documentation

typedef std::map<gui2::twidget *, int> scoped_dialog::callback_map

Definition at line 2768 of file lua.cpp.


Constructor & Destructor Documentation

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.

Here is the call graph for this function:

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.

Here is the call graph for this function:

scoped_dialog::scoped_dialog ( const scoped_dialog  )  [private]

Member Data Documentation

Definition at line 2769 of file lua.cpp.

Referenced by dialog_callback(), and intf_set_dialog_callback().

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().


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by doxygen 1.7.1 on Fri May 25 2012 01:14:06 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs