summaryrefslogtreecommitdiff
path: root/LibGUI/GGroupBox.h
blob: 1f0f5337944538124ce0a88fb0123e5f4edf1998 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#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;
};