diff --git a/Source/UI/Items/UIItemRepairWnd.cpp b/Source/UI/Items/UIItemRepairWnd.cpp new file mode 100644 index 00000000..35f297bc --- /dev/null +++ b/Source/UI/Items/UIItemRepairWnd.cpp @@ -0,0 +1,13 @@ +#include "UI/Items/UIItemRepairWnd.h" + +#include "Contents/MessageTable.h" +#include "UI/Buttons/UIButton.h" + +// OFFSET: 0x009A3860 +// FUNCTION: fn_13609 +void UIItemRepairWnd::Paint() { + auto& controls = *this->m_controls; + const int titleHeight = this->DrawTitleBar(controls.fonts, controls.locale, true, LookupMessage(812), 0); + this->DrawPanelBackground(titleHeight, 0, ""); + this->DrawButtonBar(2, 0, 1); +} diff --git a/Source/UI/Items/UIItemRepairWnd.h b/Source/UI/Items/UIItemRepairWnd.h new file mode 100644 index 00000000..88bc260c --- /dev/null +++ b/Source/UI/Items/UIItemRepairWnd.h @@ -0,0 +1,16 @@ +#ifndef RAGNAROK_SOURCE_UI_ITEMS_UIITEMREPAIRWND_H +#define RAGNAROK_SOURCE_UI_ITEMS_UIITEMREPAIRWND_H + +#include "UI/Window/UIFrameWnd.h" + +struct UIButtonContext; + +class UIItemRepairWnd : public UIFrameWnd { +public: + void Paint() override; + +protected: + UIButtonContext* m_controls; +}; + +#endif diff --git a/Source/UI/Items/UIMakeTargetListWnd.cpp b/Source/UI/Items/UIMakeTargetListWnd.cpp new file mode 100644 index 00000000..8f29a363 --- /dev/null +++ b/Source/UI/Items/UIMakeTargetListWnd.cpp @@ -0,0 +1,6 @@ +#include "UI/Items/UIMakeTargetListWnd.h" + +#include "Contents/MessageTable.h" +#include "UI/Buttons/UIButton.h" + +// OFFSET: 0x009A38A0 diff --git a/Source/UI/Items/UIMakeTargetListWnd.h b/Source/UI/Items/UIMakeTargetListWnd.h new file mode 100644 index 00000000..6087293c --- /dev/null +++ b/Source/UI/Items/UIMakeTargetListWnd.h @@ -0,0 +1,16 @@ +#ifndef RAGNAROK_SOURCE_UI_ITEMS_UIMAKETARGETLISTWND_H +#define RAGNAROK_SOURCE_UI_ITEMS_UIMAKETARGETLISTWND_H + +#include "UI/Window/UIFrameWnd.h" + +struct UIButtonContext; + +class UIMakeTargetListWnd : public UIFrameWnd { +public: + void Paint() override; + +protected: + UIButtonContext* m_controls; +}; + +#endif diff --git a/Source/UI/Items/UIWeaponRefineWnd.cpp b/Source/UI/Items/UIWeaponRefineWnd.cpp new file mode 100644 index 00000000..54bde027 --- /dev/null +++ b/Source/UI/Items/UIWeaponRefineWnd.cpp @@ -0,0 +1,6 @@ +#include "UI/Items/UIWeaponRefineWnd.h" + +#include "Contents/MessageTable.h" +#include "UI/Buttons/UIButton.h" + +// OFFSET: 0x009A3CD0 diff --git a/Source/UI/Items/UIWeaponRefineWnd.h b/Source/UI/Items/UIWeaponRefineWnd.h new file mode 100644 index 00000000..d657d3ca --- /dev/null +++ b/Source/UI/Items/UIWeaponRefineWnd.h @@ -0,0 +1,16 @@ +#ifndef RAGNAROK_SOURCE_UI_ITEMS_UIWEAPONREFINEWND_H +#define RAGNAROK_SOURCE_UI_ITEMS_UIWEAPONREFINEWND_H + +#include "UI/Window/UIFrameWnd.h" + +struct UIButtonContext; + +class UIWeaponRefineWnd : public UIFrameWnd { +public: + void Paint() override; + +protected: + UIButtonContext* m_controls; +}; + +#endif diff --git a/data/compile.json b/data/compile.json index ac517945..8bcccce9 100644 --- a/data/compile.json +++ b/data/compile.json @@ -640,6 +640,9 @@ "Source/UI/Edit/UIEditLinks.cpp": 2, "Source/UI/Edit/UIEditVariants.cpp": 2, "Source/UI/FrameSkin.cpp": 2, + "Source/UI/Items/UIItemRepairWnd.cpp": 2, + "Source/UI/Items/UIMakeTargetListWnd.cpp": 2, + "Source/UI/Items/UIWeaponRefineWnd.cpp": 2, "Source/UI/Layout/SnapMgr.cpp": 2, "Source/UI/Layout/SnapObject.cpp": 2, "Source/UI/Layout/SnapRectangle.cpp": 2,