aboutsummaryrefslogtreecommitdiff
path: root/cursor-shape.h
diff options
context:
space:
mode:
Diffstat (limited to 'cursor-shape.h')
-rw-r--r--cursor-shape.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/cursor-shape.h b/cursor-shape.h
new file mode 100644
index 00000000..fb79e45a
--- /dev/null
+++ b/cursor-shape.h
@@ -0,0 +1,21 @@
+#pragma once
+
+enum cursor_shape {
+ CURSOR_SHAPE_NONE,
+ CURSOR_SHAPE_CUSTOM,
+
+ CURSOR_SHAPE_HIDDEN,
+ CURSOR_SHAPE_LEFT_PTR,
+ CURSOR_SHAPE_TEXT,
+ CURSOR_SHAPE_TEXT_FALLBACK,
+ CURSOR_SHAPE_TOP_LEFT_CORNER,
+ CURSOR_SHAPE_TOP_RIGHT_CORNER,
+ CURSOR_SHAPE_BOTTOM_LEFT_CORNER,
+ CURSOR_SHAPE_BOTTOM_RIGHT_CORNER,
+ CURSOR_SHAPE_LEFT_SIDE,
+ CURSOR_SHAPE_RIGHT_SIDE,
+ CURSOR_SHAPE_TOP_SIDE,
+ CURSOR_SHAPE_BOTTOM_SIDE,
+};
+
+const char *cursor_shape_to_string(enum cursor_shape shape);