1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 14:17:36 +00:00

LibCore+LibGUI: Remove leftover gunk after Inspector removal

Just some functions in Core::Object and GUI::Widget that aren't called
from anywhere anymore.
This commit is contained in:
Andreas Kling 2023-08-06 16:11:09 +02:00
parent 26647f2b10
commit 887dfd72b9
4 changed files with 0 additions and 43 deletions

View file

@ -415,11 +415,6 @@ void Widget::handle_paint_event(PaintEvent& event)
Painter painter(*this);
painter.draw_rect(rect(), Color::Red);
}
if (is_being_inspected()) {
Painter painter(*this);
painter.draw_rect(rect(), Color::Magenta);
}
}
void Widget::set_layout(NonnullRefPtr<Layout> layout)
@ -1089,16 +1084,6 @@ Gfx::Palette Widget::palette() const
return Gfx::Palette(*m_palette);
}
void Widget::did_begin_inspection()
{
update();
}
void Widget::did_end_inspection()
{
update();
}
void Widget::set_grabbable_margins(Margins const& margins)
{
if (m_grabbable_margins == margins)

View file

@ -404,9 +404,6 @@ protected:
virtual void screen_rects_change_event(ScreenRectsChangeEvent&);
virtual void applet_area_rect_change_event(AppletAreaRectChangeEvent&);
virtual void did_begin_inspection() override;
virtual void did_end_inspection() override;
void show_or_hide_tooltip();
void add_focus_delegator(Widget*);