code reordering, no functional changes

This commit is contained in:
Tomasz Moń
2009-02-21 14:12:08 +01:00
parent a207b8ec62
commit 146745829f
2 changed files with 129 additions and 128 deletions

31
gui.h
View File

@@ -14,4 +14,35 @@
* along with this program. If not, see <http://www.gnu.org/licenses>.
*/
typedef struct {
char *label;
void (*callback)(int);
void (*callback_with_option)(guint32, int);
gdouble min;
gdouble max;
guint32 option;
} SettingsWidget;
typedef struct {
gint id;
gchar *label;
void (*callback)(int);
SettingsWidget *widgets;
gint widgets_amt;
GtkWidget *child; /* child widget - set inside create_widget_container */
} WidgetContainer;
typedef struct {
char *label;
gboolean value;
void (*callback)(gboolean);
WidgetContainer *widgets;
gint widgets_amt;
} VBoxWidget;
typedef struct {
VBoxWidget *widget;
gint amt;
} VBoxes;
void create_window();