Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Spore ModAPI/SourceCode/DLL/AddressesUI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ namespace UI
namespace Addresses(ScrollFrameVertical)
{
DefineAddress(Create, SelectAddress(0x807C40, 0x8076F0));
DefineAddress(Update, SelectAddress(0x7E04D0, 0x807780));
}

namespace Addresses(cSPUITextZoom)
Expand Down
4 changes: 4 additions & 0 deletions Spore ModAPI/SourceCode/UI/ScrollFrame.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 3 additions & 0 deletions Spore ModAPI/Spore/UI/ScrollFrameVertical.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
Loading