mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 20:59:16 +00: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
|
@ -86,14 +86,8 @@ static Gfx::CharacterBitmap* s_down_arrow_bitmap;
|
|||
static Gfx::CharacterBitmap* s_left_arrow_bitmap;
|
||||
static Gfx::CharacterBitmap* s_right_arrow_bitmap;
|
||||
|
||||
ScrollBar::ScrollBar(Widget* parent)
|
||||
: ScrollBar(Orientation::Vertical, parent)
|
||||
{
|
||||
}
|
||||
|
||||
ScrollBar::ScrollBar(Orientation orientation, Widget* parent)
|
||||
: Widget(parent)
|
||||
, m_orientation(orientation)
|
||||
ScrollBar::ScrollBar(Orientation orientation)
|
||||
: m_orientation(orientation)
|
||||
{
|
||||
m_automatic_scrolling_timer = add<Core::Timer>();
|
||||
if (!s_up_arrow_bitmap)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue