1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 15:27:35 +00:00

LibGUI: Remove some hand-rolled type information from Widget

This commit is contained in:
Andreas Kling 2021-01-01 15:56:35 +01:00
parent 167906d02b
commit 32fd59b471
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;