annotate src/ui_misc.h @ 415:4f7362028062

Add zoom ratio display to OSD in fullscreen mode. It appears as [%zoom%] in fullscreen info string. It is now displayed by default.
author zas_
date Fri, 18 Apr 2008 23:09:03 +0000
parents de1c2cd06fce
children 4b2d7f9af171
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
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
4 *
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
5 * Author: John Ellis
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
6 *
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
7 * This software is released under the GNU General Public License (GNU GPL).
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
8 * Please read the included file COPYING for more information.
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
9 * 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
10 */
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 #ifndef UI_MISC_H
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
14 #define UI_MISC_H
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
15
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 #include <sys/time.h>
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
18 #include <sys/types.h>
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
19 #include <time.h>
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
20
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 /* these values are per GNOME HIG */
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
23
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
24 /* HIG 2.0 chapter 8 defines: */
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
25
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
26 /* space between elements within control (ex: icon and it's text) */
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
27 #define PREF_PAD_GAP 6
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
28 /* space between label and control(s) */
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
29 #define PREF_PAD_SPACE 12
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
30 /* space between window border and controls */
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
31 #define PREF_PAD_BORDER 12
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
32 /* indent for group members */
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
33 #define PREF_PAD_INDENT 12
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
34 /* vertical space between groups */
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
35 #define PREF_PAD_GROUP 18
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
36
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
37 /* HIG 2.0 chapter 3.13 defines: */
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
38
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
39 /* gap between buttons in a dialog */
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
40 #define PREF_PAD_BUTTON_GAP 6
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
41 /* space between buttons in a dialog and it's contents */
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
42 #define PREF_PAD_BUTTON_SPACE 24
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
43
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
44 /* and these are not in the GNOME HIG */
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
45
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
46 /* gap between similar toolbar items (buttons) */
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
47 #define PREF_PAD_TOOLBAR_GAP 0
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
48
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
49 /* HIG 2.0 states 6 pixels between icons and text,
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
50 * 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
51 */
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
52 #define PREF_PAD_BUTTON_ICON_GAP 2
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
53
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 GtkWidget *pref_box_new(GtkWidget *parent_box, gint fill,
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
56 GtkOrientation orientation, gint padding);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
57
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
58 GtkWidget *pref_group_new(GtkWidget *parent_box, gint fill,
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
59 const gchar *text, GtkOrientation orientation);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
60 GtkWidget *pref_group_parent(GtkWidget *child);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
61
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
62 GtkWidget *pref_frame_new(GtkWidget *parent_box, gint fill,
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
63 const gchar *text,
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
64 GtkOrientation orientation, gint padding);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
65
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
66 GtkWidget *pref_spacer(GtkWidget *parent_box, gint padding);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
67 GtkWidget *pref_line(GtkWidget *parent_box, gint padding);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
68
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
69 GtkWidget *pref_label_new(GtkWidget *parent_box, const gchar *text);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
70 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
71 void pref_label_bold(GtkWidget *label, gint bold, gint increase_size);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
72
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
73 GtkWidget *pref_button_new(GtkWidget *parent_box, const gchar *stock_id,
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
74 const gchar *text, gint hide_stock_text,
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
75 GCallback func, gpointer data);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
76
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
77 GtkWidget *pref_checkbox_new(GtkWidget *parent_box, const gchar *text, gint active,
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
78 GCallback func, gpointer data);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
79 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
80 GCallback func, gpointer data);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
81
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
82 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
83 gint *result);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
84
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
85 void pref_checkbox_link_sensitivity(GtkWidget *button, GtkWidget *widget);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
86 void pref_checkbox_link_sensitivity_swap(GtkWidget *button, GtkWidget *widget);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
87
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
88 GtkWidget *pref_radiobutton_new(GtkWidget *parent_box, GtkWidget *sibling,
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
89 const gchar *text, gint active,
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
90 GCallback func, gpointer data);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
91 GtkWidget *pref_radiobutton_new_mnemonic(GtkWidget *parent_box, GtkWidget *sibling,
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
92 const gchar *text, gint active,
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
93 GCallback func, gpointer data);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
94
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
95 GtkWidget *pref_radiobutton_new_int(GtkWidget *parent_box, GtkWidget *sibling,
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
96 const gchar *text, gint active,
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
97 gint *result, gint value,
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
98 GCallback func, gpointer data);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
99
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
100 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
101 gdouble min, gdouble max, gdouble step, gint digits,
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
102 gdouble value,
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
103 GCallback func, gpointer data);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
104 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
105 gdouble min, gdouble max, gdouble step, gint digits,
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
106 gdouble value,
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
107 GCallback func, gpointer data);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
108
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
109 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
110 gint min, gint max, gint step,
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
111 gint value, gint *value_var);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
112
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
113 void pref_link_sensitivity(GtkWidget *widget, GtkWidget *watch);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
114
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
115 void pref_signal_block_data(GtkWidget *widget, gpointer data);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
116 void pref_signal_unblock_data(GtkWidget *widget, gpointer data);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
117
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 GtkWidget *pref_table_new(GtkWidget *parent_box, gint columns, gint rows,
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
120 gint homogenious, gint fill);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
121
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
122 GtkWidget *pref_table_box(GtkWidget *table, gint column, gint row,
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
123 GtkOrientation orientation, const gchar *text);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
124
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
125 GtkWidget *pref_table_label(GtkWidget *table, gint column, gint row,
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
126 const gchar *text, gfloat alignment);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
127
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
128 GtkWidget *pref_table_button(GtkWidget *table, gint column, gint row,
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
129 const gchar *stock_id, const gchar *text, gint hide_stock_text,
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
130 GCallback func, gpointer data);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
131
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
132 GtkWidget *pref_table_spin(GtkWidget *table, gint column, gint row,
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
133 const gchar *text, const gchar *suffix,
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
134 gdouble min, gdouble max, gdouble step, gint digits,
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
135 gdouble value,
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
136 GCallback func, gpointer data);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
137
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 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
140 GtkWidget *pref_toolbar_button(GtkWidget *toolbar,
6281cc38e5ca Wed Apr 27 15:17:57 2005 John Ellis <johne@verizon.net>
gqview
parents: 9
diff changeset
141 const gchar *stock_id, const gchar *label, gint toggle,
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
142 const gchar *description,
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
143 GCallback func, gpointer data);
41
6281cc38e5ca Wed Apr 27 15:17:57 2005 John Ellis <johne@verizon.net>
gqview
parents: 9
diff changeset
144 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
145 GtkWidget *pref_toolbar_spacer(GtkWidget *toolbar);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
146
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 GtkWidget *date_selection_new(void);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
149
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
150 void date_selection_set(GtkWidget *widget, gint day, gint month, gint year);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
151 void date_selection_get(GtkWidget *widget, gint *day, gint *month, gint *year);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
152
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
153 void date_selection_time_set(GtkWidget *widget, time_t t);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
154 time_t date_selection_time_get(GtkWidget *widget);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
155
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 typedef enum {
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
158 SIZER_POS_LEFT = 1 << 0,
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
159 SIZER_POS_RIGHT = 1 << 1,
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
160 SIZER_POS_TOP = 1 << 2,
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
161 SIZER_POS_BOTTOM = 1 << 3
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
162 } SizerPositionType;
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
163
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
164 GtkWidget *sizer_new(GtkWidget *parent, GtkWidget *bounding_widget,
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
165 SizerPositionType position);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
166
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
167 void sizer_set_limits(GtkWidget *sizer,
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
168 gint hsize_min, gint hsize_max,
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
169 gint vsize_min, gint vsize_max);
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
170
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 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
173 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
174
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
175 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
176 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
177
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
178 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
179 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
180
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
181
339
de1c2cd06fce Rename user_specified_window_background and window_background_color
zas_
parents: 208
diff changeset
182 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
183 GtkWidget *pref_color_button_new(GtkWidget *parent_box,
de1c2cd06fce Rename user_specified_window_background and window_background_color
zas_
parents: 208
diff changeset
184 const gchar *title, const GdkColor *color,
de1c2cd06fce Rename user_specified_window_background and window_background_color
zas_
parents: 208
diff changeset
185 GCallback func, gpointer data);
208
fa0e05f985c3 set user-defined color as image background - patch by Laurent MONIN
nadvornik
parents: 41
diff changeset
186
fa0e05f985c3 set user-defined color as image background - patch by Laurent MONIN
nadvornik
parents: 41
diff changeset
187
9
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
188 #endif
d907d608745f Sync to GQview 1.5.9 release.
gqview
parents:
diff changeset
189