Mercurial > audlegacy
annotate audacious/widgets/skin.h @ 1942:4a1e5cb81524 trunk
[svn] - add keypad-enter binding for queueing files in jump-to-file. closes #295.
author | nenolod |
---|---|
date | Sun, 05 Nov 2006 13:29:22 -0800 |
parents | 1d9c1026d9f8 |
children |
rev | line source |
---|---|
1653 | 1 /* BMP - Cross-platform multimedia player |
2 * Copyright (C) 2003-2004 BMP development team. | |
3 * | |
4 * Based on XMMS: | |
5 * Copyright (C) 1998-2003 XMMS development team. | |
6 * | |
7 * This program is free software; you can redistribute it and/or modify | |
8 * it under the terms of the GNU General Public License as published by | |
9 * the Free Software Foundation; either version 2 of the License, or | |
10 * (at your option) any later version. | |
11 * | |
12 * This program is distributed in the hope that it will be useful, | |
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
15 * GNU General Public License for more details. | |
16 * | |
17 * You should have received a copy of the GNU General Public License | |
18 * along with this program; if not, write to the Free Software | |
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |
20 */ | |
21 | |
22 #ifndef _WIDGETCORE_H_ | |
23 #error Please do not include me directly! Use widgetcore.h instead! | |
24 #endif | |
25 | |
26 #ifndef SKIN_H | |
27 #define SKIN_H | |
28 | |
29 | |
30 #include <glib.h> | |
31 #include <gdk/gdk.h> | |
32 | |
33 | |
34 #define BMP_DEFAULT_SKIN_PATH \ | |
35 DATA_DIR G_DIR_SEPARATOR_S "Skins" G_DIR_SEPARATOR_S "Default" | |
36 | |
37 | |
38 typedef enum { | |
39 SKIN_MAIN = 0, | |
40 SKIN_CBUTTONS, | |
41 SKIN_TITLEBAR, | |
42 SKIN_SHUFREP, | |
43 SKIN_TEXT, | |
44 SKIN_VOLUME, | |
45 SKIN_BALANCE, | |
46 SKIN_MONOSTEREO, | |
47 SKIN_PLAYPAUSE, | |
48 SKIN_NUMBERS, | |
49 SKIN_POSBAR, | |
50 SKIN_PLEDIT, | |
51 SKIN_EQMAIN, | |
52 SKIN_EQ_EX, | |
53 SKIN_PIXMAP_COUNT | |
54 } SkinPixmapId; | |
55 | |
56 typedef enum { | |
57 SKIN_MASK_MAIN = 0, | |
58 SKIN_MASK_MAIN_SHADE, | |
59 SKIN_MASK_EQ, | |
60 SKIN_MASK_EQ_SHADE, | |
61 SKIN_MASK_COUNT | |
62 } SkinMaskId; | |
63 | |
64 typedef enum { | |
65 SKIN_PLEDIT_NORMAL = 0, | |
66 SKIN_PLEDIT_CURRENT, | |
67 SKIN_PLEDIT_NORMALBG, | |
68 SKIN_PLEDIT_SELECTEDBG, | |
69 SKIN_TEXTBG, | |
70 SKIN_TEXTFG, | |
71 SKIN_COLOR_COUNT | |
72 } SkinColorId; | |
73 | |
74 typedef struct _SkinProperties { | |
1792
b8f082ddd9f1
[svn] - implement mainwinTextVisible, mainwinVisVisible, mainwinOthertextVisible hints
nenolod
parents:
1788
diff
changeset
|
75 /* this enables the othertext engine, not it's visibility -nenolod */ |
1653 | 76 gboolean mainwin_othertext; |
1792
b8f082ddd9f1
[svn] - implement mainwinTextVisible, mainwinVisVisible, mainwinOthertextVisible hints
nenolod
parents:
1788
diff
changeset
|
77 |
b8f082ddd9f1
[svn] - implement mainwinTextVisible, mainwinVisVisible, mainwinOthertextVisible hints
nenolod
parents:
1788
diff
changeset
|
78 /* Vis properties */ |
1772
cb216af25b55
[svn] - framework for repositioning the vis element on the skin.
nenolod
parents:
1653
diff
changeset
|
79 gint mainwin_vis_x; |
cb216af25b55
[svn] - framework for repositioning the vis element on the skin.
nenolod
parents:
1653
diff
changeset
|
80 gint mainwin_vis_y; |
1780
be1de1dd7262
[svn] - implement [skin.hints:mainwinVisWidth] property.
nenolod
parents:
1779
diff
changeset
|
81 gint mainwin_vis_width; |
1792
b8f082ddd9f1
[svn] - implement mainwinTextVisible, mainwinVisVisible, mainwinOthertextVisible hints
nenolod
parents:
1788
diff
changeset
|
82 gboolean mainwin_vis_visible; |
b8f082ddd9f1
[svn] - implement mainwinTextVisible, mainwinVisVisible, mainwinOthertextVisible hints
nenolod
parents:
1788
diff
changeset
|
83 |
b8f082ddd9f1
[svn] - implement mainwinTextVisible, mainwinVisVisible, mainwinOthertextVisible hints
nenolod
parents:
1788
diff
changeset
|
84 /* Text properties */ |
1773 | 85 gint mainwin_text_x; |
86 gint mainwin_text_y; | |
1777
17e38b5c8e2f
[svn] - support for the [skin.hints:mainwinTextWidth] property.
nenolod
parents:
1773
diff
changeset
|
87 gint mainwin_text_width; |
1792
b8f082ddd9f1
[svn] - implement mainwinTextVisible, mainwinVisVisible, mainwinOthertextVisible hints
nenolod
parents:
1788
diff
changeset
|
88 gboolean mainwin_text_visible; |
b8f082ddd9f1
[svn] - implement mainwinTextVisible, mainwinVisVisible, mainwinOthertextVisible hints
nenolod
parents:
1788
diff
changeset
|
89 |
b8f082ddd9f1
[svn] - implement mainwinTextVisible, mainwinVisVisible, mainwinOthertextVisible hints
nenolod
parents:
1788
diff
changeset
|
90 /* Infobar properties */ |
1773 | 91 gint mainwin_infobar_x; |
92 gint mainwin_infobar_y; | |
1792
b8f082ddd9f1
[svn] - implement mainwinTextVisible, mainwinVisVisible, mainwinOthertextVisible hints
nenolod
parents:
1788
diff
changeset
|
93 gboolean mainwin_othertext_visible; |
1778
1d3d05c541d3
[svn] - support for: [skin.hints:mainwinNumber(0-4)(X,Y)] properties.
nenolod
parents:
1777
diff
changeset
|
94 |
1d3d05c541d3
[svn] - support for: [skin.hints:mainwinNumber(0-4)(X,Y)] properties.
nenolod
parents:
1777
diff
changeset
|
95 gint mainwin_number_0_x; |
1d3d05c541d3
[svn] - support for: [skin.hints:mainwinNumber(0-4)(X,Y)] properties.
nenolod
parents:
1777
diff
changeset
|
96 gint mainwin_number_0_y; |
1d3d05c541d3
[svn] - support for: [skin.hints:mainwinNumber(0-4)(X,Y)] properties.
nenolod
parents:
1777
diff
changeset
|
97 |
1d3d05c541d3
[svn] - support for: [skin.hints:mainwinNumber(0-4)(X,Y)] properties.
nenolod
parents:
1777
diff
changeset
|
98 gint mainwin_number_1_x; |
1d3d05c541d3
[svn] - support for: [skin.hints:mainwinNumber(0-4)(X,Y)] properties.
nenolod
parents:
1777
diff
changeset
|
99 gint mainwin_number_1_y; |
1d3d05c541d3
[svn] - support for: [skin.hints:mainwinNumber(0-4)(X,Y)] properties.
nenolod
parents:
1777
diff
changeset
|
100 |
1d3d05c541d3
[svn] - support for: [skin.hints:mainwinNumber(0-4)(X,Y)] properties.
nenolod
parents:
1777
diff
changeset
|
101 gint mainwin_number_2_x; |
1d3d05c541d3
[svn] - support for: [skin.hints:mainwinNumber(0-4)(X,Y)] properties.
nenolod
parents:
1777
diff
changeset
|
102 gint mainwin_number_2_y; |
1d3d05c541d3
[svn] - support for: [skin.hints:mainwinNumber(0-4)(X,Y)] properties.
nenolod
parents:
1777
diff
changeset
|
103 |
1d3d05c541d3
[svn] - support for: [skin.hints:mainwinNumber(0-4)(X,Y)] properties.
nenolod
parents:
1777
diff
changeset
|
104 gint mainwin_number_3_x; |
1d3d05c541d3
[svn] - support for: [skin.hints:mainwinNumber(0-4)(X,Y)] properties.
nenolod
parents:
1777
diff
changeset
|
105 gint mainwin_number_3_y; |
1d3d05c541d3
[svn] - support for: [skin.hints:mainwinNumber(0-4)(X,Y)] properties.
nenolod
parents:
1777
diff
changeset
|
106 |
1d3d05c541d3
[svn] - support for: [skin.hints:mainwinNumber(0-4)(X,Y)] properties.
nenolod
parents:
1777
diff
changeset
|
107 gint mainwin_number_4_x; |
1d3d05c541d3
[svn] - support for: [skin.hints:mainwinNumber(0-4)(X,Y)] properties.
nenolod
parents:
1777
diff
changeset
|
108 gint mainwin_number_4_y; |
1779
87d4da9b31ea
[svn] - implement [skin.hints:mainwinPlayStatus(X,Y)] properties.
nenolod
parents:
1778
diff
changeset
|
109 |
87d4da9b31ea
[svn] - implement [skin.hints:mainwinPlayStatus(X,Y)] properties.
nenolod
parents:
1778
diff
changeset
|
110 gint mainwin_playstatus_x; |
87d4da9b31ea
[svn] - implement [skin.hints:mainwinPlayStatus(X,Y)] properties.
nenolod
parents:
1778
diff
changeset
|
111 gint mainwin_playstatus_y; |
1784 | 112 |
1786 | 113 gint mainwin_volume_x; |
114 gint mainwin_volume_y; | |
115 | |
116 gint mainwin_balance_x; | |
117 gint mainwin_balance_y; | |
118 | |
119 gint mainwin_position_x; | |
120 gint mainwin_position_y; | |
121 | |
1804
e0e46bce806e
[svn] - mainwinEQButtonX, mainwinEQButtonY, mainwinPLButtonX, mainwinPLButtonY, mainwinAboutX,
nenolod
parents:
1792
diff
changeset
|
122 gint mainwin_previous_x; |
e0e46bce806e
[svn] - mainwinEQButtonX, mainwinEQButtonY, mainwinPLButtonX, mainwinPLButtonY, mainwinAboutX,
nenolod
parents:
1792
diff
changeset
|
123 gint mainwin_previous_y; |
e0e46bce806e
[svn] - mainwinEQButtonX, mainwinEQButtonY, mainwinPLButtonX, mainwinPLButtonY, mainwinAboutX,
nenolod
parents:
1792
diff
changeset
|
124 |
e0e46bce806e
[svn] - mainwinEQButtonX, mainwinEQButtonY, mainwinPLButtonX, mainwinPLButtonY, mainwinAboutX,
nenolod
parents:
1792
diff
changeset
|
125 gint mainwin_play_x; |
e0e46bce806e
[svn] - mainwinEQButtonX, mainwinEQButtonY, mainwinPLButtonX, mainwinPLButtonY, mainwinAboutX,
nenolod
parents:
1792
diff
changeset
|
126 gint mainwin_play_y; |
e0e46bce806e
[svn] - mainwinEQButtonX, mainwinEQButtonY, mainwinPLButtonX, mainwinPLButtonY, mainwinAboutX,
nenolod
parents:
1792
diff
changeset
|
127 |
e0e46bce806e
[svn] - mainwinEQButtonX, mainwinEQButtonY, mainwinPLButtonX, mainwinPLButtonY, mainwinAboutX,
nenolod
parents:
1792
diff
changeset
|
128 gint mainwin_pause_x; |
e0e46bce806e
[svn] - mainwinEQButtonX, mainwinEQButtonY, mainwinPLButtonX, mainwinPLButtonY, mainwinAboutX,
nenolod
parents:
1792
diff
changeset
|
129 gint mainwin_pause_y; |
e0e46bce806e
[svn] - mainwinEQButtonX, mainwinEQButtonY, mainwinPLButtonX, mainwinPLButtonY, mainwinAboutX,
nenolod
parents:
1792
diff
changeset
|
130 |
e0e46bce806e
[svn] - mainwinEQButtonX, mainwinEQButtonY, mainwinPLButtonX, mainwinPLButtonY, mainwinAboutX,
nenolod
parents:
1792
diff
changeset
|
131 gint mainwin_stop_x; |
e0e46bce806e
[svn] - mainwinEQButtonX, mainwinEQButtonY, mainwinPLButtonX, mainwinPLButtonY, mainwinAboutX,
nenolod
parents:
1792
diff
changeset
|
132 gint mainwin_stop_y; |
e0e46bce806e
[svn] - mainwinEQButtonX, mainwinEQButtonY, mainwinPLButtonX, mainwinPLButtonY, mainwinAboutX,
nenolod
parents:
1792
diff
changeset
|
133 |
e0e46bce806e
[svn] - mainwinEQButtonX, mainwinEQButtonY, mainwinPLButtonX, mainwinPLButtonY, mainwinAboutX,
nenolod
parents:
1792
diff
changeset
|
134 gint mainwin_next_x; |
e0e46bce806e
[svn] - mainwinEQButtonX, mainwinEQButtonY, mainwinPLButtonX, mainwinPLButtonY, mainwinAboutX,
nenolod
parents:
1792
diff
changeset
|
135 gint mainwin_next_y; |
e0e46bce806e
[svn] - mainwinEQButtonX, mainwinEQButtonY, mainwinPLButtonX, mainwinPLButtonY, mainwinAboutX,
nenolod
parents:
1792
diff
changeset
|
136 |
e0e46bce806e
[svn] - mainwinEQButtonX, mainwinEQButtonY, mainwinPLButtonX, mainwinPLButtonY, mainwinAboutX,
nenolod
parents:
1792
diff
changeset
|
137 gint mainwin_eject_x; |
e0e46bce806e
[svn] - mainwinEQButtonX, mainwinEQButtonY, mainwinPLButtonX, mainwinPLButtonY, mainwinAboutX,
nenolod
parents:
1792
diff
changeset
|
138 gint mainwin_eject_y; |
e0e46bce806e
[svn] - mainwinEQButtonX, mainwinEQButtonY, mainwinPLButtonX, mainwinPLButtonY, mainwinAboutX,
nenolod
parents:
1792
diff
changeset
|
139 |
e0e46bce806e
[svn] - mainwinEQButtonX, mainwinEQButtonY, mainwinPLButtonX, mainwinPLButtonY, mainwinAboutX,
nenolod
parents:
1792
diff
changeset
|
140 gint mainwin_eqbutton_x; |
e0e46bce806e
[svn] - mainwinEQButtonX, mainwinEQButtonY, mainwinPLButtonX, mainwinPLButtonY, mainwinAboutX,
nenolod
parents:
1792
diff
changeset
|
141 gint mainwin_eqbutton_y; |
e0e46bce806e
[svn] - mainwinEQButtonX, mainwinEQButtonY, mainwinPLButtonX, mainwinPLButtonY, mainwinAboutX,
nenolod
parents:
1792
diff
changeset
|
142 |
e0e46bce806e
[svn] - mainwinEQButtonX, mainwinEQButtonY, mainwinPLButtonX, mainwinPLButtonY, mainwinAboutX,
nenolod
parents:
1792
diff
changeset
|
143 gint mainwin_plbutton_x; |
e0e46bce806e
[svn] - mainwinEQButtonX, mainwinEQButtonY, mainwinPLButtonX, mainwinPLButtonY, mainwinAboutX,
nenolod
parents:
1792
diff
changeset
|
144 gint mainwin_plbutton_y; |
e0e46bce806e
[svn] - mainwinEQButtonX, mainwinEQButtonY, mainwinPLButtonX, mainwinPLButtonY, mainwinAboutX,
nenolod
parents:
1792
diff
changeset
|
145 |
e0e46bce806e
[svn] - mainwinEQButtonX, mainwinEQButtonY, mainwinPLButtonX, mainwinPLButtonY, mainwinAboutX,
nenolod
parents:
1792
diff
changeset
|
146 gint mainwin_shuffle_x; |
e0e46bce806e
[svn] - mainwinEQButtonX, mainwinEQButtonY, mainwinPLButtonX, mainwinPLButtonY, mainwinAboutX,
nenolod
parents:
1792
diff
changeset
|
147 gint mainwin_shuffle_y; |
e0e46bce806e
[svn] - mainwinEQButtonX, mainwinEQButtonY, mainwinPLButtonX, mainwinPLButtonY, mainwinAboutX,
nenolod
parents:
1792
diff
changeset
|
148 |
e0e46bce806e
[svn] - mainwinEQButtonX, mainwinEQButtonY, mainwinPLButtonX, mainwinPLButtonY, mainwinAboutX,
nenolod
parents:
1792
diff
changeset
|
149 gint mainwin_repeat_x; |
e0e46bce806e
[svn] - mainwinEQButtonX, mainwinEQButtonY, mainwinPLButtonX, mainwinPLButtonY, mainwinAboutX,
nenolod
parents:
1792
diff
changeset
|
150 gint mainwin_repeat_y; |
e0e46bce806e
[svn] - mainwinEQButtonX, mainwinEQButtonY, mainwinPLButtonX, mainwinPLButtonY, mainwinAboutX,
nenolod
parents:
1792
diff
changeset
|
151 |
e0e46bce806e
[svn] - mainwinEQButtonX, mainwinEQButtonY, mainwinPLButtonX, mainwinPLButtonY, mainwinAboutX,
nenolod
parents:
1792
diff
changeset
|
152 gint mainwin_about_x; |
e0e46bce806e
[svn] - mainwinEQButtonX, mainwinEQButtonY, mainwinPLButtonX, mainwinPLButtonY, mainwinAboutX,
nenolod
parents:
1792
diff
changeset
|
153 gint mainwin_about_y; |
e0e46bce806e
[svn] - mainwinEQButtonX, mainwinEQButtonY, mainwinPLButtonX, mainwinPLButtonY, mainwinAboutX,
nenolod
parents:
1792
diff
changeset
|
154 |
1857
2ed05cc57194
[svn] - add mainwinMinimizeX, mainwinMinimizeY, mainwinShadeX, mainwinShadeY, mainwinCloseX, mainwinCloseY
nenolod
parents:
1836
diff
changeset
|
155 gint mainwin_minimize_x; |
2ed05cc57194
[svn] - add mainwinMinimizeX, mainwinMinimizeY, mainwinShadeX, mainwinShadeY, mainwinCloseX, mainwinCloseY
nenolod
parents:
1836
diff
changeset
|
156 gint mainwin_minimize_y; |
2ed05cc57194
[svn] - add mainwinMinimizeX, mainwinMinimizeY, mainwinShadeX, mainwinShadeY, mainwinCloseX, mainwinCloseY
nenolod
parents:
1836
diff
changeset
|
157 |
2ed05cc57194
[svn] - add mainwinMinimizeX, mainwinMinimizeY, mainwinShadeX, mainwinShadeY, mainwinCloseX, mainwinCloseY
nenolod
parents:
1836
diff
changeset
|
158 gint mainwin_shade_x; |
2ed05cc57194
[svn] - add mainwinMinimizeX, mainwinMinimizeY, mainwinShadeX, mainwinShadeY, mainwinCloseX, mainwinCloseY
nenolod
parents:
1836
diff
changeset
|
159 gint mainwin_shade_y; |
2ed05cc57194
[svn] - add mainwinMinimizeX, mainwinMinimizeY, mainwinShadeX, mainwinShadeY, mainwinCloseX, mainwinCloseY
nenolod
parents:
1836
diff
changeset
|
160 |
2ed05cc57194
[svn] - add mainwinMinimizeX, mainwinMinimizeY, mainwinShadeX, mainwinShadeY, mainwinCloseX, mainwinCloseY
nenolod
parents:
1836
diff
changeset
|
161 gint mainwin_close_x; |
2ed05cc57194
[svn] - add mainwinMinimizeX, mainwinMinimizeY, mainwinShadeX, mainwinShadeY, mainwinCloseX, mainwinCloseY
nenolod
parents:
1836
diff
changeset
|
162 gint mainwin_close_y; |
2ed05cc57194
[svn] - add mainwinMinimizeX, mainwinMinimizeY, mainwinShadeX, mainwinShadeY, mainwinCloseX, mainwinCloseY
nenolod
parents:
1836
diff
changeset
|
163 |
1804
e0e46bce806e
[svn] - mainwinEQButtonX, mainwinEQButtonY, mainwinPLButtonX, mainwinPLButtonY, mainwinAboutX,
nenolod
parents:
1792
diff
changeset
|
164 gint mainwin_width; |
e0e46bce806e
[svn] - mainwinEQButtonX, mainwinEQButtonY, mainwinPLButtonX, mainwinPLButtonY, mainwinAboutX,
nenolod
parents:
1792
diff
changeset
|
165 gint mainwin_height; |
e0e46bce806e
[svn] - mainwinEQButtonX, mainwinEQButtonY, mainwinPLButtonX, mainwinPLButtonY, mainwinAboutX,
nenolod
parents:
1792
diff
changeset
|
166 |
1784 | 167 gboolean mainwin_menurow_visible; |
1836
a1089ea6f436
[svn] - implement textboxBitmapFontWidth and textboxBitmapFontHeight for defining the size of a cell in the textbox character grid
nenolod
parents:
1804
diff
changeset
|
168 gboolean mainwin_othertext_is_status; |
1788
80b6282a31ae
[svn] - implement mainwinOthertextIsStatus property.
nenolod
parents:
1786
diff
changeset
|
169 |
1836
a1089ea6f436
[svn] - implement textboxBitmapFontWidth and textboxBitmapFontHeight for defining the size of a cell in the textbox character grid
nenolod
parents:
1804
diff
changeset
|
170 gint textbox_bitmap_font_width; |
a1089ea6f436
[svn] - implement textboxBitmapFontWidth and textboxBitmapFontHeight for defining the size of a cell in the textbox character grid
nenolod
parents:
1804
diff
changeset
|
171 gint textbox_bitmap_font_height; |
1653 | 172 } SkinProperties; |
173 | |
174 #define SKIN_PIXMAP(x) ((SkinPixmap *)(x)) | |
175 typedef struct _SkinPixmap { | |
176 GdkPixmap *pixmap; | |
177 /* GdkPixmap *def_pixmap; */ | |
178 | |
179 /* The real size of the pixmap */ | |
180 gint width, height; | |
181 | |
182 /* The size of the pixmap from the current skin, | |
183 which might be smaller */ | |
184 gint current_width, current_height; | |
185 } SkinPixmap; | |
186 | |
187 | |
188 #define SKIN(x) ((Skin *)(x)) | |
189 typedef struct _Skin { | |
190 GMutex *lock; | |
191 gchar *path; | |
192 gchar *def_path; | |
193 SkinPixmap pixmaps[SKIN_PIXMAP_COUNT]; | |
194 GdkColor textbg[6], def_textbg[6]; | |
195 GdkColor textfg[6], def_textfg[6]; | |
196 GdkColor *colors[SKIN_COLOR_COUNT]; | |
197 guchar vis_color[24][3]; | |
198 GdkBitmap *masks[SKIN_MASK_COUNT]; | |
1938 | 199 GdkBitmap *ds_masks[SKIN_MASK_COUNT]; |
1653 | 200 SkinProperties properties; |
201 } Skin; | |
202 | |
203 extern Skin *bmp_active_skin; | |
204 | |
205 gboolean init_skins(const gchar * path); | |
206 void cleanup_skins(void); | |
207 | |
208 gboolean bmp_active_skin_load(const gchar * path); | |
209 gboolean bmp_active_skin_reload(void); | |
210 | |
211 Skin *skin_new(void); | |
212 gboolean skin_load(Skin * skin, const gchar * path); | |
213 void skin_reload(Skin * skin); | |
214 void skin_free(Skin * skin); | |
215 | |
216 GdkBitmap *skin_get_mask(Skin * skin, SkinMaskId mi); | |
217 GdkColor *skin_get_color(Skin * skin, SkinColorId color_id); | |
218 | |
219 void skin_get_viscolor(Skin * skin, guchar vis_color[24][3]); | |
220 gint skin_get_id(void); | |
221 void skin_draw_pixmap(Skin * skin, GdkDrawable * drawable, GdkGC * gc, | |
222 SkinPixmapId pixmap_id, | |
223 gint xsrc, gint ysrc, gint xdest, gint ydest, | |
224 gint width, gint height); | |
225 void skin_get_eq_spline_colors(Skin * skin, guint32 colors[19]); | |
226 void skin_install_skin(const gchar * path); | |
227 | |
228 void skin_draw_playlistwin_shaded(Skin * skin, | |
229 GdkDrawable * drawable, GdkGC * gc, | |
230 gint width, gboolean focus); | |
231 void skin_draw_playlistwin_frame(Skin * skin, | |
232 GdkDrawable * drawable, GdkGC * gc, | |
233 gint width, gint height, gboolean focus); | |
234 | |
235 void skin_draw_mainwin_titlebar(Skin * skin, | |
236 GdkDrawable * drawable, GdkGC * gc, | |
237 gboolean shaded, gboolean focus); | |
238 | |
239 | |
240 void skin_parse_hints(Skin * skin, gchar *path_p); | |
241 | |
242 | |
243 gboolean | |
244 skin_reload_forced(void); | |
245 | |
246 #endif |