#include <omgui/event.h>
Inherits omgui::Event.
Public Member Functions | |
| bool | can_veto () const |
| event_id | get_id () const |
| object_id | get_object_id () const |
| bool | get_veto () const |
| void | veto (bool v=true) const |
| WindowCloseEvent (const WindowCloseEvent &other) | |
| WindowCloseEvent (event_id id, object_id obj, bool vetoable=true) | |
Private Attributes | |
| bool | m_vetoable |
Constructs a WindowCloseEvent
| id | The event_id of the event | |
| obj | The object_id of the object associated with the event | |
| vetoable | Whether or not the closure of the window is allowed to be vetoed |
| omgui::WindowCloseEvent::WindowCloseEvent | ( | const WindowCloseEvent & | other | ) |
| bool omgui::WindowCloseEvent::can_veto | ( | ) | const [virtual] |
Reimplemented from omgui::Event.
| event_id omgui::Event::get_id | ( | ) | const [inherited] |
| object_id omgui::Event::get_object_id | ( | ) | const [inherited] |
| bool omgui::Event::get_veto | ( | ) | const [inherited] |
| void omgui::Event::veto | ( | bool | v = true |
) | const [inherited] |
bool omgui::WindowCloseEvent::m_vetoable [private] |