mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 22:57:34 +00:00
VisualBuilder: Start working on an interface builder application.
It's tedious making interfaces programmatically. Let's make a program to help us with this. :^)
This commit is contained in:
parent
0bc72551f4
commit
8268ece1bd
10 changed files with 156 additions and 0 deletions
15
Applications/VisualBuilder/VBWidget.h
Normal file
15
Applications/VisualBuilder/VBWidget.h
Normal file
|
@ -0,0 +1,15 @@
|
|||
#pragma once
|
||||
|
||||
#include <SharedGraphics/Rect.h>
|
||||
|
||||
class VBWidget {
|
||||
public:
|
||||
VBWidget();
|
||||
virtual ~VBWidget();
|
||||
|
||||
Rect rect() const { return m_rect; }
|
||||
void set_rect(const Rect& rect) { m_rect = rect; }
|
||||
|
||||
private:
|
||||
Rect m_rect;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue