20#include <AUI/View/AViewContainer.h>
21#include "AWindowBase.h"
37 void windowInit(_unique<IRenderingContext> context);
38 void windowMakeCurrent();
41 virtual void onNotifyProcessMessages() = 0;
48 virtual void setViewportSize(
int width,
int height);
50 void setCustomDpiRatio(
float r);
52 bool requiresRedraw();
59 bool isUIConsumesMouseAt(
int x,
int y);
67 void onPointerPressed(
int x,
int y,
APointerIndex pointerIndex);
75 void onPointerReleased(
int x,
int y,
APointerIndex pointerIndex);
82 void onPointerMove(
int x,
int y);
89 void onCharEntered(
wchar_t c);
91 void onScroll(
int mouseX,
int mouseY,
int scrollX,
int scrollY);
94 void onKeyPressed(AInput::Key key);
95 void onKeyReleased(AInput::Key key);
Definition: AEmbedAuiWrap.cpp:26
Definition: AEmbedAuiWrap.h:28
Utility wrapper implementing the stack-allocated (fast) optional idiom.
Definition: AOptional.h:32
Wrapper class that stores either mouse button index or finger index.
Definition: APointerIndex.h:21
Definition: AWindowBase.h:33
Definition: IEventLoop.h:33
Definition: IEventLoop.h:17
virtual void loop()=0
Do message processing loop.
virtual void notifyProcessMessages()=0
Notifies this IEventLoop that its thread got a new message to process.
An std::weak_ptr with AUI extensions.
Definition: SharedPtrTypes.h:177