mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-25 14:05:15 +00:00
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. :^)
16 lines
357 B
C++
16 lines
357 B
C++
#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&);
|
|
|
|
};
|