diff --git a/Spore ModAPI/SourceCode/DLL/AddressesUI.cpp b/Spore ModAPI/SourceCode/DLL/AddressesUI.cpp index c8611114..79689206 100644 --- a/Spore ModAPI/SourceCode/DLL/AddressesUI.cpp +++ b/Spore ModAPI/SourceCode/DLL/AddressesUI.cpp @@ -39,6 +39,7 @@ namespace UI namespace Addresses(ScrollFrameVertical) { DefineAddress(Create, SelectAddress(0x807C40, 0x8076F0)); + DefineAddress(Update, SelectAddress(0x7E04D0, 0x807780)); } namespace Addresses(cSPUITextZoom) diff --git a/Spore ModAPI/SourceCode/UI/ScrollFrame.cpp b/Spore ModAPI/SourceCode/UI/ScrollFrame.cpp index e02def17..086cfa62 100644 --- a/Spore ModAPI/SourceCode/UI/ScrollFrame.cpp +++ b/Spore ModAPI/SourceCode/UI/ScrollFrame.cpp @@ -6,5 +6,9 @@ namespace UI auto_STATIC_METHOD(ScrollFrameVertical, UTFWin::IWindow*, Create, Args(const char16_t* pLayoutName, IWindowPtr& dstContent, bool arg_8), Args(pLayoutName, dstContent, arg_8)); + + auto_STATIC_METHOD(ScrollFrameVertical, bool, Update, + Args(UTFWin::IWindow* pScrollFrameVertical, bool arg_4), + Args(pScrollFrameVertical, arg_4)); } #endif diff --git a/Spore ModAPI/Spore/UI/ScrollFrameVertical.h b/Spore ModAPI/Spore/UI/ScrollFrameVertical.h index abd53177..935b8211 100644 --- a/Spore ModAPI/Spore/UI/ScrollFrameVertical.h +++ b/Spore ModAPI/Spore/UI/ScrollFrameVertical.h @@ -15,10 +15,13 @@ namespace UI #endif static UTFWin::IWindow* Create(const char16_t* pLayoutName, IWindowPtr& dstContent, bool = true); + static bool Update(UTFWin::IWindow* pScrollFrameVertical, bool = false); + }; namespace Addresses(ScrollFrameVertical) { DeclareAddress(Create); + DeclareAddress(Update); } } \ No newline at end of file