diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2017-04-20 20:16:48 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2017-04-20 20:16:48 +0200 |
commit | c73f9e2632f9614bba748aed857e2a648126a963 (patch) | |
tree | 151bffe31dede7b17335004bad8014b3bb5b7837 /plugingui/font.h | |
parent | 815d4eeae5a10bb1dbdd9e8810523644dfbadc5f (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/font.h')
-rw-r--r-- | plugingui/font.h | 2 |
1 files changed, 1 insertions, 1 deletions
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; |