diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2017-04-20 20:16:48 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2017-04-20 20:16:48 +0200 |
commit | c73f9e2632f9614bba748aed857e2a648126a963 (patch) | |
tree | 151bffe31dede7b17335004bad8014b3bb5b7837 /plugingui/button.h | |
parent | 815d4eeae5a10bb1dbdd9e8810523644dfbadc5f (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/button.h')
-rw-r--r-- | plugingui/button.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugingui/button.h b/plugingui/button.h index f6bb83c..52f22e2 100644 --- a/plugingui/button.h +++ b/plugingui/button.h @@ -43,22 +43,22 @@ protected: virtual void repaintEvent(RepaintEvent* e) override; private: - TexturedBox box_up{getImageCache(), ":pushbutton.png", + TexturedBox box_up{getImageCache(), ":resources/pushbutton.png", 0, 0, // atlas offset (x, y) 7, 1, 7, // dx1, dx2, dx3 6, 12, 9}; // dy1, dy2, dy3 - TexturedBox box_down{getImageCache(), ":pushbutton.png", + TexturedBox box_down{getImageCache(), ":resources/pushbutton.png", 15, 0, // atlas offset (x, y) 7, 1, 7, // dx1, dx2, dx3 6, 12, 9}; // dy1, dy2, dy3 - TexturedBox box_grey{getImageCache(), ":pushbutton.png", + TexturedBox box_grey{getImageCache(), ":resources/pushbutton.png", 30, 0, // atlas offset (x, y) 7, 1, 7, // dx1, dx2, dx3 6, 12, 9}; // dy1, dy2, dy3 - Font font{":fontemboss.png"}; + Font font{":resources/fontemboss.png"}; }; } // GUI:: |