webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Types | Public Member Functions | Static Public Member Functions | List of all members
WebCore::Cursor Class Reference

#include <Cursor.h>

Public Types

enum  Type {
  Pointer = 0, Cross, Hand, IBeam,
  Wait, Help, EastResize, NorthResize,
  NorthEastResize, NorthWestResize, SouthResize, SouthEastResize,
  SouthWestResize, WestResize, NorthSouthResize, EastWestResize,
  NorthEastSouthWestResize, NorthWestSouthEastResize, ColumnResize, RowResize,
  MiddlePanning, EastPanning, NorthPanning, NorthEastPanning,
  NorthWestPanning, SouthPanning, SouthEastPanning, SouthWestPanning,
  WestPanning, Move, VerticalText, Cell,
  ContextMenu, Alias, Progress, NoDrop,
  Copy, None, NotAllowed, ZoomIn,
  ZoomOut, Grab, Grabbing, Custom,
  Pointer = 0, Cross, Hand, IBeam,
  Wait, Help, EastResize, NorthResize,
  NorthEastResize, NorthWestResize, SouthResize, SouthEastResize,
  SouthWestResize, WestResize, NorthSouthResize, EastWestResize,
  NorthEastSouthWestResize, NorthWestSouthEastResize, ColumnResize, RowResize,
  MiddlePanning, EastPanning, NorthPanning, NorthEastPanning,
  NorthWestPanning, SouthPanning, SouthEastPanning, SouthWestPanning,
  WestPanning, Move, VerticalText, Cell,
  ContextMenu, Alias, Progress, NoDrop,
  Copy, None, NotAllowed, ZoomIn,
  ZoomOut, Grab, Grabbing, Custom
}
 
enum  Type {
  Pointer = 0, Cross, Hand, IBeam,
  Wait, Help, EastResize, NorthResize,
  NorthEastResize, NorthWestResize, SouthResize, SouthEastResize,
  SouthWestResize, WestResize, NorthSouthResize, EastWestResize,
  NorthEastSouthWestResize, NorthWestSouthEastResize, ColumnResize, RowResize,
  MiddlePanning, EastPanning, NorthPanning, NorthEastPanning,
  NorthWestPanning, SouthPanning, SouthEastPanning, SouthWestPanning,
  WestPanning, Move, VerticalText, Cell,
  ContextMenu, Alias, Progress, NoDrop,
  Copy, None, NotAllowed, ZoomIn,
  ZoomOut, Grab, Grabbing, Custom,
  Pointer = 0, Cross, Hand, IBeam,
  Wait, Help, EastResize, NorthResize,
  NorthEastResize, NorthWestResize, SouthResize, SouthEastResize,
  SouthWestResize, WestResize, NorthSouthResize, EastWestResize,
  NorthEastSouthWestResize, NorthWestSouthEastResize, ColumnResize, RowResize,
  MiddlePanning, EastPanning, NorthPanning, NorthEastPanning,
  NorthWestPanning, SouthPanning, SouthEastPanning, SouthWestPanning,
  WestPanning, Move, VerticalText, Cell,
  ContextMenu, Alias, Progress, NoDrop,
  Copy, None, NotAllowed, ZoomIn,
  ZoomOut, Grab, Grabbing, Custom
}
 

Public Member Functions

 Cursor ()=default
 
WEBCORE_EXPORT Cursor (Image *, const IntPoint &hotSpot)
 
 Cursor (Type)
 
Type type () const
 
Imageimage () const
 
const IntPointhotSpot () const
 
WEBCORE_EXPORT PlatformCursor platformCursor () const
 
 Cursor ()=default
 
WEBCORE_EXPORT Cursor (Image *, const IntPoint &hotSpot)
 
 Cursor (Type)
 
Type type () const
 
Imageimage () const
 
const IntPointhotSpot () const
 
WEBCORE_EXPORT PlatformCursor platformCursor () const
 

Static Public Member Functions

static WEBCORE_EXPORT const CursorfromType (Cursor::Type)
 
static WEBCORE_EXPORT const CursorfromType (Cursor::Type)
 

Member Enumeration Documentation

◆ Type [1/2]

Enumerator
Pointer 
Cross 
Hand 
IBeam 
Wait 
Help 
EastResize 
NorthResize 
NorthEastResize 
NorthWestResize 
SouthResize 
SouthEastResize 
SouthWestResize 
WestResize 
NorthSouthResize 
EastWestResize 
NorthEastSouthWestResize 
NorthWestSouthEastResize 
ColumnResize 
RowResize 
MiddlePanning 
EastPanning 
NorthPanning 
NorthEastPanning 
NorthWestPanning 
SouthPanning 
SouthEastPanning 
SouthWestPanning 
WestPanning 
Move 
VerticalText 
Cell 
ContextMenu 
Alias 
Progress 
NoDrop 
Copy 
None 
NotAllowed 
ZoomIn 
ZoomOut 
Grab 
Grabbing 
Custom 
Pointer 
Cross 
Hand 
IBeam 
Wait 
Help 
EastResize 
NorthResize 
NorthEastResize 
NorthWestResize 
SouthResize 
SouthEastResize 
SouthWestResize 
WestResize 
NorthSouthResize 
EastWestResize 
NorthEastSouthWestResize 
NorthWestSouthEastResize 
ColumnResize 
RowResize 
MiddlePanning 
EastPanning 
NorthPanning 
NorthEastPanning 
NorthWestPanning 
SouthPanning 
SouthEastPanning 
SouthWestPanning 
WestPanning 
Move 
VerticalText 
Cell 
ContextMenu 
Alias 
Progress 
NoDrop 
Copy 
None 
NotAllowed 
ZoomIn 
ZoomOut 
Grab 
Grabbing 
Custom 

◆ Type [2/2]

Enumerator
Pointer 
Cross 
Hand 
IBeam 
Wait 
Help 
EastResize 
NorthResize 
NorthEastResize 
NorthWestResize 
SouthResize 
SouthEastResize 
SouthWestResize 
WestResize 
NorthSouthResize 
EastWestResize 
NorthEastSouthWestResize 
NorthWestSouthEastResize 
ColumnResize 
RowResize 
MiddlePanning 
EastPanning 
NorthPanning 
NorthEastPanning 
NorthWestPanning 
SouthPanning 
SouthEastPanning 
SouthWestPanning 
WestPanning 
Move 
VerticalText 
Cell 
ContextMenu 
Alias 
Progress 
NoDrop 
Copy 
None 
NotAllowed 
ZoomIn 
ZoomOut 
Grab 
Grabbing 
Custom 
Pointer 
Cross 
Hand 
IBeam 
Wait 
Help 
EastResize 
NorthResize 
NorthEastResize 
NorthWestResize 
SouthResize 
SouthEastResize 
SouthWestResize 
WestResize 
NorthSouthResize 
EastWestResize 
NorthEastSouthWestResize 
NorthWestSouthEastResize 
ColumnResize 
RowResize 
MiddlePanning 
EastPanning 
NorthPanning 
NorthEastPanning 
NorthWestPanning 
SouthPanning 
SouthEastPanning 
SouthWestPanning 
WestPanning 
Move 
VerticalText 
Cell 
ContextMenu 
Alias 
Progress 
NoDrop 
Copy 
None 
NotAllowed 
ZoomIn 
ZoomOut 
Grab 
Grabbing 
Custom 

Constructor & Destructor Documentation

◆ Cursor() [1/6]

WebCore::Cursor::Cursor ( )
default

◆ Cursor() [2/6]

WebCore::Cursor::Cursor ( Image image,
const IntPoint hotSpot 
)

◆ Cursor() [3/6]

WebCore::Cursor::Cursor ( Type  type)
explicit

◆ Cursor() [4/6]

WebCore::Cursor::Cursor ( )
default

◆ Cursor() [5/6]

WEBCORE_EXPORT WebCore::Cursor::Cursor ( Image ,
const IntPoint hotSpot 
)

◆ Cursor() [6/6]

WebCore::Cursor::Cursor ( Type  )
explicit

Member Function Documentation

◆ fromType() [1/2]

const Cursor & WebCore::Cursor::fromType ( Cursor::Type  type)
static

◆ fromType() [2/2]

static WEBCORE_EXPORT const Cursor& WebCore::Cursor::fromType ( Cursor::Type  )
static

◆ hotSpot() [1/2]

const IntPoint& WebCore::Cursor::hotSpot ( ) const
inline

◆ hotSpot() [2/2]

const IntPoint& WebCore::Cursor::hotSpot ( ) const
inline

◆ image() [1/2]

Image* WebCore::Cursor::image ( ) const
inline

◆ image() [2/2]

Image* WebCore::Cursor::image ( ) const
inline

◆ platformCursor() [1/2]

NSCursor * WebCore::Cursor::platformCursor ( ) const

◆ platformCursor() [2/2]

WEBCORE_EXPORT PlatformCursor WebCore::Cursor::platformCursor ( ) const

◆ type() [1/2]

Cursor::Type WebCore::Cursor::type ( ) const
inline

◆ type() [2/2]

Type WebCore::Cursor::type ( ) const

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