ReXGlue SDK
Loading...
Searching...
No Matches
rex::ui::IUIEventListener Class Referenceabstract

#include <rex/ui/ui_event.h>

Public Member Functions

virtual void OnUIEvent (const ui::UIEvent &event)=0
virtual void OnInputEvent (InputEvent &event)=0

Detailed Description

Receives window and input events on the UI thread.

Member Function Documentation

◆ OnInputEvent()

virtual void rex::ui::IUIEventListener::OnInputEvent ( InputEvent & event)
pure virtual

Called for every key, character, mouse button, motion and wheel event, in order. A receiver that consumes the event sets its handled flag.

Parameters
eventValid only during the call.

◆ OnUIEvent()

virtual void rex::ui::IUIEventListener::OnUIEvent ( const ui::UIEvent & event)
pure virtual

Called for every window event, in order.

Parameters
eventValid only during the call.

The documentation for this class was generated from the following file: