enum
Eagle::WindowEventKind
Overview
What happened to the window in a WindowEvent.
Defined in:
eagle/core/events.crEnum Members
-
Resized =
0 -
The window changed size.
-
FocusGained =
1 -
The window gained keyboard focus.
-
FocusLost =
2 -
The window lost keyboard focus.
-
MouseEnter =
3 -
The mouse moved into the window.
-
MouseLeave =
4 -
The mouse left the window.
-
Minimized =
5 -
The window was minimized.
-
Restored =
6 -
The window was restored from minimized or maximized.
-
Close =
7 -
The player asked to close the window.
Instance Method Summary
-
#close?
Returns
trueif this enum value equalsClose -
#focus_gained?
Returns
trueif this enum value equalsFocusGained -
#focus_lost?
Returns
trueif this enum value equalsFocusLost -
#minimized?
Returns
trueif this enum value equalsMinimized -
#mouse_enter?
Returns
trueif this enum value equalsMouseEnter -
#mouse_leave?
Returns
trueif this enum value equalsMouseLeave -
#resized?
Returns
trueif this enum value equalsResized -
#restored?
Returns
trueif this enum value equalsRestored