From ed16b40c981168e85460b7521cf6b47c783493b9 Mon Sep 17 00:00:00 2001 From: Carlos Garnacho Date: Wed, 22 Jun 2016 19:01:31 +0200 Subject: [PATCH] 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 file changed, 7 insertions(+) diff --git a/src/meta/display.h b/src/meta/display.h index 17a53c176..ea86d99e9 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 ())