mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 07:47:37 +00:00
VisualBuilder: Add the first VBWidget subclass: VBButtonWidget. :^)
This commit is contained in:
parent
d73f79a2d2
commit
ead6524c0a
8 changed files with 73 additions and 11 deletions
|
@ -35,11 +35,14 @@ public:
|
|||
Rect grabber_rect(Direction) const;
|
||||
Direction grabber_at(const Point&) const;
|
||||
|
||||
void paint(GPainter&);
|
||||
virtual void paint(GPainter&);
|
||||
|
||||
virtual const char* gwidget_name() const { return "GWidget"; }
|
||||
|
||||
protected:
|
||||
explicit VBWidget(VBForm&);
|
||||
|
||||
private:
|
||||
VBWidget(VBForm&);
|
||||
|
||||
VBForm& m_form;
|
||||
Rect m_rect;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue