mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-12-08 06:09:58 +00:00
21 lines
386 B
C
21 lines
386 B
C
|
|
#pragma once
|
||
|
|
|
||
|
|
#include <LibGUI/GWidget.h>
|
||
|
|
#include <AK/Vector.h>
|
||
|
|
#include "VBWidget.h"
|
||
|
|
|
||
|
|
class VBForm : public GWidget {
|
||
|
|
public:
|
||
|
|
explicit VBForm(const String& name, GWidget* parent = nullptr);
|
||
|
|
virtual ~VBForm() override;
|
||
|
|
|
||
|
|
protected:
|
||
|
|
virtual void paint_event(GPaintEvent&) override;
|
||
|
|
|
||
|
|
private:
|
||
|
|
String m_name;
|
||
|
|
int m_grid_size { 5 };
|
||
|
|
|
||
|
|
Vector<VBWidget*> m_widgets;
|
||
|
|
};
|