[gtk/ebassi/gidocgen: 303/483] cursor: Use a table for cursor names




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_cursor.png) "default"
- * - ![](help_cursor.png) "help"
- * - ![](pointer_cursor.png) "pointer"
- * - ![](context_menu_cursor.png) "context-menu"
- * - ![](progress_cursor.png) "progress"
- * - ![](wait_cursor.png) "wait"
- * - ![](cell_cursor.png) "cell"
- * - ![](crosshair_cursor.png) "crosshair"
- * - ![](text_cursor.png) "text"
- * - ![](vertical_text_cursor.png) "vertical-text"
- * - ![](alias_cursor.png) "alias"
- * - ![](copy_cursor.png) "copy"
- * - ![](no_drop_cursor.png) "no-drop"
- * - ![](move_cursor.png) "move"
- * - ![](not_allowed_cursor.png) "not-allowed"
- * - ![](grab_cursor.png) "grab"
- * - ![](grabbing_cursor.png) "grabbing"
- * - ![](all_scroll_cursor.png) "all-scroll"
- * - ![](col_resize_cursor.png) "col-resize"
- * - ![](row_resize_cursor.png) "row-resize"
- * - ![](n_resize_cursor.png) "n-resize"
- * - ![](e_resize_cursor.png) "e-resize"
- * - ![](s_resize_cursor.png) "s-resize"
- * - ![](w_resize_cursor.png) "w-resize"
- * - ![](ne_resize_cursor.png) "ne-resize"
- * - ![](nw_resize_cursor.png) "nw-resize"
- * - ![](sw_resize_cursor.png) "sw-resize"
- * - ![](se_resize_cursor.png) "se-resize"
- * - ![](ew_resize_cursor.png) "ew-resize"
- * - ![](ns_resize_cursor.png) "ns-resize"
- * - ![](nesw_resize_cursor.png) "nesw-resize"
- * - ![](nwse_resize_cursor.png) "nwse-resize"
- * - ![](zoom_in_cursor.png) "zoom-in"
- * - ![](zoom_out_cursor.png) "zoom-out"
- *
+ * | | | | |
+ * | --- | --- | ---- | --- |
+ * | "none" | ![](default_cursor.png) "default" | ![](help_cursor.png) "help" | ![](pointer_cursor.png) 
"pointer" |
+ * | ![](context_menu_cursor.png) "context-menu" | ![](progress_cursor.png) "progress" | 
![](wait_cursor.png) "wait" | ![](cell_cursor.png) "cell" |
+ * | ![](crosshair_cursor.png) "crosshair" | ![](text_cursor.png) "text" | ![](vertical_text_cursor.png) 
"vertical-text" | ![](alias_cursor.png) "alias" |
+ * | ![](copy_cursor.png) "copy" | ![](no_drop_cursor.png) "no-drop" | ![](move_cursor.png) "move" | 
![](not_allowed_cursor.png) "not-allowed" |
+ * | ![](grab_cursor.png) "grab" | ![](grabbing_cursor.png) "grabbing" | ![](all_scroll_cursor.png) 
"all-scroll" | ![](col_resize_cursor.png) "col-resize" |
+ * | ![](row_resize_cursor.png) "row-resize" | ![](n_resize_cursor.png) "n-resize" | 
![](e_resize_cursor.png) "e-resize" | ![](s_resize_cursor.png) "s-resize" |
+ * | ![](w_resize_cursor.png) "w-resize" | ![](ne_resize_cursor.png) "ne-resize" | ![](nw_resize_cursor.png) 
"nw-resize" | ![](sw_resize_cursor.png) "sw-resize" |
+ * | ![](se_resize_cursor.png) "se-resize" | ![](ew_resize_cursor.png) "ew-resize" | 
![](ns_resize_cursor.png) "ns-resize" | ![](nesw_resize_cursor.png) "nesw-resize" |
+ * | ![](nwse_resize_cursor.png) "nwse-resize" | ![](zoom_in_cursor.png) "zoom-in" | 
![](zoom_out_cursor.png) "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]