Search
lxdream.org :: lxdream/src/gtkui/gtkui.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/gtkui/gtkui.h
changeset 1072:d82e04e6d497
prev1040:9e3e41eab2db
next1109:700c5ab26a63
author nkeynes
date Tue Jul 21 20:33:21 2009 +1000 (12 years ago)
permissions -rw-r--r--
last change Heavy configuration management refactor
- Configuration groups now take both an on_change event handler and a
default keybinding handler, making most keybinding tasks quite simple
- GUI configuration all merged into a unified model, drastically reducing
the amount of GUI config code.

Bonuses
- OSX now has a hotkey preference pane
- GTK keybinding editor is much more usable
file annotate diff log raw
1.1 --- a/src/gtkui/gtkui.h Thu Jun 25 21:21:18 2009 +0000
1.2 +++ b/src/gtkui/gtkui.h Tue Jul 21 20:33:21 2009 +1000
1.3 @@ -36,6 +36,8 @@
1.4 typedef struct mmio_window_info *mmio_window_t;
1.5 typedef struct dump_window_info *dump_window_t;
1.6
1.7 +struct lxdream_config_group; /* Forward declaration */
1.8 +
1.9 /**
1.10 * Construct and show the main window, returning an
1.11 * opaque pointer to the window.
1.12 @@ -85,7 +87,7 @@
1.13 typedef void (*gtk_dialog_done_fn)(GtkWidget *panel, gboolean isOK);
1.14 void gtk_gui_enable_action( const gchar *action, gboolean enabled );
1.15 gint gtk_gui_run_property_dialog( const gchar *title, GtkWidget *panel, gtk_dialog_done_fn fn );
1.16 -
1.17 +int gtk_configuration_panel_run( const gchar *title, struct lxdream_config_group *group );
1.18
1.19 typedef gboolean (*file_callback_t)( const gchar *filename );
1.20 gchar *open_file_dialog( const char *title, const char *pattern, const char *patname,
.