From 5ebed0cd5dc2eb2f71e18b24148903f3c10ebf69 Mon Sep 17 00:00:00 2001 From: Jon Bergli Heier Date: Sun, 21 Mar 2010 00:19:02 +0100 Subject: Implemented a very basic configuration dialog. This code is a bit hackish, all configuration options should be collected in a single place (eg. a config struct) in order to easily keep track of all configuration options. --- window_config.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 window_config.h (limited to 'window_config.h') diff --git a/window_config.h b/window_config.h new file mode 100644 index 0000000..639a746 --- /dev/null +++ b/window_config.h @@ -0,0 +1,15 @@ +#ifndef _WINDOW_CONFIG_H_ +#define _WINDOW_CONFIG_H_ + +#include + +struct window_config_t { + GtkDialog *dialog; + GtkComboBox *interp_combo; + GtkRange *preload_scale; +}; + +struct window_config_t *window_config_new(); +void window_config_save(struct window_config_t *wct); + +#endif -- cgit v1.2.3