-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcursor.c3i
More file actions
24 lines (17 loc) · 761 Bytes
/
cursor.c3i
File metadata and controls
24 lines (17 loc) · 761 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
module glfw;
distinct Cursor = void*;
fn Cursor createCursor(Image* image, CInt x, CInt y) @extern("glfwCreateCursor");
fn Cursor createStandardCursor(CursorShape shape) @extern("glfwCreateStandardCursor");
fn void Cursor.destroy(Cursor cursor) @extern("glfwDestroyCursor");
module glfw::cursor;
distinct CursorShape = CInt;
const CursorShape ARROW = 0x00036001;
const CursorShape IBEAM_CURSOR = 0x00036002;
const CursorShape CROSSHAIR = 0x00036003;
const CursorShape POINTING_HAND = 0x00036004;
const CursorShape RESIZE_EW = 0x00036005;
const CursorShape RESIZE_NS = 0x00036006;
const CursorShape RESIZE_NWSE = 0x00036007;
const CursorShape RESIZE_NESW = 0x00036008;
const CursorShape RESIZE_ALL = 0x00036009;
const CursorShape NOT_ALLOWED = 0x0003600A;