From bd6172e3c77695f5662b847775424723f71f6a18 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Thu, 11 Oct 2018 23:54:34 +0200 Subject: Use Font in more places. --- Widgets/Font.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'Widgets/Font.h') diff --git a/Widgets/Font.h b/Widgets/Font.h index 1c53e4d449..7429b3f021 100644 --- a/Widgets/Font.h +++ b/Widgets/Font.h @@ -11,16 +11,16 @@ public: const char* glyph(char) const; - unsigned glyphWidth() const { return m_glyphWidth; } - unsigned glyphHeight() const { return m_glyphHeight; } + byte glyphWidth() const { return m_glyphWidth; } + byte glyphHeight() const { return m_glyphHeight; } private: - Font(const char* const* glyphs, unsigned glyphWidth, unsigned glyphHeight, byte firstGlyph, byte lastGlyph); + Font(const char* const* glyphs, byte glyphWidth, byte glyphHeight, byte firstGlyph, byte lastGlyph); const char* const* m_glyphs { nullptr }; - unsigned m_glyphWidth { 0 }; - unsigned m_glyphHeight { 0 }; + byte m_glyphWidth { 0 }; + byte m_glyphHeight { 0 }; byte m_firstGlyph { 0 }; byte m_lastGlyph { 0 }; -- cgit v1.2.3