annotate src/ui_misc.h @ 927:d27b4184ceb8

Minor tidy up and optimization.
author zas_
date Fri, 25 Jul 2008 06:35:35 +0000
parents 48c8e49b571c
children 1646720364cf
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
1 /*
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
2 * (SLIK) SimpLIstic sKin functions
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
3 * (C) 2004 John Ellis
475
48c8e49b571c updated copyright in source files
nadvornik
parents: 446
diff changeset
4 * Copyright (C) 2008 The Geeqie Team
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
5 *
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
6 * Author: John Ellis
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
7 *
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
8 * This software is released under the GNU General Public License (GNU GPL).
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
9 * Please read the included file COPYING for more information.
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
10 * This software comes with no warranty of any kind, use at your own risk!
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
11 */
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
12
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
13
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
14 #ifndef UI_MISC_H
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
15 #define UI_MISC_H
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
16
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
17
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
18 #include <sys/time.h>
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
19 #include <sys/types.h>
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
20 #include <time.h>
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
21
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
22
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
23 /* these values are per GNOME HIG */
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
24
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
25 /* HIG 2.0 chapter 8 defines: */
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
26
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
27 /* space between elements within control (ex: icon and it's text) */
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
28 #define PREF_PAD_GAP 6
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
29 /* space between label and control(s) */
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
30 #define PREF_PAD_SPACE 12
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
31 /* space between window border and controls */
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
32 #define PREF_PAD_BORDER 12
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
33 /* indent for group members */
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
34 #define PREF_PAD_INDENT 12
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
35 /* vertical space between groups */
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
36 #define PREF_PAD_GROUP 18
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
37
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
38 /* HIG 2.0 chapter 3.13 defines: */
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
39
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
40 /* gap between buttons in a dialog */
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
41 #define PREF_PAD_BUTTON_GAP 6
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
42 /* space between buttons in a dialog and it's contents */
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
43 #define PREF_PAD_BUTTON_SPACE 24
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
44
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
45 /* and these are not in the GNOME HIG */
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
46
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
47 /* gap between similar toolbar items (buttons) */
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
48 #define PREF_PAD_TOOLBAR_GAP 0
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
49
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
50 /* HIG 2.0 states 6 pixels between icons and text,
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
51 * but GTK's stock buttons ignore this (hard coded to 2), we do it too for consistency
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
52 */
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
53 #define PREF_PAD_BUTTON_ICON_GAP 2
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
54
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
55
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
56 GtkWidget *pref_box_new(GtkWidget *parent_box, gint fill,
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
57 GtkOrientation orientation, gint padding);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
58
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
59 GtkWidget *pref_group_new(GtkWidget *parent_box, gint fill,
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
60 const gchar *text, GtkOrientation orientation);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
61 GtkWidget *pref_group_parent(GtkWidget *child);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
62
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
63 GtkWidget *pref_frame_new(GtkWidget *parent_box, gint fill,
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
64 const gchar *text,
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
65 GtkOrientation orientation, gint padding);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
66
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
67 GtkWidget *pref_spacer(GtkWidget *parent_box, gint padding);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
68 GtkWidget *pref_line(GtkWidget *parent_box, gint padding);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
69
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
70 GtkWidget *pref_label_new(GtkWidget *parent_box, const gchar *text);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
71 GtkWidget *pref_label_new_mnemonic(GtkWidget *parent_box, const gchar *text, GtkWidget *widget);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
72 void pref_label_bold(GtkWidget *label, gint bold, gint increase_size);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
73
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
74 GtkWidget *pref_button_new(GtkWidget *parent_box, const gchar *stock_id,
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
75 const gchar *text, gint hide_stock_text,
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
76 GCallback func, gpointer data);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
77
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
78 GtkWidget *pref_checkbox_new(GtkWidget *parent_box, const gchar *text, gint active,
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
79 GCallback func, gpointer data);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
80 GtkWidget *pref_checkbox_new_mnemonic(GtkWidget *parent_box, const gchar *text, gint active,
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
81 GCallback func, gpointer data);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
82
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
83 GtkWidget *pref_checkbox_new_int(GtkWidget *parent_box, const gchar *text, gint active,
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
84 gint *result);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
85
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
86 void pref_checkbox_link_sensitivity(GtkWidget *button, GtkWidget *widget);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
87 void pref_checkbox_link_sensitivity_swap(GtkWidget *button, GtkWidget *widget);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
88
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
89 GtkWidget *pref_radiobutton_new(GtkWidget *parent_box, GtkWidget *sibling,
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
90 const gchar *text, gint active,
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
91 GCallback func, gpointer data);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
92 GtkWidget *pref_radiobutton_new_mnemonic(GtkWidget *parent_box, GtkWidget *sibling,
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
93 const gchar *text, gint active,
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
94 GCallback func, gpointer data);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
95
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
96 GtkWidget *pref_radiobutton_new_int(GtkWidget *parent_box, GtkWidget *sibling,
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
97 const gchar *text, gint active,
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
98 gint *result, gint value,
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
99 GCallback func, gpointer data);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
100
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
101 GtkWidget *pref_spin_new(GtkWidget *parent_box, const gchar *text, const gchar *suffix,
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
102 gdouble min, gdouble max, gdouble step, gint digits,
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
103 gdouble value,
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
104 GCallback func, gpointer data);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
105 GtkWidget *pref_spin_new_mnemonic(GtkWidget *parent_box, const gchar *text, const gchar *suffix,
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
106 gdouble min, gdouble max, gdouble step, gint digits,
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
107 gdouble value,
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
108 GCallback func, gpointer data);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
109
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
110 GtkWidget *pref_spin_new_int(GtkWidget *parent_box, const gchar *text, const gchar *suffix,
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
111 gint min, gint max, gint step,
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
112 gint value, gint *value_var);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
113
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
114 void pref_link_sensitivity(GtkWidget *widget, GtkWidget *watch);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
115
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
116 void pref_signal_block_data(GtkWidget *widget, gpointer data);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
117 void pref_signal_unblock_data(GtkWidget *widget, gpointer data);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
118
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
119
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
120 GtkWidget *pref_table_new(GtkWidget *parent_box, gint columns, gint rows,
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
121 gint homogenious, gint fill);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
122
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
123 GtkWidget *pref_table_box(GtkWidget *table, gint column, gint row,
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
124 GtkOrientation orientation, const gchar *text);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
125
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
126 GtkWidget *pref_table_label(GtkWidget *table, gint column, gint row,
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
127 const gchar *text, gfloat alignment);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
128
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
129 GtkWidget *pref_table_button(GtkWidget *table, gint column, gint row,
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
130 const gchar *stock_id, const gchar *text, gint hide_stock_text,
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
131 GCallback func, gpointer data);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
132
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
133 GtkWidget *pref_table_spin(GtkWidget *table, gint column, gint row,
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
134 const gchar *text, const gchar *suffix,
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
135 gdouble min, gdouble max, gdouble step, gint digits,
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
136 gdouble value,
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
137 GCallback func, gpointer data);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
138
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
139
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
140 GtkWidget *pref_toolbar_new(GtkWidget *parent_box, GtkToolbarStyle style);
41
6281cc38e5ca Wed Apr 27 15:17:57 2005 John Ellis <johne@verizon.net>
gqview
parents: 9
diff changeset
141 GtkWidget *pref_toolbar_button(GtkWidget *toolbar,
6281cc38e5ca Wed Apr 27 15:17:57 2005 John Ellis <johne@verizon.net>
gqview
parents: 9
diff changeset
142 const gchar *stock_id, const gchar *label, gint toggle,
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
143 const gchar *description,
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
144 GCallback func, gpointer data);
41
6281cc38e5ca Wed Apr 27 15:17:57 2005 John Ellis <johne@verizon.net>
gqview
parents: 9
diff changeset
145 void pref_toolbar_button_set_icon(GtkWidget *button, GtkWidget *widget, const gchar *stock_id);
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
146 GtkWidget *pref_toolbar_spacer(GtkWidget *toolbar);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
147
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
148
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
149 GtkWidget *date_selection_new(void);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
150
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
151 void date_selection_set(GtkWidget *widget, gint day, gint month, gint year);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
152 void date_selection_get(GtkWidget *widget, gint *day, gint *month, gint *year);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
153
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
154 void date_selection_time_set(GtkWidget *widget, time_t t);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
155 time_t date_selection_time_get(GtkWidget *widget);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
156
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
157
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
158 typedef enum {
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
159 SIZER_POS_LEFT = 1 << 0,
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
160 SIZER_POS_RIGHT = 1 << 1,
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
161 SIZER_POS_TOP = 1 << 2,
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
162 SIZER_POS_BOTTOM = 1 << 3
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
163 } SizerPositionType;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
164
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
165 GtkWidget *sizer_new(GtkWidget *parent, GtkWidget *bounding_widget,
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
166 SizerPositionType position);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
167
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
168 void sizer_set_limits(GtkWidget *sizer,
442
4b2d7f9af171 Big whitespaces cleanup:
zas_
parents: 339
diff changeset
169 gint hsize_min, gint hsize_max,
4b2d7f9af171 Big whitespaces cleanup:
zas_
parents: 339
diff changeset
170 gint vsize_min, gint vsize_max);
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
171
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
172
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
173 void pref_list_int_set(const gchar *group, const gchar *key, gint value);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
174 gint pref_list_int_get(const gchar *group, const gchar *key, gint *result);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
175
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
176 void pref_list_double_set(const gchar *group, const gchar *key, gdouble value);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
177 gint pref_list_double_get(const gchar *group, const gchar *key, gdouble *result);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
178
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
179 void pref_list_string_set(const gchar *group, const gchar *key, const gchar *value);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
180 gint pref_list_string_get(const gchar *group, const gchar *key, const gchar **result);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
181
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
182
339
de1c2cd06fce Rename user_specified_window_background and window_background_color
zas_
parents: 208
diff changeset
183 void pref_color_button_set_cb(GtkWidget *widget, gpointer data);
de1c2cd06fce Rename user_specified_window_background and window_background_color
zas_
parents: 208
diff changeset
184 GtkWidget *pref_color_button_new(GtkWidget *parent_box,
442
4b2d7f9af171 Big whitespaces cleanup:
zas_
parents: 339
diff changeset
185 const gchar *title, const GdkColor *color,
4b2d7f9af171 Big whitespaces cleanup:
zas_
parents: 339
diff changeset
186 GCallback func, gpointer data);
208
fa0e05f985c3 set user-defined color as image background - patch by Laurent MONIN
nadvornik
parents: 41
diff changeset
187
fa0e05f985c3 set user-defined color as image background - patch by Laurent MONIN
nadvornik
parents: 41
diff changeset
188
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
189 #endif