summaryrefslogtreecommitdiff
path: root/Widgets/Font.h
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2018-10-11 23:54:34 +0200
committerAndreas Kling <awesomekling@gmail.com>2018-10-11 23:59:39 +0200
commitbd6172e3c77695f5662b847775424723f71f6a18 (patch)
treed29f8abac4b60badbccd91c93f36d94cd0faf00f /Widgets/Font.h
parent110d01941af8bd787f6dec3417c620b5e509aae8 (diff)
downloadserenity-bd6172e3c77695f5662b847775424723f71f6a18.zip
Use Font in more places.
Diffstat (limited to 'Widgets/Font.h')
-rw-r--r--Widgets/Font.h10
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 };