mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 14:28:12 +00:00
Taskbar: Start working on a taskbar app.
I originally thought I would do this inside WindowServer, but let's try to make it as a standalone app that communicates with WindowServer instead. That will allow us to use LibGUI. :^)
This commit is contained in:
parent
318db1e48e
commit
a22774ee3f
31 changed files with 577 additions and 18 deletions
16
Applications/Taskbar/TaskbarWindow.h
Normal file
16
Applications/Taskbar/TaskbarWindow.h
Normal file
|
@ -0,0 +1,16 @@
|
|||
#include <LibGUI/GWindow.h>
|
||||
#include <LibGUI/GWidget.h>
|
||||
|
||||
class TaskbarWindow final : public GWindow {
|
||||
public:
|
||||
TaskbarWindow();
|
||||
virtual ~TaskbarWindow() override;
|
||||
|
||||
int taskbar_height() const { return 20; }
|
||||
|
||||
virtual const char* class_name() const override { return "TaskbarWindow"; }
|
||||
|
||||
private:
|
||||
void on_screen_rect_change(const Rect&);
|
||||
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue