AUI Framework  develop
Cross-platform base for C++ UI apps
Loading...
Searching...
No Matches
ACustomWindow Class Reference

Represents a window without native caption but still draggable by top side. More...

#include <AUI/Platform/ACustomWindow.h>

Detailed Description

Member Function Documentation

> All members, including inherited

◆ doDrawWindow()

void ACustomWindow::doDrawWindow ( )
overrideprotectedvirtual

Reimplemented from AWindow.

◆ onPointerPressed()

void ACustomWindow::onPointerPressed ( const APointerPressedEvent & event)
overridevirtual
Parameters
eventevent

Reimplemented from AView.

◆ onPointerReleased()

void ACustomWindow::onPointerReleased ( const APointerReleasedEvent & event)
overridevirtual
Parameters
eventevent
Note
To handle clicks, you should use AView::clicked signal instead. View still receives pointer move and released events even if cursor goes outside the view boundaries, or other exclusive event appeared (i.e. scrollarea scroll). AView::clicked emitted only if release event occurred inside view and no other event has prevented click gesture. See APointerReleasedEvent::triggerClick.

Reimplemented from AView.

◆ setSize()

void ACustomWindow::setSize ( glm::ivec2 size)
overridevirtual

Reimplemented from AView.

◆ winProc()

LRESULT ACustomWindow::winProc ( HWND hwnd,
UINT uMsg,
WPARAM wParam,
LPARAM lParam )
overrideprotectedvirtualnoexcept

Reimplemented from AWindow.