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/font.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugingui/font.h') diff --git a/plugingui/font.h b/plugingui/font.h index 84e1f63..2e3f87a 100644 --- a/plugingui/font.h +++ b/plugingui/font.h @@ -36,7 +36,7 @@ namespace GUI { class Font { public: - Font(const std::string& fontfile = ":font.png"); + Font(const std::string& fontfile = ":resources/font.png"); size_t textWidth(const std::string& text) const; size_t textHeight(const std::string& text = "") const; -- cgit v1.2.3