diff options
author | Andreas Kling <awesomekling@gmail.com> | 2018-10-11 23:54:34 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2018-10-11 23:59:39 +0200 |
commit | bd6172e3c77695f5662b847775424723f71f6a18 (patch) | |
tree | d29f8abac4b60badbccd91c93f36d94cd0faf00f /Widgets/Font.h | |
parent | 110d01941af8bd787f6dec3417c620b5e509aae8 (diff) | |
download | serenity-bd6172e3c77695f5662b847775424723f71f6a18.zip |
Use Font in more places.
Diffstat (limited to 'Widgets/Font.h')
-rw-r--r-- | Widgets/Font.h | 10 |
1 files changed, 5 insertions, 5 deletions
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 }; |