diff --git a/Source/UI/Text/UIAchWnd.h b/Source/UI/Text/UIAchWnd.h new file mode 100644 index 0000000..788d573 --- /dev/null +++ b/Source/UI/Text/UIAchWnd.h @@ -0,0 +1,16 @@ +#ifndef RAGNAROK_SOURCE_UI_TEXT_UIACHWND_H +#define RAGNAROK_SOURCE_UI_TEXT_UIACHWND_H + +#include "UI/Window/UIWindow.h" + +class UIAchListWnd : public UIWindow { +public: + void Slot31(int x, int y) override; +}; + +class UIAchTab : public UIWindow { +public: + void Slot31(int x, int y) override; +}; + +#endif diff --git a/Source/UI/Text/UITextViewer.cpp b/Source/UI/Text/UITextViewer.cpp index 4036fa7..130a65c 100644 --- a/Source/UI/Text/UITextViewer.cpp +++ b/Source/UI/Text/UITextViewer.cpp @@ -8,6 +8,8 @@ #include "UI/Lists/UIScrollBar.h" #include "UI/Buttons/UITextButton.h" #include "UI/Text/UITextViewer.h" +#include "UI/Text/UIAchWnd.h" +#include "UI/Window/UIWindowMgr.h" #include @@ -112,6 +114,18 @@ void UITextViewer::Slot25(int, int) { void UITextViewer::Slot26(int, int) { } +// OFFSET: 0x007B79F0 +// FUNCTION: fn_09231 +void UIAchListWnd::Slot31(int, int) { + g_windowMgr.ReleaseCapture(); +} + +// OFFSET: 0x007B7A00 +// FUNCTION: fn_09232 +void UIAchTab::Slot31(int, int) { + g_windowMgr.ReleaseCapture(); +} + // OFFSET: 0x007B7A10 // FUNCTION: fn_09233 void UITextViewer::Slot31(int, int) {