aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomasz Sterna <tomek@xiaoka.com>2011-11-14 19:57:49 +0100
committerTomasz Sterna <tomek@xiaoka.com>2011-11-14 19:57:49 +0100
commitb30fe1d6a992140d9434774c2afdc52cea68d24a (patch)
treeb6c9bb48ecc1388dbed1e84530b80d86a062200f
parent2b6688dac197b013f7861ab0de91a277b1b94cb3 (diff)
Merged fix-hildonsizetype.patch
-rw-r--r--hildon/hildon-gtk.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/hildon/hildon-gtk.h b/hildon/hildon-gtk.h
index 2861f58..6473691 100644
--- a/hildon/hildon-gtk.h
+++ b/hildon/hildon-gtk.h
@@ -21,6 +21,19 @@
G_BEGIN_DECLS
+#ifndef MAEMO_GTK
+typedef enum {
+ HILDON_SIZE_AUTO_WIDTH = 0 << 0, /* set to automatic width */
+ HILDON_SIZE_HALFSCREEN_WIDTH = 1 << 0, /* set to 50% screen width */
+ HILDON_SIZE_FULLSCREEN_WIDTH = 2 << 0, /* set to 100% screen width */
+ HILDON_SIZE_AUTO_HEIGHT = 0 << 2, /* set to automatic height */
+ HILDON_SIZE_FINGER_HEIGHT = 1 << 2, /* set to finger height */
+ HILDON_SIZE_THUMB_HEIGHT = 2 << 2, /* set to thumb height */
+ HILDON_SIZE_AUTO = (HILDON_SIZE_AUTO_WIDTH | HILDON_SIZE_AUTO_HEIGHT)
+} HildonSizeType;
+#endif /* MAEMO_GTK */
+
+
GtkWidget *
hildon_gtk_menu_new (void);