mirror of
https://github.com/RGBCube/serenity
synced 2025-05-16 19:05:08 +00:00
LibGUI: Remove parent parameter to GUI::Widget constructor
This commit is contained in:
parent
4ce28c32d1
commit
c5d913970a
114 changed files with 207 additions and 313 deletions
|
@ -49,14 +49,8 @@
|
|||
|
||||
namespace GUI {
|
||||
|
||||
TextEditor::TextEditor(Widget* parent)
|
||||
: TextEditor(Type::MultiLine, parent)
|
||||
{
|
||||
}
|
||||
|
||||
TextEditor::TextEditor(Type type, Widget* parent)
|
||||
: ScrollableWidget(parent)
|
||||
, m_type(type)
|
||||
TextEditor::TextEditor(Type type)
|
||||
: m_type(type)
|
||||
{
|
||||
set_background_role(ColorRole::Base);
|
||||
set_foreground_role(ColorRole::BaseText);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue