Applets: Add DesktopPicker applet

This applet displays a grid of desktops, and shows the user what virtual
desktop they are on. When clicked, the desktop will be changed.
This commit is contained in:
Peter Elliott 2021-07-18 12:45:59 -06:00 committed by Andreas Kling
commit 01248d28ef
Notes: sideshowbarker 2024-07-18 08:44:08 +09:00
6 changed files with 194 additions and 0 deletions

View file

@ -0,0 +1,25 @@
/*
* Copyright (c) 2021, Peter Elliott <pelliott@ualberta.ca>
*
* SPDX-License-Identifier: BSD-2-Clause
*/
#pragma once
#include <LibGUI/Window.h>
class DesktopStatusWidget;
class DesktopStatusWindow : public GUI::Window {
C_OBJECT(DesktopStatusWindow);
public:
virtual ~DesktopStatusWindow() override;
virtual void wm_event(GUI::WMEvent&) override;
private:
DesktopStatusWindow();
DesktopStatusWidget* m_widget;
};