summaryrefslogtreecommitdiff
path: root/new/ui_unix.h
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2015-04-09 18:17:04 -0400
committerPietro Gagliardi <[email protected]>2015-04-09 18:17:04 -0400
commit22db738dd13fc8a7eae6188698ab82a803b9ec76 (patch)
tree92dde89ba29b7c2c77eb7d3c27419098ae22e707 /new/ui_unix.h
parent1a525dea313bc78d707b6678f76c7355445d4a87 (diff)
Migrated the GTK+ backend to the new uiControl/uiSizing system.
Diffstat (limited to 'new/ui_unix.h')
-rw-r--r--new/ui_unix.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/new/ui_unix.h b/new/ui_unix.h
index 4e4f6e8..1fa341d 100644
--- a/new/ui_unix.h
+++ b/new/ui_unix.h
@@ -10,9 +10,11 @@ This file assumes that you have included <gtk/gtk.h> and "ui.h" beforehand. It p
// uiUnixNewControl() creates a new uiControl with the given GTK+ control inside.
// The first parameter is the type of the control, as passed to the first argument of g_object_new().
// The two scrolledWindow parameters allow placing scrollbars on the new control.
-// The data parameter can be accessed with uiUnixControlData().
// The firstProperty parameter and beyond allow passing construct properties to the new control, as with g_object_new(); end this list with NULL.
-extern uiControl *uiUnixNewControl(GType type, gboolean inScrolledWindow, gboolean scrolledWindowHasBorder, void *data, const char *firstProperty, ...);
-extern void *uiUnixControlData(uiControl *c);
+extern uiControl *uiUnixNewControl(GType type, gboolean inScrolledWindow, gboolean scrolledWindowHasBorder, const char *firstProperty, ...);
+
+struct uiSizingSys {
+ // this structure currently left blank
+};
#endif