1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-20 02:45:08 +00:00
serenity/LibGUI/GGroupBox.h
Andreas Kling f6543c5946 LibGUI: Add a simple GGroupBox widget.
This needs some work on the visual side, but it gets the job done already.
2019-04-10 05:52:15 +02:00

19 lines
391 B
C++

#pragma once
#include <LibGUI/GWidget.h>
class GGroupBox : public GWidget {
public:
GGroupBox(const String& name, GWidget* parent);
virtual ~GGroupBox() override;
String name() const { return m_name; }
virtual const char* class_name() const override { return "GGroupBox"; }
protected:
virtual void paint_event(GPaintEvent&) override;
private:
String m_name;
};