#include <AUI/Platform/AEmbedAuiWrap.h>
|
|
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.
|
| |
| bool | isUIConsumesMouseAt (int x, int y) |
| |
| void | onPointerPressed (int x, int y, APointerIndex pointerIndex) |
| | Handle mouse pressed in UI.
|
| |
| void | onPointerReleased (int x, int y, APointerIndex pointerIndex) |
| | Handle mouse released in UI.
|
| |
| void | onPointerMove (int x, int y) |
| | Handle mouse move in UI.
|
| |
|
void | onCharEntered (wchar_t c) |
| | Handle char entered in UI.
|
| |
|
void | onScroll (int mouseX, int mouseY, int scrollX, int scrollY) |
| | Handle onScroll in UI.
|
| |
|
void | onKeyPressed (AInput::Key key) |
| |
|
void | onKeyReleased (AInput::Key key) |
| |
|
AWindowBase * | getWindow () |
| |
| void | loop () override |
| | Do message processing loop.
|
| |
|
|
void | windowInit (_unique< IRenderingContext > context) |
| |
|
void | windowMakeCurrent () |
| |
|
void | windowRender () |
| |
|
virtual void | onNotifyProcessMessages ()=0 |
| |
|
|
_< EmbedWindow > | mContainer |
| |
|
glm::ivec2 | mSize |
| |
|
AOptional< float > | mCustomDpiRatio |
| |
Helper for applications with custom window initialization.
- Note
- This class is abstract; use AGLEmbedAuiWrap or ASoftwareEmbedAuiWrap instead.
◆ isUIConsumesMouseAt()#
| bool AEmbedAuiWrap::isUIConsumesMouseAt |
( |
int | x, |
|
|
int | y ) |
- Returns
- true if UI is opaque for mouse at specified position
◆ loop()#
| void AEmbedAuiWrap::loop |
( |
| ) |
|
|
overridevirtual |
◆ notifyProcessMessages()#
| void AEmbedAuiWrap::notifyProcessMessages |
( |
| ) |
|
|
overridevirtual |
◆ onPointerMove()#
| void AEmbedAuiWrap::onPointerMove |
( |
int | x, |
|
|
int | y ) |
◆ onPointerPressed()#
| void AEmbedAuiWrap::onPointerPressed |
( |
int | x, |
|
|
int | y, |
|
|
APointerIndex | pointerIndex ) |
- Parameters
-
| x | x position |
| y | y position |
| pointerIndex | mouse button or finger index |
◆ onPointerReleased()#
| void AEmbedAuiWrap::onPointerReleased |
( |
int | x, |
|
|
int | y, |
|
|
APointerIndex | pointerIndex ) |
- Parameters
-
| x | x position |
| y | y position |
| pointerIndex | mouse button or finger index |