mirror of
https://github.com/RGBCube/serenity
synced 2025-05-28 14:25:06 +00:00
LibGUI: Make the timers in GAbstractButton and GScrollBar into children
This commit is contained in:
parent
93f14966c0
commit
a1a4013b1c
2 changed files with 2 additions and 0 deletions
|
@ -60,6 +60,7 @@ static CharacterBitmap* s_right_arrow_bitmap;
|
|||
GScrollBar::GScrollBar(Orientation orientation, GWidget* parent)
|
||||
: GWidget(parent)
|
||||
, m_orientation(orientation)
|
||||
, m_automatic_scrolling_timer(this)
|
||||
{
|
||||
if (!s_up_arrow_bitmap)
|
||||
s_up_arrow_bitmap = &CharacterBitmap::create_from_ascii(s_up_arrow_bitmap_data, 9, 9).leak_ref();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue