Mercurial > audlegacy
comparison src/audacious/skin.c @ 3895:266c09408c07
some skins have lesser SKIN_PLAYPAUSE
author | Tomasz Mon <desowin@gmail.com> |
---|---|
date | Fri, 02 Nov 2007 19:33:30 +0100 |
parents | 184136832520 |
children | a318d4b479d2 |
comparison
equal
deleted
inserted
replaced
3894:bd11d516f367 | 3895:266c09408c07 |
---|---|
47 #include "platform/smartinclude.h" | 47 #include "platform/smartinclude.h" |
48 #include "vfs.h" | 48 #include "vfs.h" |
49 | 49 |
50 #include "ui_skinned_window.h" | 50 #include "ui_skinned_window.h" |
51 #include "ui_skinned_number.h" | 51 #include "ui_skinned_number.h" |
52 #include "ui_skinned_playstatus.h" | |
52 | 53 |
53 #define EXTENSION_TARGETS 7 | 54 #define EXTENSION_TARGETS 7 |
54 | 55 |
55 static gchar *ext_targets[EXTENSION_TARGETS] = | 56 static gchar *ext_targets[EXTENSION_TARGETS] = |
56 { "bmp", "xpm", "png", "svg", "gif", "jpg", "jpeg" }; | 57 { "bmp", "xpm", "png", "svg", "gif", "jpg", "jpeg" }; |
1617 | 1618 |
1618 pixmap = skin_get_pixmap(skin, SKIN_MAIN); | 1619 pixmap = skin_get_pixmap(skin, SKIN_MAIN); |
1619 if (pixmap && skin->properties.mainwin_height > pixmap->height) | 1620 if (pixmap && skin->properties.mainwin_height > pixmap->height) |
1620 skin->properties.mainwin_height = pixmap->height; | 1621 skin->properties.mainwin_height = pixmap->height; |
1621 | 1622 |
1623 pixmap = skin_get_pixmap(skin, SKIN_PLAYPAUSE); | |
1624 if (pixmap) | |
1625 ui_skinned_playstatus_set_size(mainwin_playstatus, 11, pixmap->height); | |
1626 | |
1622 return error; | 1627 return error; |
1623 } | 1628 } |
1624 | 1629 |
1625 gboolean | 1630 gboolean |
1626 skin_reload_forced(void) | 1631 skin_reload_forced(void) |