_________ __ __ / _____// |_____________ _/ |______ ____ __ __ ______ \_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/ / \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \ /_______ /|__| |__| (____ /__| (____ /\___ /|____//____ > \/ \/ \//_____/ \/ ______________________ ______________________ T H E W A R B E G I N S Stratagus - A free fantasy real time strategy game engine
#include <actionlistener.h>
Public Member Functions | |
virtual | ~ActionListener () |
virtual void | action (const std::string &eventId)=0 |
Listener of action events from Widgets. To be able to listen for actions you must make a class which inherits from this class and implements the action function.
|
inlinevirtual |
Destructor.
|
pure virtual |
Called whan an action is recieved from a Widget. It is used to be able to recieve a notification that an action has occured.
eventId | the identifier of the Widget. |
Implemented in gcn::DropDown, EditorSliderListener, EditorUnitSliderListener, and LuaActionListener.