mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-21 20:15:17 +00:00
GGroupBox: Allow constructing these without an initial text.
This commit is contained in:
parent
25e3d46502
commit
974c0f97b8
Notes:
sideshowbarker
2024-07-19 13:19:10 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/974c0f97b8d
2 changed files with 6 additions and 0 deletions
|
@ -2,6 +2,11 @@
|
|||
#include <LibGUI/GPainter.h>
|
||||
#include <SharedGraphics/StylePainter.h>
|
||||
|
||||
GGroupBox::GGroupBox(GWidget* parent)
|
||||
: GGroupBox({}, parent)
|
||||
{
|
||||
}
|
||||
|
||||
GGroupBox::GGroupBox(const StringView& title, GWidget* parent)
|
||||
: GWidget(parent)
|
||||
, m_title(title)
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
|
||||
class GGroupBox : public GWidget {
|
||||
public:
|
||||
explicit GGroupBox(GWidget* parent);
|
||||
GGroupBox(const StringView& title, GWidget* parent);
|
||||
virtual ~GGroupBox() override;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue