From c73f9e2632f9614bba748aed857e2a648126a963 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Thu, 20 Apr 2017 20:16:48 +0200 Subject: 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. --- plugingui/tabbutton.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugingui/tabbutton.h') 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:: -- cgit v1.2.3