mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-11 18:20:43 +09:00
LibGUI: Put all classes in the GUI namespace and remove the leading G
This took me a moment. Welcome to the new world of GUI::Widget! :^)
This commit is contained in:
parent
2d39da5405
commit
c5bd9d4ed1
Notes:
sideshowbarker
2024-07-19 09:41:33 +09:00
Author: https://github.com/awesomekling
Commit: c5bd9d4ed1
337 changed files with 5400 additions and 4816 deletions
|
@ -28,20 +28,24 @@
|
|||
|
||||
#include <LibGUI/GWidget.h>
|
||||
|
||||
class GGroupBox : public GWidget {
|
||||
C_OBJECT(GGroupBox)
|
||||
namespace GUI {
|
||||
|
||||
class GroupBox : public Widget {
|
||||
C_OBJECT(GroupBox)
|
||||
public:
|
||||
virtual ~GGroupBox() override;
|
||||
virtual ~GroupBox() override;
|
||||
|
||||
String title() const { return m_title; }
|
||||
void set_title(const StringView&);
|
||||
|
||||
protected:
|
||||
explicit GGroupBox(GWidget* parent);
|
||||
GGroupBox(const StringView& title, GWidget* parent);
|
||||
explicit GroupBox(Widget* parent);
|
||||
GroupBox(const StringView& title, Widget* parent);
|
||||
|
||||
virtual void paint_event(GPaintEvent&) override;
|
||||
virtual void paint_event(PaintEvent&) override;
|
||||
|
||||
private:
|
||||
String m_title;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue