GATE
gate::ui::Cursor Class Reference

Public Types

enum  StockIdEnum {
  StockId_Pointer = GATE_UI_CURSOR_STOCK_POINTER , StockId_Busy = GATE_UI_CURSOR_STOCK_BUSY , StockId_Starting = GATE_UI_CURSOR_STOCK_STARTING , StockId_Hand = GATE_UI_CURSOR_STOCK_HAND ,
  StockId_Text = GATE_UI_CURSOR_STOCK_TEXT , StockId_Rejected = GATE_UI_CURSOR_STOCK_REJECTED , StockId_Size_All = GATE_UI_CURSOR_STOCK_SIZE_ALL , StockId_Size_Left_Right = GATE_UI_CURSOR_STOCK_SIZE_LEFTRIGHT ,
  StockId_Size_Up_Down = GATE_UI_CURSOR_STOCK_SIZE_UPDOWN , StockId_Size_LeftUp_RightDown = GATE_UI_CURSOR_STOCK_SIZE_LEFTUPRIGHTDOWN , StockId_Size_RightUp_LeftDown = GATE_UI_CURSOR_STOCK_SIZE_RIGHTUPKEFTDOWN
}
 

Public Member Functions

 Cursor (Host &host, StockIdEnum stockId)
 
 Cursor (Host &host, void *nativeHandle, uint32_t flags=0)
 
 Cursor (Host &host, RasterImage const &image, uint16_t x=0, uint16_t y=0)
 
 Cursor (Host &host, String const &filePath)
 
 Cursor (Cursor const &src)
 
Cursoroperator= (Cursor const &src)
 
gate_ui_cursor_t const * c_impl () const noexcept
 
void swap (Cursor &icon)
 

Static Public Attributes

static const uint32_t Flag_Stock = GATE_UI_CURSOR_FLAG_STOCK
 

The documentation for this class was generated from the following files: