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/tabbutton.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/tabbutton.h')
-rw-r--r-- | plugingui/tabbutton.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugingui/tabbutton.h b/plugingui/tabbutton.h index a248335..1c4d84b 100644 --- a/plugingui/tabbutton.h +++ b/plugingui/tabbutton.h @@ -59,17 +59,17 @@ private: Widget* tab_widget; bool active{false}; - TexturedBox tab_active{getImageCache(), ":tab.png", + TexturedBox tab_active{getImageCache(), ":resources/tab.png", 0, 0, // atlas offset (x, y) 5, 1, 5, // dx1, dx2, dx3 5, 13, 1}; // dy1, dy2, dy3 - TexturedBox tab_passive{getImageCache(), ":tab.png", + TexturedBox tab_passive{getImageCache(), ":resources/tab.png", 11, 0, // atlas offset (x, y) 5, 1, 5, // dx1, dx2, dx3 5, 13, 1}; // dy1, dy2, dy3 - Font font{":fontemboss.png"}; + Font font{":resources/fontemboss.png"}; }; } // GUI:: |