class
Eagle::WindowEvent
- Eagle::WindowEvent
- Eagle::Event
- Reference
- Object
Overview
The window was resized, gained or lost focus, was minimized or restored, or the mouse
entered or left it. App#resize and Node#resized already cover resizing.
Defined in:
eagle/core/events.crConstructors
-
.new(kind : Eagle::WindowEventKind, size : Eagle::Vec2 = Vec2::ZERO)
Creates a window event.
Instance Method Summary
-
#kind : WindowEventKind
What happened to the window.
-
#size : Vec2
The window size, for
Resizedevents.
Instance methods inherited from class Eagle::Event
handled=(handled : Bool)
handled=,
handled? : Bool
handled?
Constructor Detail
Creates a window event.