From 22db738dd13fc8a7eae6188698ab82a803b9ec76 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Thu, 9 Apr 2015 18:17:04 -0400 Subject: Migrated the GTK+ backend to the new uiControl/uiSizing system. --- new/ui_unix.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'new/ui_unix.h') 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 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 -- cgit v1.2.3