LibGUI: Remove some hand-rolled type information from Widget

This commit is contained in:
Andreas Kling 2021-01-01 15:56:35 +01:00
commit 32fd59b471
Notes: sideshowbarker 2024-07-19 00:16:13 +09:00
3 changed files with 0 additions and 7 deletions

View file

@ -73,8 +73,6 @@ protected:
void paint_text(Painter&, const Gfx::IntRect&, const Gfx::Font&, Gfx::TextAlignment);
private:
virtual bool is_abstract_button() const final { return true; }
String m_text;
bool m_checked { false };
bool m_checkable { false };

View file

@ -47,8 +47,6 @@ private:
using AbstractButton::auto_repeat_interval;
using AbstractButton::set_auto_repeat_interval;
virtual bool is_radio_button() const final { return true; }
static Gfx::IntSize circle_size();
};

View file

@ -282,9 +282,6 @@ public:
Vector<Widget*> child_widgets() const;
virtual bool is_radio_button() const { return false; }
virtual bool is_abstract_button() const { return false; }
void do_layout();
Gfx::Palette palette() const;