summaryrefslogtreecommitdiffstats
path: root/include/widgets
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2017-06-02 14:05:19 +0200
committerDave Davenport <qball@gmpclient.org>2017-06-02 14:05:19 +0200
commiteec5c6eadcc5de3c5285a5240db6da2e439d287a (patch)
tree9bb05b3f142d1ec577e62d696523d24f5a50122c /include/widgets
parent85b6e32158b17a117033df659e39ecd793553327 (diff)
Add orientation property.
Diffstat (limited to 'include/widgets')
-rw-r--r--include/widgets/box.h13
1 files changed, 1 insertions, 12 deletions
diff --git a/include/widgets/box.h b/include/widgets/box.h
index 46d0fdb1..70132475 100644
--- a/include/widgets/box.h
+++ b/include/widgets/box.h
@@ -48,23 +48,12 @@
typedef struct _box box;
/**
- * The packing direction of the box
- */
-typedef enum
-{
- /** Pack widgets horizontal */
- BOX_HORIZONTAL = 0,
- /** Pack widgets vertical */
- BOX_VERTICAL = 1
-} boxType;
-
-/**
* @param name The name of the widget.
* @param type The packing direction of the newly created box.
*
* @returns a newly created box, free with #widget_free
*/
-box * box_create ( const char *name, boxType type );
+box * box_create ( const char *name, Orientation type );
/**
* @param box Handle to the box widget.