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/lineedit.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugingui/lineedit.h') diff --git a/plugingui/lineedit.h b/plugingui/lineedit.h index 76babcc..dd37776 100644 --- a/plugingui/lineedit.h +++ b/plugingui/lineedit.h @@ -62,7 +62,7 @@ protected: virtual void textChanged() {} private: - TexturedBox box{getImageCache(), ":widget.png", + TexturedBox box{getImageCache(), ":resources/widget.png", 0, 0, // atlas offset (x, y) 7, 1, 7, // dx1, dx2, dx3 7, 63, 7}; // dy1, dy2, dy3 -- cgit v1.2.3