_________ __ __
/ _____// |_____________ _/ |______ ____ __ __ ______
\_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/
/ \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \
/_______ /|__| |__| (____ /__| (____ /\___ /|____//____ >
\/ \/ \//_____/ \/
______________________ ______________________
T H E W A R B E G I N S
Stratagus - A free fantasy real time strategy game engine
#include <widgets.h>
Public Member Functions | |
widgets.cpp - The stratagus ui widgets. | |
| LuaActionListener (lua_State *lua, lua_Object function) | |
| virtual void | action (const std::string &eventId) |
| virtual | ~LuaActionListener () |
Public Member Functions inherited from gcn::ActionListener | |
| virtual | ~ActionListener () |
| LuaActionListener::LuaActionListener | ( | lua_State * | l, |
| lua_Object | f | ||
| ) |
LuaActionListener constructor
| l | Lua state |
| f | Listener function |
|
virtual |
LuaActionListener destructor
|
virtual |
Called when an action is received from a Widget. It is used to be able to receive a notification that an action has occurred.
| eventId | the identifier of the Widget |
Implements gcn::ActionListener.
1.8.9.1
(C) Copyright 1998-2012 by The Stratagus Project under the GNU General Public License.