mirror of
https://github.com/RGBCube/serenity
synced 2025-05-22 16:55:09 +00: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
337 changed files with 5400 additions and 4816 deletions
|
@ -26,16 +26,18 @@
|
|||
|
||||
#include <LibGUI/GLazyWidget.h>
|
||||
|
||||
GLazyWidget::GLazyWidget(GWidget* parent)
|
||||
: GWidget(parent)
|
||||
namespace GUI {
|
||||
|
||||
LazyWidget::LazyWidget(Widget* parent)
|
||||
: Widget(parent)
|
||||
{
|
||||
}
|
||||
|
||||
GLazyWidget::~GLazyWidget()
|
||||
LazyWidget::~LazyWidget()
|
||||
{
|
||||
}
|
||||
|
||||
void GLazyWidget::show_event(GShowEvent&)
|
||||
void LazyWidget::show_event(ShowEvent&)
|
||||
{
|
||||
if (m_has_been_shown)
|
||||
return;
|
||||
|
@ -44,3 +46,5 @@ void GLazyWidget::show_event(GShowEvent&)
|
|||
ASSERT(on_first_show);
|
||||
on_first_show(*this);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue