mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 17:38:12 +00:00
WindowServer: Make some WindowSwitcher members private
This commit is contained in:
parent
cfa6e44131
commit
193d7c5b19
1 changed files with 4 additions and 8 deletions
|
@ -59,24 +59,20 @@ public:
|
|||
void refresh();
|
||||
void refresh_if_needed();
|
||||
|
||||
void select_window(Window&);
|
||||
|
||||
private:
|
||||
int thumbnail_width() const { return 40; }
|
||||
int thumbnail_height() const { return 40; }
|
||||
|
||||
int item_height() const { return 10 + thumbnail_height(); }
|
||||
int padding() const { return 8; }
|
||||
int item_padding() const { return 8; }
|
||||
|
||||
void select_window(Window&);
|
||||
|
||||
Window* selected_window();
|
||||
|
||||
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;
|
||||
Window* selected_window();
|
||||
|
||||
virtual void event(Core::Event&) override;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue