meta: Add MetaPadActionType enum

This will be used on lookups to the current action assigned to
any element in a tablet pad.
This commit is contained in:
Carlos Garnacho 2016-06-22 19:01:31 +02:00
parent 7bba20e536
commit ed16b40c98

View File

@ -53,6 +53,13 @@ typedef enum
META_TAB_SHOW_INSTANTLY /* Alt-Esc mode */ META_TAB_SHOW_INSTANTLY /* Alt-Esc mode */
} MetaTabShowType; } 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; typedef struct _MetaDisplayClass MetaDisplayClass;
#define META_TYPE_DISPLAY (meta_display_get_type ()) #define META_TYPE_DISPLAY (meta_display_get_type ())