diff options
author | Emmanuele Bassi <ebassi@gnome.org> | 2013-09-04 14:27:17 +0100 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gnome.org> | 2013-09-12 12:35:04 +0100 |
commit | d36338c48c350024694af457b76e9c01b4f66a73 (patch) | |
tree | c5a009208f7d437335531f00cc23ef1bd1741d9e /endless/eosenums.h | |
parent | f419efd50898862a63c9f31a61115c5b6de79fec (diff) |
Add EosFlexyGrid
A layout manager for flexible grid layouts using the same algorithm of
the Discovery Center. The UI pattern is going to be used in the app
store and other native applications, so it makes sense to have this
widget in the SDK.
Diffstat (limited to 'endless/eosenums.h')
-rw-r--r-- | endless/eosenums.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/endless/eosenums.h b/endless/eosenums.h index 824c99a..8d50f1b 100644 --- a/endless/eosenums.h +++ b/endless/eosenums.h @@ -7,6 +7,10 @@ #error "Please do not include this header file directly." #endif +#include <glib-object.h> + +G_BEGIN_DECLS + /* Shared typedefs for enumerations */ /* @@ -36,5 +40,18 @@ typedef enum EOS_ACTION_BUTTON_SIZE_NUM_SIZES } EosActionButtonSize; +#define EOS_TYPE_FLEXY_SHAPE (eos_flexy_shape_get_type ()) + +typedef enum +{ + EOS_FLEXY_SHAPE_SMALL, + EOS_FLEXY_SHAPE_MEDIUM_HORIZONTAL, + EOS_FLEXY_SHAPE_MEDIUM_VERTICAL, + EOS_FLEXY_SHAPE_LARGE +} EosFlexyShape; + +GType eos_flexy_shape_get_type (void) G_GNUC_CONST; + +G_END_DECLS #endif /* EOS_ENUMS_H */ |