summaryrefslogtreecommitdiff
path: root/plugingui/progressbar.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2017-04-20 20:16:48 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2017-04-20 20:16:48 +0200
commitc73f9e2632f9614bba748aed857e2a648126a963 (patch)
tree151bffe31dede7b17335004bad8014b3bb5b7837 /plugingui/progressbar.h
parent815d4eeae5a10bb1dbdd9e8810523644dfbadc5f (diff)
Change resource paths to be relative to the plugingui folder instead of the resources folder. Make rcgen run atomatically to re-generate resource_data.cc if one of the resource files changes.
Diffstat (limited to 'plugingui/progressbar.h')
-rw-r--r--plugingui/progressbar.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugingui/progressbar.h b/plugingui/progressbar.h
index bc8b82e..76cc6fd 100644
--- a/plugingui/progressbar.h
+++ b/plugingui/progressbar.h
@@ -62,22 +62,22 @@ protected:
private:
ProgressBarState state{ProgressBarState::Blue};
- TexturedBox bar_bg{getImageCache(), ":progress.png",
+ TexturedBox bar_bg{getImageCache(), ":resources/progress.png",
0, 0, // atlas offset (x, y)
6, 1, 6, // dx1, dx2, dx3
11, 0, 0}; // dy1, dy2, dy3
- TexturedBox bar_red{getImageCache(), ":progress.png",
+ TexturedBox bar_red{getImageCache(), ":resources/progress.png",
13, 0, // atlas offset (x, y)
2, 1, 2, // dx1, dx2, dx3
11, 0, 0}; // dy1, dy2, dy3
- TexturedBox bar_green{getImageCache(), ":progress.png",
+ TexturedBox bar_green{getImageCache(), ":resources/progress.png",
18, 0, // atlas offset (x, y)
2, 1, 2, // dx1, dx2, dx3
11, 0, 0}; // dy1, dy2, dy3
- TexturedBox bar_blue{getImageCache(), ":progress.png",
+ TexturedBox bar_blue{getImageCache(), ":resources/progress.png",
23, 0, // atlas offset (x, y)
2, 1, 2, // dx1, dx2, dx3
11, 0, 0}; // dy1, dy2, dy3