Standard system cursor shapes.
More...
Standard system cursor shapes.
These are the standard cursor shapes that can be requested from the window system.
◆ GLFW_ARROW_CURSOR
#define GLFW_ARROW_CURSOR 0x00036001 |
The regular arrow cursor shape.
The regular arrow cursor shape.
Definition at line 1137 of file glfw3.h.
◆ GLFW_CROSSHAIR_CURSOR
#define GLFW_CROSSHAIR_CURSOR 0x00036003 |
The crosshair cursor shape.
The crosshair cursor shape.
Definition at line 1147 of file glfw3.h.
◆ GLFW_HAND_CURSOR
Legacy name for compatibility.
This is an alias for compatibility with earlier versions.
Definition at line 1227 of file glfw3.h.
◆ GLFW_HRESIZE_CURSOR
Legacy name for compatibility.
This is an alias for compatibility with earlier versions.
Definition at line 1217 of file glfw3.h.
◆ GLFW_IBEAM_CURSOR
#define GLFW_IBEAM_CURSOR 0x00036002 |
The text input I-beam cursor shape.
The text input I-beam cursor shape.
Definition at line 1142 of file glfw3.h.
◆ 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
- @x11 This shape is provided by a newer standard not supported by all cursor themes.
-
@wayland This shape is provided by a newer standard not supported by all cursor themes.
Definition at line 1212 of file glfw3.h.
◆ GLFW_POINTING_HAND_CURSOR
#define GLFW_POINTING_HAND_CURSOR 0x00036004 |
The pointing hand cursor shape.
The pointing hand cursor shape.
Definition at line 1152 of file glfw3.h.
◆ 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.
Definition at line 1200 of file glfw3.h.
◆ 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.
Definition at line 1158 of file glfw3.h.
◆ 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
- @macos This shape is provided by a private system API and may fail with GLFW_CURSOR_UNAVAILABLE in the future.
-
@x11 This shape is provided by a newer standard not supported by all cursor themes.
-
@wayland This shape is provided by a newer standard not supported by all cursor themes.
Definition at line 1194 of file glfw3.h.
◆ 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.
Definition at line 1164 of file glfw3.h.
◆ 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
- @macos This shape is provided by a private system API and may fail with GLFW_CURSOR_UNAVAILABLE in the future.
-
@x11 This shape is provided by a newer standard not supported by all cursor themes.
-
@wayland This shape is provided by a newer standard not supported by all cursor themes.
Definition at line 1179 of file glfw3.h.
◆ GLFW_VRESIZE_CURSOR
Legacy name for compatibility.
This is an alias for compatibility with earlier versions.
Definition at line 1222 of file glfw3.h.