Class WindowEventConsumer¶
Defined in File window_event_consumer.h
Inheritance Relationships¶
Derived Type¶
public portal::Engine(Class Engine)
Class Documentation¶
-
class WindowEventConsumer¶
An interface for a class that consumes window events (resize, focus, request close, etc…)
Subclassed by portal::Engine
Public Functions
-
virtual ~WindowEventConsumer() = default¶
-
virtual void on_resize(WindowExtent extent) = 0¶
-
virtual void on_focus(bool focused) = 0¶
-
virtual void on_close() = 0¶
-
virtual ~WindowEventConsumer() = default¶