mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 03:37:45 +00:00
Taskbar: Add toggle_show_desktop()
This function is added to separate the desktop toggling functionality from the "Show Desktop" button in the taskbar and to enable calling this behaviour via a keyboard shortcut in a later commit.
This commit is contained in:
parent
6c202ee4a9
commit
12682f0bcc
2 changed files with 6 additions and 0 deletions
|
@ -30,6 +30,7 @@ public:
|
|||
private:
|
||||
explicit TaskbarWindow(NonnullRefPtr<GUI::Menu> start_menu);
|
||||
static void show_desktop_button_clicked(unsigned);
|
||||
static void toggle_show_desktop();
|
||||
void set_quick_launch_button_data(GUI::Button&, String const&, NonnullRefPtr<Desktop::AppFile>);
|
||||
void on_screen_rects_change(Vector<Gfx::IntRect, 4> const&, size_t);
|
||||
NonnullRefPtr<GUI::Button> create_button(WindowIdentifier const&);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue