mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-10 10:01:13 +09:00
LibGUI: Remove parent parameter to GUI::Widget constructor
This commit is contained in:
parent
4ce28c32d1
commit
c5d913970a
Notes:
sideshowbarker
2024-07-19 09:08:33 +09:00
Author: https://github.com/awesomekling
Commit: c5d913970a
114 changed files with 207 additions and 313 deletions
|
@ -32,14 +32,8 @@
|
|||
|
||||
namespace GUI {
|
||||
|
||||
Label::Label(Widget* parent)
|
||||
: Label({}, parent)
|
||||
{
|
||||
}
|
||||
|
||||
Label::Label(const StringView& text, Widget* parent)
|
||||
: Frame(parent)
|
||||
, m_text(text)
|
||||
Label::Label(const StringView& text)
|
||||
: m_text(text)
|
||||
{
|
||||
set_frame_thickness(0);
|
||||
set_frame_shadow(Gfx::FrameShadow::Plain);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue