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/tabwidget.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugingui/tabwidget.h') 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 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 }; -- cgit v1.2.3