summaryrefslogtreecommitdiff
path: root/plugingui/mainwindow.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/mainwindow.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/mainwindow.h')
-rw-r--r--plugingui/mainwindow.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/plugingui/mainwindow.h b/plugingui/mainwindow.h
index 9a9359c..cd2eb1f 100644
--- a/plugingui/mainwindow.h
+++ b/plugingui/mainwindow.h
@@ -72,24 +72,24 @@ private:
MainTab main_tab;
TextEdit about_text_field{&tabs};
- Image back{":bg.png"};
- Image logo{":logo.png"};
+ Image back{":resources/bg.png"};
+ Image logo{":resources/logo.png"};
- TexturedBox sidebar{getImageCache(), ":sidebar.png",
+ TexturedBox sidebar{getImageCache(), ":resources/sidebar.png",
0, 0, // offset
16, 0, 0, // delta-x
14, 1, 14}; // delta-y
- 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
bool closing{false};
- Resource about{":../../ABOUT"};
- Resource authors{":../../AUTHORS"};
- Resource gpl{":../../COPYING"};
+ Resource about{":../ABOUT"};
+ Resource authors{":../AUTHORS"};
+ Resource gpl{":../COPYING"};
Font font;
};