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

Taskbar: Add show desktop button to toggle showing of the desktop

This commit is contained in:
ForLoveOfCats 2021-06-28 21:00:12 -04:00 committed by Gunnar Beutner
parent 271840ca22
commit cefa2e3dd2
2 changed files with 13 additions and 0 deletions

View file

@ -21,6 +21,7 @@ public:
private:
explicit TaskbarWindow(NonnullRefPtr<GUI::Menu> start_menu);
static void show_desktop_button_clicked(unsigned);
void create_quick_launch_bar();
void on_screen_rects_change(const Vector<Gfx::IntRect, 4>&, size_t);
NonnullRefPtr<GUI::Button> create_button(const WindowIdentifier&);
@ -44,6 +45,7 @@ private:
Gfx::IntSize m_applet_area_size;
RefPtr<GUI::Frame> m_applet_area_container;
RefPtr<GUI::Button> m_start_button;
RefPtr<GUI::Button> m_show_desktop_button;
RefPtr<Desktop::AppFile> m_assistant_app_file;