summaryrefslogtreecommitdiff
path: root/plugingui/tabwidget.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/tabwidget.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/tabwidget.h')
-rw-r--r--plugingui/tabwidget.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugingui/tabwidget.h b/plugingui/tabwidget.h
index d35550f..ca96dc2 100644
--- a/plugingui/tabwidget.h
+++ b/plugingui/tabwidget.h
@@ -58,12 +58,12 @@ private:
std::list<TabButton> buttons;
StackedWidget stack;
- TexturedBox topbar{getImageCache(), ":topbar.png",
+ TexturedBox topbar{getImageCache(), ":resources/topbar.png",
0, 0, // atlas offset (x, y)
1, 1, 1, // dx1, dx2, dx3
17, 1, 1}; // dy1, dy2, dy3
- Texture toplogo{getImageCache(), ":toplogo.png",
+ Texture toplogo{getImageCache(), ":resources/toplogo.png",
0, 0, // atlas offset (x, y)
95, 17}; // width, height
};