mirror of
https://github.com/RGBCube/serenity
synced 2025-07-24 22:07:34 +00:00
WindowServer: Remove unused WindowManager::draw_window_switcher()
This commit is contained in:
parent
0f00e9a1c7
commit
cfa6e44131
3 changed files with 1 additions and 10 deletions
|
@ -942,12 +942,6 @@ Gfx::Rect WindowManager::menubar_rect() const
|
|||
return MenuManager::the().menubar_rect();
|
||||
}
|
||||
|
||||
void WindowManager::draw_window_switcher()
|
||||
{
|
||||
if (m_switcher.is_visible())
|
||||
m_switcher.draw();
|
||||
}
|
||||
|
||||
void WindowManager::event(Core::Event& event)
|
||||
{
|
||||
if (static_cast<Event&>(event).is_mouse_event()) {
|
||||
|
|
|
@ -118,8 +118,6 @@ public:
|
|||
|
||||
void move_to_front_and_make_active(Window&);
|
||||
|
||||
void draw_window_switcher();
|
||||
|
||||
Gfx::Rect menubar_rect() const;
|
||||
|
||||
const Cursor& active_cursor() const;
|
||||
|
|
|
@ -59,8 +59,6 @@ public:
|
|||
void refresh();
|
||||
void refresh_if_needed();
|
||||
|
||||
void draw();
|
||||
|
||||
int thumbnail_width() const { return 40; }
|
||||
int thumbnail_height() const { return 40; }
|
||||
|
||||
|
@ -75,6 +73,7 @@ public:
|
|||
Window* switcher_window() { return m_switcher_window.ptr(); }
|
||||
|
||||
private:
|
||||
void draw();
|
||||
void redraw();
|
||||
void select_window_at_index(int index);
|
||||
Gfx::Rect item_rect(int index) const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue