From 3d1591a822d24f6c66e032c44e78c7016a92aab2 Mon Sep 17 00:00:00 2001 From: thankyouverycool <66646555+thankyouverycool@users.noreply.github.com> Date: Thu, 17 Mar 2022 07:50:30 -0400 Subject: [PATCH] LibGfx: Add accessors for BitmapFont's rows and widths --- Userland/Libraries/LibGfx/BitmapFont.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Userland/Libraries/LibGfx/BitmapFont.h b/Userland/Libraries/LibGfx/BitmapFont.h index b4db8142df..a38f361214 100644 --- a/Userland/Libraries/LibGfx/BitmapFont.h +++ b/Userland/Libraries/LibGfx/BitmapFont.h @@ -31,6 +31,9 @@ public: ~BitmapFont(); + u8* rows() { return m_rows; } + u8* widths() { return m_glyph_widths; } + u8 presentation_size() const override { return m_presentation_size; } void set_presentation_size(u8 size) { m_presentation_size = size; }