diff --git a/Source/UI/Buttons/UIButton.h b/Source/UI/Buttons/UIButton.h index 061d04d9..c8e96533 100644 --- a/Source/UI/Buttons/UIButton.h +++ b/Source/UI/Buttons/UIButton.h @@ -42,6 +42,7 @@ class UIButton : public UIWindow { friend class UIRodexInboxWnd; friend class UIMiniMapWnd; public: + UIButton(); UIButton(UIWindowContext& windowContext, UIButtonContext& buttonContext); ~UIButton() override; void Paint() override; diff --git a/Source/UI/Buttons/UITextButton.cpp b/Source/UI/Buttons/UITextButton.cpp index 4185648d..da14bb7c 100644 --- a/Source/UI/Buttons/UITextButton.cpp +++ b/Source/UI/Buttons/UITextButton.cpp @@ -3415,6 +3415,22 @@ UITVBitmapButton::UITVBitmapButton() } // OFFSET: 0x0086EC10 +// FUNCTION: fn_11082 +UITVTextButton::UITVTextButton() : UIButton() { + this->unknown_00B4 = 0; + this->unknown_00B5 = 0; + this->unknown_00B6 = 0; + this->m_border = 0; + this->m_value = 0; + this->m_fill = 0; + this->m_fillColor = 0xFFFFFF; + this->m_textColor = 0; + this->m_outlineColor = 0xFFFFFF; + this->m_highlightColor = 0; + this->m_outlined = 0; + this->m_fontHeight = 12; + this->m_fontFamily = 0; +} #include "Contents/Configuration/ServiceConfiguration.h" #include "Contents/TipOfTheDay.h"