summaryrefslogtreecommitdiff
path: root/displayreplay.c
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2013-03-23 11:33:17 +0100
committerlouis <louis.braun@gmx.de>2013-03-23 11:33:17 +0100
commit94993ef4504c38bbbe1b1c1f86fa84da0bf4a6eb (patch)
tree5312504834bd47ef92facafcb4bbdb3ad1476baf /displayreplay.c
parentada0df60684c8d92fa3532531e4175c6955b03ff (diff)
downloadskin-nopacity-94993ef4504c38bbbe1b1c1f86fa84da0bf4a6eb.tar.gz
skin-nopacity-94993ef4504c38bbbe1b1c1f86fa84da0bf4a6eb.tar.bz2
Restructured icons directory
Diffstat (limited to 'displayreplay.c')
-rw-r--r--displayreplay.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/displayreplay.c b/displayreplay.c
index d200d5d..eea5ce4 100644
--- a/displayreplay.c
+++ b/displayreplay.c
@@ -159,16 +159,16 @@ void cNopacityDisplayReplay::LoadControlIcons(void) {
pixmapFwd->Fill(clrTransparent);
cImageLoader imgLoader;
- if (imgLoader.LoadIcon("rewInactive", iconSize)) {
+ if (imgLoader.LoadIcon("skinItems/rewInactive", iconSize)) {
pixmapRew->DrawImage(cPoint(0,0), imgLoader.GetImage());
}
- if (imgLoader.LoadIcon("pauseInactive", iconSize)) {
+ if (imgLoader.LoadIcon("skinItems/pauseInactive", iconSize)) {
pixmapPause->DrawImage(cPoint(0,0), imgLoader.GetImage());
}
- if (imgLoader.LoadIcon("playInactive", iconSize)) {
+ if (imgLoader.LoadIcon("skinItems/playInactive", iconSize)) {
pixmapPlay->DrawImage(cPoint(0,0), imgLoader.GetImage());
}
- if (imgLoader.LoadIcon("fwdInactive", iconSize)) {
+ if (imgLoader.LoadIcon("skinItems/fwdInactive", iconSize)) {
pixmapFwd->DrawImage(cPoint(0,0), imgLoader.GetImage());
}
}
@@ -196,19 +196,19 @@ void cNopacityDisplayReplay::DrawScreenResolution(void) {
switch (screenWidth) {
case 1920:
case 1440:
- iconName = "hd1080i";
+ iconName = "skinItems/hd1080i";
break;
case 1280:
if (screenHeight == 720)
- iconName = "hd720p";
+ iconName = "skinItems/hd720p";
else
- iconName = "hd1080i";
+ iconName = "skinItems/hd1080i";
break;
case 720:
- iconName = "sd576i";
+ iconName = "skinItems/sd576i";
break;
default:
- iconName = "sd576i";
+ iconName = "skinItems/sd576i";
break;
}
cImageLoader imgLoader;
@@ -244,17 +244,17 @@ void cNopacityDisplayReplay::SetMode(bool Play, bool Forward, int Speed) {
cImageLoader imgLoader;
if (!Play) {
pixmapPause->Fill(clrTransparent);
- if (imgLoader.LoadIcon("pause", iconSize)) {
+ if (imgLoader.LoadIcon("skinItems/pause", iconSize)) {
pixmapPause->DrawImage(cPoint(0,0), imgLoader.GetImage());
}
} else if (Play && (Speed < 0)) {
pixmapPlay->Fill(clrTransparent);
- if (imgLoader.LoadIcon("play", iconSize)) {
+ if (imgLoader.LoadIcon("skinItems/play", iconSize)) {
pixmapPlay->DrawImage(cPoint(0,0), imgLoader.GetImage());
}
} else if (Play && Forward) {
pixmapFwd->Fill(clrTransparent);
- if (imgLoader.LoadIcon("fwd", iconSize)) {
+ if (imgLoader.LoadIcon("skinItems/fwd", iconSize)) {
pixmapFwd->DrawImage(cPoint(0,0), imgLoader.GetImage());
}
if (Speed > 0) {
@@ -264,7 +264,7 @@ void cNopacityDisplayReplay::SetMode(bool Play, bool Forward, int Speed) {
}
} else if (Play && !Forward) {
pixmapRew->Fill(clrTransparent);
- if (imgLoader.LoadIcon("rew", iconSize)) {
+ if (imgLoader.LoadIcon("skinItems/rew", iconSize)) {
pixmapRew->DrawImage(cPoint(0,0), imgLoader.GetImage());
}
if (Speed > 0) {