mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 01:57:45 +00:00
Start working on a Widgets library.
This commit is contained in:
parent
a181a8f6e7
commit
8c84f9749e
18 changed files with 594 additions and 0 deletions
13
Widgets/RootWidget.h
Normal file
13
Widgets/RootWidget.h
Normal file
|
@ -0,0 +1,13 @@
|
|||
#pragma once
|
||||
|
||||
#include "Widget.h"
|
||||
|
||||
class RootWidget final : public Widget {
|
||||
public:
|
||||
RootWidget();
|
||||
virtual ~RootWidget() override;
|
||||
|
||||
private:
|
||||
virtual void onPaint(PaintEvent&) override;
|
||||
virtual void onMouseMove(MouseEvent&) override;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue