[gtk/ebassi/gidocgen: 303/483] cursor: Use a table for cursor names
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/ebassi/gidocgen: 303/483] cursor: Use a table for cursor names
- Date: Sun, 7 Mar 2021 16:13:20 +0000 (UTC)
commit debd44ff8d1597933e77c04d738ac0402fb0b9f2
Author: Matthias Clasen <mclasen redhat com>
Date: Sat Feb 27 20:02:48 2021 -0500
cursor: Use a table for cursor names
This gets all the names into view at the same time.
gdk/gdkcursor.c | 47 +++++++++++------------------------------------
1 file changed, 11 insertions(+), 36 deletions(-)
---
diff --git a/gdk/gdkcursor.c b/gdk/gdkcursor.c
index 93b3fac63b..57beb73a63 100644
--- a/gdk/gdkcursor.c
+++ b/gdk/gdkcursor.c
@@ -307,42 +307,17 @@ gdk_cursor_equal (gconstpointer a,
* A recommended set of cursor names that will work across different
* platforms can be found in the CSS specification:
*
- * - "none"
- * -  "default"
- * -  "help"
- * -  "pointer"
- * -  "context-menu"
- * -  "progress"
- * -  "wait"
- * -  "cell"
- * -  "crosshair"
- * -  "text"
- * -  "vertical-text"
- * -  "alias"
- * -  "copy"
- * -  "no-drop"
- * -  "move"
- * -  "not-allowed"
- * -  "grab"
- * -  "grabbing"
- * -  "all-scroll"
- * -  "col-resize"
- * -  "row-resize"
- * -  "n-resize"
- * -  "e-resize"
- * -  "s-resize"
- * -  "w-resize"
- * -  "ne-resize"
- * -  "nw-resize"
- * -  "sw-resize"
- * -  "se-resize"
- * -  "ew-resize"
- * -  "ns-resize"
- * -  "nesw-resize"
- * -  "nwse-resize"
- * -  "zoom-in"
- * -  "zoom-out"
- *
+ * | | | | |
+ * | --- | --- | ---- | --- |
+ * | "none" |  "default" |  "help" | 
"pointer" |
+ * |  "context-menu" |  "progress" |
 "wait" |  "cell" |
+ * |  "crosshair" |  "text" | 
"vertical-text" |  "alias" |
+ * |  "copy" |  "no-drop" |  "move" |
 "not-allowed" |
+ * |  "grab" |  "grabbing" | 
"all-scroll" |  "col-resize" |
+ * |  "row-resize" |  "n-resize" |
 "e-resize" |  "s-resize" |
+ * |  "w-resize" |  "ne-resize" | 
"nw-resize" |  "sw-resize" |
+ * |  "se-resize" |  "ew-resize" |
 "ns-resize" |  "nesw-resize" |
+ * |  "nwse-resize" |  "zoom-in" |
 "zoom-out" | |
*
* Returns: (nullable): a new `GdkCursor`, or %NULL if there is no
* cursor with the given name
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]