diff --git a/Source/UI/Lists/UIVScrollBar.h b/Source/UI/Lists/UIVScrollBar.h index c5de4bc0c..46c61be78 100644 --- a/Source/UI/Lists/UIVScrollBar.h +++ b/Source/UI/Lists/UIVScrollBar.h @@ -77,4 +77,11 @@ static_assert(offsetof(CUIVScrollBar, backgroundName) == 0xAC); static_assert(offsetof(CUIVScrollBar, onChange) == 0xC8); #endif +// OFFSET: 0x009BE480 +// FUNCTION: fn_13948 +inline CUIVScrollBar::CUIVScrollBar() + : CUIControl(), downButton(nullptr), thumb(nullptr), total(1), visible(1), step(1), position(0), maximum(0), trackLength(1), dragging(0), + hidden(0), transparent(0), upButton(nullptr) { +} + #endif diff --git a/Source/UI/Window/UIControl.cpp b/Source/UI/Window/UIControl.cpp index 785e6ae05..b37ddb1e8 100644 --- a/Source/UI/Window/UIControl.cpp +++ b/Source/UI/Window/UIControl.cpp @@ -236,13 +236,6 @@ __forceinline CUIButton::CUIButton() : CUIControl(), state(0), disabled(0), tool __forceinline CUIImageButton::CUIImageButton() : CUIButton(), images(), disabledImage(), transparent(0), imageNames(), disabledName() { } -// OFFSET: 0x009BE480 -// FUNCTION: fn_13948 -CUIVScrollBar::CUIVScrollBar() - : CUIControl(), downButton(nullptr), thumb(nullptr), total(1), visible(1), step(1), position(0), maximum(0), trackLength(1), dragging(0), - hidden(0), transparent(0), upButton(nullptr) { -} - CUIControl::~CUIControl() = default; // OFFSET: 0x009D5490