ACursor#
Represents cursor type.
| Header: | #include <AUI/Platform/ACursor.h> |
| CMake: | aui_link(my_target PUBLIC aui::views) |
Examples#
examples/ui/views/src/ExampleWindow.cpp
Views Example — All-in-one views building example.
static _<AView> link(const AString& url) {
return Label { url } AUI_OVERRIDE_STYLE {
TextColor { AColor::BLUE },
BorderBottom { 1_px, AColor::BLUE },
ACursor::POINTER,
} AUI_LET { AObject::connect(it->clicked, AObject::GENERIC_OBSERVER, [url] { APlatform::openUrl(url); }); };
}
/// [label_coloring]
static _<AView> checkBoxesDemo() {
Public Types#
System#
enum ACursor::System
| Constant | Description |
|---|---|
System::DEFAULT
|
Default arrow.
|
System::POINTER
|
Pointing finger.
|
System::TEXT
|
'I' beam.
|
System::MOVE
|
Something to be moved. Crosshair-like cursor.
|
System::EW_RESIZE
|
Bidirectional resize cursor east-west. <->
|
System::NS_RESIZE
|
Bidirectional resize cursor north-south.
|
Custom#
struct ACursor::Custom
Empty structure.