Crazy Eddies GUI System  0.7.2
Public Attributes | List of all members
CEGUI::EventArgs Class Reference

Base class used as the argument to all subscribers Event object. More...

Inherited by CEGUI::AnimationEventArgs, CEGUI::DisplayEventArgs, CEGUI::MouseCursorEventArgs, CEGUI::RenderQueueEventArgs, CEGUI::ResourceEventArgs, and CEGUI::WindowEventArgs.

Public Attributes

uint handled
 handlers should increment this if they handled the event.
 

Detailed Description

Base class used as the argument to all subscribers Event object.

The base EventArgs class does not contain any useful information, it is intended to be specialised for each type of event that can be generated by objects within the system. The use of this base class allows all event subscribers to have the same function signature.

The handled field is used to signal whether an event was actually handled or not. While the event system does not look at this value, code at a higher level can use it to determine how far to propagate an event.