summaryrefslogtreecommitdiff
path: root/plugingui/textedit.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2017-04-20 20:16:48 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2017-04-20 20:16:48 +0200
commitc73f9e2632f9614bba748aed857e2a648126a963 (patch)
tree151bffe31dede7b17335004bad8014b3bb5b7837 /plugingui/textedit.h
parent815d4eeae5a10bb1dbdd9e8810523644dfbadc5f (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/textedit.h')
-rw-r--r--plugingui/textedit.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugingui/textedit.h b/plugingui/textedit.h
index 9ca0301..81e00b8 100644
--- a/plugingui/textedit.h
+++ b/plugingui/textedit.h
@@ -65,7 +65,7 @@ protected:
private:
void scrolled(int value);
- 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