comparison src/audacious/ui_skinned_playlist_slider.c @ 4413:de33c83aa06f

Huge renaming patch, changing BMP references to Audacious.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 31 Mar 2008 06:47:48 +0300
parents 47352b34dbdf
children 246244ead30e
comparison
equal deleted inserted replaced
4412:180996fcf12a 4413:de33c83aa06f
236 if (y < 0) y=0; 236 if (y < 0) y=0;
237 if (y > priv->height - 19) y = priv->height - 19; 237 if (y > priv->height - 19) y = priv->height - 19;
238 238
239 priv->prev_y = y; 239 priv->prev_y = y;
240 240
241 /* FIXME: uses bmp_active_skin->pixmaps directly and may need calibration */ 241 /* FIXME: uses aud_active_skin->pixmaps directly and may need calibration */
242 /* drawing background */ 242 /* drawing background */
243 gint c; 243 gint c;
244 for (c = 0; c < priv->height / 29; c++) { 244 for (c = 0; c < priv->height / 29; c++) {
245 gdk_pixbuf_copy_area(bmp_active_skin->pixmaps[SKIN_PLEDIT].pixbuf, 245 gdk_pixbuf_copy_area(aud_active_skin->pixmaps[SKIN_PLEDIT].pixbuf,
246 36, 42, priv->width, 29, obj, 0, c*29); 246 36, 42, priv->width, 29, obj, 0, c*29);
247 } 247 }
248 248
249 /* drawing knob */ 249 /* drawing knob */
250 skin_draw_pixbuf(widget, bmp_active_skin, obj, priv->skin_index, ps->pressed ? 61 : 52, 53, 0, y, priv->width, 18); 250 skin_draw_pixbuf(widget, aud_active_skin, obj, priv->skin_index, ps->pressed ? 61 : 52, 53, 0, y, priv->width, 18);
251 251
252 ui_skinned_widget_draw(widget, obj, priv->width, priv->height, FALSE); 252 ui_skinned_widget_draw(widget, obj, priv->width, priv->height, FALSE);
253 253
254 g_object_unref(obj); 254 g_object_unref(obj);
255 255