RatioChange class reference


The event is generated when the checkbox widget changes its state.

Functions documentation

RatioChange(Widget2D* widget, int selection);

Default constructor.


RatioChange* Clone() const;

Implementation of the event cloning function.


int GetSelectedFieldId();

Returns the selection id.


Widget2D* GetWidget();

Refers to the widget that generates the event.


Variables documentation

int m_Selected;

Stores data regarding widget state.


Widget2D* m_Widget;

Stores pointer to the widget that generates the event.