Helper for applications with custom window initialization.
- Note
- This class is abstract; use AGLEmbedAuiWrap or ASoftwareEmbedAuiWrap instead.
|
void | clearFocus () |
|
void | setContainer (const _< AViewContainer > &container) |
|
virtual void | setViewportSize (int width, int height) |
|
void | setCustomDpiRatio (float r) |
|
bool | requiresRedraw () |
|
void | notifyProcessMessages () override |
| Notifies this IEventLoop that its thread got a new message to process. More...
|
|
bool | isUIConsumesMouseAt (int x, int y) |
|
void | onPointerPressed (int x, int y, APointerIndex pointerIndex) |
|
void | onPointerReleased (int x, int y, APointerIndex pointerIndex) |
|
void | onPointerMove (int x, int y) |
|
void | onCharEntered (wchar_t c) |
|
void | onScroll (int mouseX, int mouseY, int scrollX, int scrollY) |
|
void | onKeyPressed (AInput::Key key) |
|
void | onKeyReleased (AInput::Key key) |
|
AWindowBase * | getWindow () |
|
void | loop () override |
| Do message processing loop. More...
|
|
|
void | windowInit (_unique< IRenderingContext > context) |
|
void | windowMakeCurrent () |
|
void | windowRender () |
|
virtual void | onNotifyProcessMessages ()=0 |
|
◆ isUIConsumesMouseAt()
bool AEmbedAuiWrap::isUIConsumesMouseAt |
( |
int |
x, |
|
|
int |
y |
|
) |
| |
- Returns
- true if UI is opaque for mouse at specified position
◆ loop()
void AEmbedAuiWrap::loop |
( |
| ) |
|
|
overridevirtual |
Do message processing loop.
Implements IEventLoop.
◆ notifyProcessMessages()
void AEmbedAuiWrap::notifyProcessMessages |
( |
| ) |
|
|
overridevirtual |
◆ onCharEntered()
void AEmbedAuiWrap::onCharEntered |
( |
wchar_t |
c | ) |
|
Handle mouse move in UI.
- Parameters
-
◆ onPointerMove()
void AEmbedAuiWrap::onPointerMove |
( |
int |
x, |
|
|
int |
y |
|
) |
| |
Handle mouse move in UI.
- Parameters
-
◆ onPointerPressed()
void AEmbedAuiWrap::onPointerPressed |
( |
int |
x, |
|
|
int |
y, |
|
|
APointerIndex |
pointerIndex |
|
) |
| |
Handle mouse pressed in UI.
- Parameters
-
x | x position |
y | y position |
pointerIndex | mouse button or finger index |
◆ onPointerReleased()
void AEmbedAuiWrap::onPointerReleased |
( |
int |
x, |
|
|
int |
y, |
|
|
APointerIndex |
pointerIndex |
|
) |
| |
Handle mouse released in UI.
- Parameters
-
x | x position |
y | y position |
pointerIndex | mouse button or finger index |
#include <AUI/Platform/AEmbedAuiWrap.h>
The documentation for this class was generated from the following files:
- aui.views/src/AUI/Platform/AEmbedAuiWrap.h
- aui.views/src/AUI/Platform/AEmbedAuiWrap.cpp