|
|
@@ -84,6 +84,12 @@ public:
|
|
|
/// Process the incoming event.
|
|
|
void ProcessEvent(Core::Event& event);
|
|
|
|
|
|
+ /// Called when the listener has been attached to a new Element
|
|
|
+ void OnAttach(Element* ROCKET_UNUSED(element));
|
|
|
+
|
|
|
+ /// Called when the listener has been detached from a Element
|
|
|
+ void OnDetach(Element* ROCKET_UNUSED(element));
|
|
|
+
|
|
|
protected:
|
|
|
// Catch child add/removes so we can correctly set up their events.
|
|
|
virtual void OnChildAdd(Core::Element* child);
|