1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 18:47:34 +00:00

FontEditor: Convert to east const

This commit is contained in:
thankyouverycool 2021-11-29 12:06:10 -05:00 committed by Andreas Kling
parent de77e28360
commit ca062d83db
8 changed files with 19 additions and 19 deletions

View file

@ -44,7 +44,7 @@ public:
int preferred_height() const;
Gfx::BitmapFont& font() { return *m_font; }
const Gfx::BitmapFont& font() const { return *m_font; }
Gfx::BitmapFont const& font() const { return *m_font; }
int scale() const { return m_scale; }
void set_scale(int scale);
@ -63,8 +63,8 @@ private:
virtual void mouseup_event(GUI::MouseEvent&) override;
virtual void enter_event(Core::Event&) override;
void draw_at_mouse(const GUI::MouseEvent&);
void move_at_mouse(const GUI::MouseEvent&);
void draw_at_mouse(GUI::MouseEvent const&);
void move_at_mouse(GUI::MouseEvent const&);
RefPtr<Gfx::BitmapFont> m_font;
int m_glyph { 0 };