Crazy Eddie's GUI System
0.8.4
|
Public Types | |
typedef ConstVectorIterator < LinkTargetCollection > | LinkTargetIterator |
Public Member Functions | |
EventLinkDefinition (const String &event_name) | |
void | addLinkTarget (const String &widget, const String &event) |
add a new link target to event on widget (name). | |
void | clearLinkTargets () |
clear all link targets from this link definition. | |
void | initialiseWidget (Window &window) const |
initialise window with an event link as specified here. | |
void | cleanUpWidget (Window &window) const |
clean this event from window. | |
void | setName (const String &name) |
const String & | getName () const |
return the name of the Event defined here. | |
LinkTargetIterator | getLinkTargetIterator () const |
Protected Types | |
typedef std::pair< String, String > | StringPair |
typedef std::vector < StringPair CEGUI_VECTOR_ALLOC(StringPair)> | LinkTargetCollection |
type used for the collection of target events. | |
Protected Member Functions | |
Window * | getTargetWindow (Window &start_wnd, const String &name) const |
Return a pointer to the target window with the given name. | |
Protected Attributes | |
String | d_eventName |
String holding the name of the event being defined. | |
LinkTargetCollection | d_targets |
collection of targets for this EventLinkDefinition. | |