summaryrefslogtreecommitdiff
path: root/endless/eosenums.h
diff options
context:
space:
mode:
authorFelipe Erias Morandeira <femorandeira@igalia.com>2013-05-20 16:57:10 +0100
committerFelipe Erias Morandeira <femorandeira@igalia.com>2013-06-03 12:19:03 +0200
commit1a63067ce94964e73ac12387f3dd9af123a49714 (patch)
treeaf765715451f90639887d1b49928be1c99625329 /endless/eosenums.h
parent46a70a71e507b21cd0746f9b1cccbb24909772c3 (diff)
EosActionButton : an internal widget to represent an action in the application.
The widget extends GtkButton and implements its own draw() method. It holds a GtkLabel and a GtkImage internally. EosActionButtonSize : an enum that is used to indicate the desired size of the EosActionButton. [endlessm/eos-sdk#30]
Diffstat (limited to 'endless/eosenums.h')
-rw-r--r--endless/eosenums.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/endless/eosenums.h b/endless/eosenums.h
index c5a88ae..88df444 100644
--- a/endless/eosenums.h
+++ b/endless/eosenums.h
@@ -9,4 +9,26 @@
/* Shared typedefs for enumerations */
+/**
+ * SECTION:eosenum
+ * @Short_description: Public enumerated types used throughout the Endless SDK
+ * @Title: Standard Enumerations
+ */
+
+/**
+ * EosActionButtonSize:
+ *
+ * Built-in sizes for @EosActionButton
+ */
+
+typedef enum
+{
+ EOS_ACTION_BUTTON_SIZE_PRIMARY = 0,
+ EOS_ACTION_BUTTON_SIZE_SECONDARY,
+ EOS_ACTION_BUTTON_SIZE_TERTIARY,
+ EOS_ACTION_BUTTON_SIZE_QUATERNARY,
+ EOS_ACTION_BUTTON_SIZE_NUM_SIZES
+} EosActionButtonSize;
+
+
#endif /* EOS_ENUMS_H */