chiark / gitweb /
use GtkStyles everywhere instead of explicit colors. faster.
[disorder] / disobedience / disobedience.h
index 884ebfe2827620960c283d69ab3f1d7be29ca3da..ea5d095257899dc867dbf706cfb371ac9e2dae51 100644 (file)
@@ -133,7 +133,7 @@ void properties(int ntracks, const char **tracks);
 
 void properties_reset(void);
 
-GtkWidget *scroll_widget(GtkWidget *child, const char *name);
+GtkWidget *scroll_widget(GtkWidget *child);
 /* Wrap a widget up for scrolling */
 
 GdkPixbuf *find_image(const char *name);
@@ -235,12 +235,34 @@ void choose_update(void);
 
 void login_box(void);
 
+/* Help */
+
+void popup_help(void);
+
 /* RTP */
 
 int rtp_running(void);
 void start_rtp(void);
 void stop_rtp(void);
 
+/* Settings */
+
+void init_styles(void);
+extern GtkStyle *layout_style;
+extern GtkStyle *title_style;
+extern GtkStyle *even_style;
+extern GtkStyle *odd_style;
+extern GtkStyle *active_style;
+extern GtkStyle *tool_style;
+extern GtkStyle *search_style;
+extern GtkStyle *drag_style;
+
+extern const char *browser;
+
+void save_settings(void);
+void load_settings(void);
+void set_tool_colors(GtkWidget *w);
+
 /* Widget leakage debugging rubbish ---------------------------------------- */
 
 #if MDEBUG