diff --git a/Source/UI/UIIngredientInfoWnd.h b/Source/UI/UIIngredientInfoWnd.h new file mode 100644 index 0000000..047fc64 --- /dev/null +++ b/Source/UI/UIIngredientInfoWnd.h @@ -0,0 +1,12 @@ +#ifndef RAGNAROK_SOURCE_UI_UIINGREDIENTINFOWND_H +#define RAGNAROK_SOURCE_UI_UIINGREDIENTINFOWND_H + +#include "UI/Window/UIFrameWnd.h" + +class UIIngredientInfoWnd : public UIFrameWnd { +public: + void Move(int x, int y) override; + void Slot10(int argument1, int argument2, std::intptr_t argument3) override; +}; + +#endif diff --git a/Source/UI/UILapineScrollBar.cpp b/Source/UI/UILapineScrollBar.cpp new file mode 100644 index 0000000..b0c5d19 --- /dev/null +++ b/Source/UI/UILapineScrollBar.cpp @@ -0,0 +1,13 @@ +#include "UI/UIIngredientInfoWnd.h" + +// OFFSET: 0x005FF810 +// FUNCTION: fn_04149 +void UIIngredientInfoWnd::Slot10(int argument1, int argument2, std::intptr_t argument3) { + this->parent->Slot10(argument1, argument2, argument3); +} + +// OFFSET: 0x005FF910 +// FUNCTION: fn_04152 +void UIIngredientInfoWnd::Move(int x, int y) { + UIWindow::Move(x, y); +} diff --git a/data/compile.json b/data/compile.json index a7b018f..a913527 100644 --- a/data/compile.json +++ b/data/compile.json @@ -608,6 +608,7 @@ "Source/UI/Text/UITextViewerLinks.cpp": 2, "Source/UI/Text/UITextViewerMessages.cpp": 2, "Source/UI/Text/UITransBalloonText.cpp": 2, + "Source/UI/UILapineScrollBar.cpp": 2, "Source/UI/UIStaticBitmap.cpp": 2, "Source/UI/Window/FrameFocus.cpp": 2, "Source/UI/Window/FrameTextCache.cpp": 2,