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

Represents cursor type. More...

#include <AUI/Platform/ACursor.h>

Public Types#

enum  System {
  DEFAULT , POINTER , TEXT , MOVE ,
  EW_RESIZE , NS_RESIZE
}
 

Public Member Functions#

 ACursor (System systemCursor)
 
 ACursor (aui::no_escape< AImage > image, int size=16)
 
 ACursor (aui::non_null< _< IDrawable > > drawable, int size=16)
 
 ACursor (AUrl imageUrl, int size=16)
 
void applyNativeCursor (AWindow *pWindow) const
 

Detailed Description#

Examples
examples/ui/views/src/ExampleWindow.cpp.

Member Enumeration Documentation#

◆ System#

Enumerator
DEFAULT 

Default arrow.

POINTER 

Pointing finger.

TEXT 

'I' beam.

MOVE 

Something to be moved. Crosshair-like cursor.

EW_RESIZE 

Bidirectional resize cursor east-west. <->

NS_RESIZE 

Bidirectional resize cursor north-south.