ladybird/Libraries/LibGUI/GGroupBox.h
Andreas Kling 04b9dc2d30 Libraries: Create top level directory for libraries.
Things were getting a little crowded in the project root, so this patch
moves the Lib*/ directories into Libraries/.
2019-07-04 16:16:50 +02:00

20 lines
438 B
C++

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