FontEditor: Remove reprobe_font()
This was used to update GlyphMapWidget on Type changes and is
no longer needed since removal of Type enumeration in bb592ae
.
This commit is contained in:
parent
144d32d537
commit
e8f3fda3cf
Notes:
sideshowbarker
2024-07-18 03:33:36 +09:00
Author: https://github.com/thankyouverycool Commit: https://github.com/SerenityOS/serenity/commit/e8f3fda3cfe Pull-request: https://github.com/SerenityOS/serenity/pull/10175
2 changed files with 0 additions and 9 deletions
|
@ -72,14 +72,6 @@ void GlyphMapWidget::update_glyph(int glyph)
|
|||
update(get_outer_rect(glyph));
|
||||
}
|
||||
|
||||
void GlyphMapWidget::reprobe_font()
|
||||
{
|
||||
VERIFY(m_font);
|
||||
m_glyph_count = m_font->glyph_count();
|
||||
m_selected_glyph = 0;
|
||||
update();
|
||||
}
|
||||
|
||||
void GlyphMapWidget::paint_event(GUI::PaintEvent& event)
|
||||
{
|
||||
GUI::Frame::paint_event(event);
|
||||
|
|
|
@ -27,7 +27,6 @@ public:
|
|||
const Gfx::BitmapFont& font() const { return *m_font; }
|
||||
|
||||
void update_glyph(int);
|
||||
void reprobe_font();
|
||||
|
||||
Function<void(int)> on_glyph_selected;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue