[mutter] meta: Add MetaPadActionType enum



commit ed16b40c981168e85460b7521cf6b47c783493b9
Author: Carlos Garnacho <carlosg gnome org>
Date:   Wed Jun 22 19:01:31 2016 +0200

    meta: Add MetaPadActionType enum
    
    This will be used on lookups to the current action assigned to
    any element in a tablet pad.

 src/meta/display.h |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/src/meta/display.h b/src/meta/display.h
index 17a53c1..ea86d99 100644
--- a/src/meta/display.h
+++ b/src/meta/display.h
@@ -53,6 +53,13 @@ typedef enum
   META_TAB_SHOW_INSTANTLY  /* Alt-Esc mode */
 } MetaTabShowType;
 
+typedef enum
+{
+  META_PAD_ACTION_BUTTON, /* Action is a button */
+  META_PAD_ACTION_RING,   /* Action is a ring */
+  META_PAD_ACTION_STRIP,  /* Action is a strip */
+} MetaPadActionType;
+
 typedef struct _MetaDisplayClass MetaDisplayClass;
 
 #define META_TYPE_DISPLAY              (meta_display_get_type ())


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]