rodecomp/Source/UI/Guild/UIGuildHelperWnd.cpp
ragnarok-clanker 0a2118ab88 Decompile 25 functions in Source/UI/Guild/UIGuildWnd.cpp, Source/UI/Guild/UIGuildWnd.h, ...
Batch #3396 by eAthena: 0 byte-identical, 25 confirmed by peer review.

- fn_13067 UIListBoxAgit::Slot15: logic confirmed by peer review
- fn_13068 UIAgitMessageBox::Paint: logic confirmed by peer review
- fn_13069 UICreateGuildWnd::Paint: logic confirmed by peer review
- fn_13071 UIGuildHelperWnd::Paint: logic confirmed by peer review
- fn_13078 UIGuildTipWnd::Paint: logic confirmed by peer review
- fn_13080 UIGuildWnd::Paint: logic confirmed by peer review
- fn_13081 UIListBoxAgitMenu::Paint: logic confirmed by peer review
- fn_13084 UIGuildHelperWnd::Slot25: logic confirmed by peer review
- fn_13087 UIGuildNoticeWnd::Slot25: logic confirmed by peer review
- fn_13091 UIGuildWnd::Slot25: logic confirmed by peer review
- fn_13092 UIListBoxAgit::Slot25: logic confirmed by peer review
- fn_13093 UIListBoxAgitMenu::Slot25: logic confirmed by peer review
- fn_13095 UIGuildHelperWnd::Slot31: logic confirmed by peer review
- fn_13096 UIListBoxAgitMenu::Slot28: logic confirmed by peer review
- fn_13098 UIGuildHelperWnd::Slot27: logic confirmed by peer review
- fn_13100 UIGuildMemberManageWnd::Slot19: logic confirmed by peer review
- fn_13101 UIGuildPositionManageWnd::Slot19: logic confirmed by peer review
- fn_13103 UIGuildMemberManageWnd::Slot32: logic confirmed by peer review
- fn_13106 UIListBoxAgit::Slot32: logic confirmed by peer review
- fn_13111 UIGuildBanishedMemberWnd::Slot35: logic confirmed by peer review
- fn_13112 UIGuildMemberManageWnd::Slot35: logic confirmed by peer review
- fn_13113 UIGuildPositionManageWnd::Slot35: logic confirmed by peer review
- fn_13114 UIGuildSkillWnd::Slot35: logic confirmed by peer review
- fn_13115 UIGuildTotalInfoWnd::Slot35: logic confirmed by peer review
- fn_13122 UIAgitMessageBox::SendMsg: logic confirmed by peer review

Peer-reviewed-by: Yommy
Reviewed-by: ragnarok-clanker
2026-10-29 22:37:44 +00:00

100 lines
2.5 KiB
C++

#include "UI/Guild/UIGuildHelperWnd.h"
#include "Contents/MessageTable.h"
#include "UI/Buttons/UIButton.h"
#include "UI/Window/UIWindowMgr.h"
#include <windows.h>
#include <timeapi.h>
// OFFSET: 0x0095DB20
// FUNCTION: fn_13071
void UIGuildHelperWnd::Paint() {
auto& controls = *this->m_controls;
this->DrawTitleBar(controls.fonts, controls.locale, true, LookupMessage(2074), 0);
this->DrawPanelBackground(17, 0, "");
this->DrawButtonBar(2, 0, 1);
this->DrawTextAt(controls.fonts, controls.locale, 15, 32, LookupMessage(2075), 0, 0, 12, 0, 0, 0);
}
// OFFSET: 0x0095FCB0
// FUNCTION: fn_13084
void UIGuildHelperWnd::Slot25(int x, int y) {
if (y < 17) {
UIFrameWnd::Slot25(x, y);
if (UIWindow* window = g_windowMgr.unknown_0438) {
window->geometry.targetAlpha = 128;
window->geometry.alphaStart = timeGetTime();
}
}
}
// OFFSET: 0x00960130
// FUNCTION: fn_13095
void UIGuildHelperWnd::Slot31(int x, int y) {
UIFrameWnd::Slot31(x, y);
if (UIWindow* window = g_windowMgr.unknown_0438) {
window->geometry.targetAlpha = 255;
window->geometry.alphaStart = timeGetTime();
}
}
// OFFSET: 0x009601D0
// FUNCTION: fn_13098
void UIGuildHelperWnd::Slot27(int x, int y) {
UIFrameWnd::Slot27(x, y);
if (g_windowMgr.unknown_0438) {
x = 0;
y = 0;
this->ToScreen(x, y);
g_windowMgr.unknown_0438->Move(x + 2 + this->geometry.width, y);
}
}
// OFFSET: 0x0095D5C0
// FUNCTION: fn_13069
void UICreateGuildWnd::Paint() {
auto& controls = *this->m_controls;
this->DrawPanelBackground(17, 0, "");
this->DrawButtonBar(2, 0, 1);
int text;
int title;
if (this->m_mode == 0) {
text = 2077;
title = 2076;
} else {
text = 2089;
title = 2088;
}
this->DrawTitleBar(controls.fonts, controls.locale, true, LookupMessage(title), 0);
this->DrawTextAt(controls.fonts, controls.locale, 16, 23, LookupMessage(text), 0, 0, 12, 0, 0, 0);
}
// OFFSET: 0x0095FBE0
// FUNCTION: fn_13082
void UICreateGuildWnd::Slot25(int, int) {
}
// OFFSET: 0x009601C0
// FUNCTION: fn_13097
void UICreateGuildWnd::Slot27(int, int) {
}
// OFFSET: 0x00960120
// FUNCTION: fn_13094
void UICreateGuildWnd::Slot31(int, int) {
}
// OFFSET: 0x0095F420
// FUNCTION: fn_13078
void UIGuildTipWnd::Paint() {
auto& controls = *this->m_controls;
this->DrawTitleBar(controls.fonts, controls.locale, true, LookupMessage(2078), 0);
this->DrawPanelBackground(17, 0, "");
this->DrawButtonBar(2, 0, 1);
}
// OFFSET: 0x0095E310
// FUNCTION: fn_13073
void UIGuildLeaveReasonDescWnd::Paint() {
this->DrawBorder(0, 0, 0, 0);
}