mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 18:18:12 +00:00
LibGUI: Add a GStackWidget for many widgets sharing a single location.
Call set_active_widget(GWidget*) to put a new widget on top.
This commit is contained in:
parent
ab92252ee6
commit
497300c492
10 changed files with 157 additions and 5 deletions
12
LibGUI/GEvent.cpp
Normal file
12
LibGUI/GEvent.cpp
Normal file
|
@ -0,0 +1,12 @@
|
|||
#include <LibGUI/GEvent.h>
|
||||
#include <LibGUI/GObject.h>
|
||||
|
||||
GChildEvent::GChildEvent(Type type, GObject& child)
|
||||
: GEvent(type)
|
||||
, m_child(child.make_weak_ptr())
|
||||
{
|
||||
}
|
||||
|
||||
GChildEvent::~GChildEvent()
|
||||
{
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue