raygui-widget
Macros
Standard cursor shapes

Standard system cursor shapes. More...

Collaboration diagram for Standard cursor shapes:

Macros

#define GLFW_ARROW_CURSOR   0x00036001
 The regular arrow cursor shape. More...
 
#define GLFW_IBEAM_CURSOR   0x00036002
 The text input I-beam cursor shape. More...
 
#define GLFW_CROSSHAIR_CURSOR   0x00036003
 The crosshair shape. More...
 
#define GLFW_HAND_CURSOR   0x00036004
 The hand shape. More...
 
#define GLFW_HRESIZE_CURSOR   0x00036005
 The horizontal resize arrow shape. More...
 
#define GLFW_VRESIZE_CURSOR   0x00036006
 The vertical resize arrow shape. More...
 
#define GLFW_ARROW_CURSOR   0x00036001
 The regular arrow cursor shape. More...
 
#define GLFW_IBEAM_CURSOR   0x00036002
 The text input I-beam cursor shape. More...
 
#define GLFW_CROSSHAIR_CURSOR   0x00036003
 The crosshair cursor shape. More...
 
#define GLFW_POINTING_HAND_CURSOR   0x00036004
 The pointing hand cursor shape. More...
 
#define GLFW_RESIZE_EW_CURSOR   0x00036005
 The horizontal resize/move arrow shape. More...
 
#define GLFW_RESIZE_NS_CURSOR   0x00036006
 The vertical resize/move arrow shape. More...
 
#define GLFW_RESIZE_NWSE_CURSOR   0x00036007
 The top-left to bottom-right diagonal resize/move arrow shape. More...
 
#define GLFW_RESIZE_NESW_CURSOR   0x00036008
 The top-right to bottom-left diagonal resize/move arrow shape. More...
 
#define GLFW_RESIZE_ALL_CURSOR   0x00036009
 The omni-directional resize/move cursor shape. More...
 
#define GLFW_NOT_ALLOWED_CURSOR   0x0003600A
 The operation-not-allowed shape. More...
 
#define GLFW_HRESIZE_CURSOR   GLFW_RESIZE_EW_CURSOR
 Legacy name for compatibility. More...
 
#define GLFW_VRESIZE_CURSOR   GLFW_RESIZE_NS_CURSOR
 Legacy name for compatibility. More...
 
#define GLFW_HAND_CURSOR   GLFW_POINTING_HAND_CURSOR
 Legacy name for compatibility. More...
 

Detailed Description

Standard system cursor shapes.

See standard cursor creation for how these are used.

These are the standard cursor shapes that can be requested from the platform (window system).

Macro Definition Documentation

◆ GLFW_ARROW_CURSOR [1/2]

#define GLFW_ARROW_CURSOR   0x00036001

The regular arrow cursor shape.

The regular arrow cursor.

◆ GLFW_ARROW_CURSOR [2/2]

#define GLFW_ARROW_CURSOR   0x00036001

The regular arrow cursor shape.

The regular arrow cursor shape.

◆ GLFW_CROSSHAIR_CURSOR [1/2]

#define GLFW_CROSSHAIR_CURSOR   0x00036003

The crosshair shape.

The crosshair shape.

◆ GLFW_CROSSHAIR_CURSOR [2/2]

#define GLFW_CROSSHAIR_CURSOR   0x00036003

The crosshair cursor shape.

The crosshair cursor shape.

◆ GLFW_HAND_CURSOR [1/2]

#define GLFW_HAND_CURSOR   0x00036004

The hand shape.

The hand shape.

◆ GLFW_HAND_CURSOR [2/2]

#define GLFW_HAND_CURSOR   GLFW_POINTING_HAND_CURSOR

Legacy name for compatibility.

This is an alias for compatibility with earlier versions.

◆ GLFW_HRESIZE_CURSOR [1/2]

#define GLFW_HRESIZE_CURSOR   0x00036005

The horizontal resize arrow shape.

The horizontal resize arrow shape.

◆ GLFW_HRESIZE_CURSOR [2/2]

#define GLFW_HRESIZE_CURSOR   GLFW_RESIZE_EW_CURSOR

Legacy name for compatibility.

This is an alias for compatibility with earlier versions.

◆ GLFW_IBEAM_CURSOR [1/2]

#define GLFW_IBEAM_CURSOR   0x00036002

The text input I-beam cursor shape.

The text input I-beam cursor shape.

◆ GLFW_IBEAM_CURSOR [2/2]

#define GLFW_IBEAM_CURSOR   0x00036002

The text input I-beam cursor shape.

The text input I-beam cursor shape.

◆ GLFW_NOT_ALLOWED_CURSOR

#define GLFW_NOT_ALLOWED_CURSOR   0x0003600A

The operation-not-allowed shape.

The operation-not-allowed shape. This is usually a circle with a diagonal line through it.

Note
This shape is provided by a newer standard not supported by all cursor themes.
This shape is provided by a newer standard not supported by all cursor themes.

◆ GLFW_POINTING_HAND_CURSOR

#define GLFW_POINTING_HAND_CURSOR   0x00036004

The pointing hand cursor shape.

The pointing hand cursor shape.

◆ GLFW_RESIZE_ALL_CURSOR

#define GLFW_RESIZE_ALL_CURSOR   0x00036009

The omni-directional resize/move cursor shape.

The omni-directional resize cursor/move shape. This is usually either a combined horizontal and vertical double-headed arrow or a grabbing hand.

◆ GLFW_RESIZE_EW_CURSOR

#define GLFW_RESIZE_EW_CURSOR   0x00036005

The horizontal resize/move arrow shape.

The horizontal resize/move arrow shape. This is usually a horizontal double-headed arrow.

◆ GLFW_RESIZE_NESW_CURSOR

#define GLFW_RESIZE_NESW_CURSOR   0x00036008

The top-right to bottom-left diagonal resize/move arrow shape.

The top-right to bottom-left diagonal resize/move shape. This is usually a diagonal double-headed arrow.

Note
This shape is provided by a private system API and may fail with GLFW_CURSOR_UNAVAILABLE in the future.
This shape is provided by a newer standard not supported by all cursor themes.
This shape is provided by a newer standard not supported by all cursor themes.

◆ GLFW_RESIZE_NS_CURSOR

#define GLFW_RESIZE_NS_CURSOR   0x00036006

The vertical resize/move arrow shape.

The vertical resize/move shape. This is usually a vertical double-headed arrow.

◆ GLFW_RESIZE_NWSE_CURSOR

#define GLFW_RESIZE_NWSE_CURSOR   0x00036007

The top-left to bottom-right diagonal resize/move arrow shape.

The top-left to bottom-right diagonal resize/move shape. This is usually a diagonal double-headed arrow.

Note
This shape is provided by a private system API and may fail with GLFW_CURSOR_UNAVAILABLE in the future.
This shape is provided by a newer standard not supported by all cursor themes.
This shape is provided by a newer standard not supported by all cursor themes.

◆ GLFW_VRESIZE_CURSOR [1/2]

#define GLFW_VRESIZE_CURSOR   0x00036006

The vertical resize arrow shape.

The vertical resize arrow shape.

◆ GLFW_VRESIZE_CURSOR [2/2]

#define GLFW_VRESIZE_CURSOR   GLFW_RESIZE_NS_CURSOR

Legacy name for compatibility.

This is an alias for compatibility with earlier versions.