code reordering, no functional changes
This commit is contained in:
31
gui.h
31
gui.h
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user