mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 04:27:45 +00:00
FontEditor: Hide Widget::set_font() in GlyphEditorWidget
We were already doing the same for its getters, and this makes its API more consistent with GlyphMapWidget.
This commit is contained in:
parent
bae36a7264
commit
dcf6454059
3 changed files with 3 additions and 4 deletions
|
@ -28,8 +28,6 @@ public:
|
|||
|
||||
virtual ~GlyphEditorWidget() override = default;
|
||||
|
||||
void initialize(Gfx::BitmapFont&);
|
||||
|
||||
int glyph() const { return m_glyph; }
|
||||
void set_glyph(int);
|
||||
bool is_glyph_empty();
|
||||
|
@ -43,6 +41,7 @@ public:
|
|||
|
||||
Gfx::BitmapFont& font() { return *m_font; }
|
||||
Gfx::BitmapFont const& font() const { return *m_font; }
|
||||
void set_font(Gfx::BitmapFont&);
|
||||
|
||||
int scale() const { return m_scale; }
|
||||
void set_scale(int scale);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue