Maintenance: [forced, user-approved] Family F2a (first half of UIWindowContext removal; coordinator-approved bridge split because F2

Batch #10217 by ragnarok-clanker: forced by an admin (236 lower score(s), 885 changed function(s)); checked with 558 compiled unit(s), including every includer of Source/Client/Mode/ModeTooltip.h, Source/Contents/SignBoard/SignBoard.h, Source/UI/Acceptance/UIJoinPartyAcceptWnd.h, Source/UI/AdventureGuide/UIAdventureGuide.h, Source/UI/Buttons/UIBasicButton.h, Source/UI/Buttons/UIBitmapButton.h, Source/UI/Buttons/UIBmpRadioBtn.h, Source/UI/Buttons/UIBmpTextButton.h, Source/UI/Buttons/UIBmpTextButton2.h, Source/UI/Buttons/UIButton.h, Source/UI/Buttons/UICashEmotionSprBtn.h, Source/UI/Buttons/UICheckBox.h, Source/UI/Buttons/UIItemMoveInfo.h, Source/UI/Buttons/UIItemTagButton.h, Source/UI/Buttons/UIJobSlotButton.h, Source/UI/Buttons/UINaviLinkButton.h, Source/UI/Buttons/UINoneVisibleButton.h, Source/UI/Buttons/UIRadioBtn.h, Source/UI/Buttons/UIRadioButton.h, Source/UI/Buttons/UIReplayButton.h, Source/UI/Buttons/UISlotBmpButton.h, Source/UI/Buttons/UISpriteButton.h, Source/UI/Buttons/UITVBitmapButton.h, Source/UI/Buttons/UITVTextButton.h, Source/UI/Buttons/UITagButton.h, Source/UI/Buttons/UITextButton.h, Source/UI/CashEmotion/UICashEmotionPack.h, Source/UI/CashEmotion/UICashEmotionPiece.h, Source/UI/CashShop/UICashShopWnd.h, Source/UI/Chat/UIChatRoomMakeWnd.h, Source/UI/Chat/UIChatRoomTitle.h, Source/UI/Chat/UISubChatHisWnd.h, Source/UI/Chat/UIWhisperWnd.h, Source/UI/Clan/UIClanWnd.h, Source/UI/Dialogs/UIBookWnd.h, Source/UI/Dialogs/UIChooseWarpWnd.h, Source/UI/Dialogs/UIChooseWnd.h, Source/UI/Dialogs/UIDisconnectedServerMsgWnd.h, Source/UI/Dialogs/UIEmailAddressWnd.h, Source/UI/Dialogs/UIGraffiStrboxWnd.h, Source/UI/Dialogs/UILoadingWnd.h, Source/UI/Dialogs/UIMenuWnd.h, Source/UI/Dialogs/UINoticeConfirmWnd.h, Source/UI/Dialogs/UINotifyLevelUpWnd.h, Source/UI/Dialogs/UINotifyQuestWnd.h, Source/UI/Dialogs/UINpcEditDialogWnd.h, Source/UI/Dialogs/UIPasswordWnd.h, Source/UI/Dialogs/UIPetTamingDeceiveWnd.h, Source/UI/Dialogs/UIProhibitListWnd.h, Source/UI/Dialogs/UIQuitWnd.h, Source/UI/Dialogs/UIRestartWnd.h, Source/UI/Dialogs/UISayDialogWnd.h, Source/UI/Dialogs/UISelectCartWnd.h, Source/UI/Dialogs/UITipOfTheDayWnd.h, Source/UI/Dialogs/UITipboxWnd.h, Source/UI/Dialogs/UIToolTipWnd.h, Source/UI/Dialogs/UIWaitDBSaveWnd.h, Source/UI/Dialogs/UIWaitWnd.h, Source/UI/Edit/UICandidateWnd.h, Source/UI/Edit/UIEditBoxEx.h, Source/UI/Edit/UIEditCtrl.h, Source/UI/Edit/UIEditCtrl_Currency.h, Source/UI/Enchant/EnchantUI.h, Source/UI/EntryQueue/UIEntryQueueWnd.h, Source/UI/FrameSkin.h, Source/UI/GameSettings/GameSettingsUI.h, Source/UI/Guild/UIGuild_Storage_Log.h, Source/UI/Item/UIEquipmentPropertiesWnd.h, Source/UI/Item/UIItemBaseWnd.h, Source/UI/Item/UIItemPurchaseWnd.h, Source/UI/Item/UIItemSellWnd.h, Source/UI/Item/UIItemSellWnd2.h, Source/UI/Item/UIItemShopWnd.h, Source/UI/Item/UIItemShopWnd2.h, Source/UI/Item/UIItemStoreFindWnd.h, Source/UI/Item/UIItemStoreSubWnd.h, Source/UI/Item/UIItemStoreWnd.h, Source/UI/Item/UIItemWnd.h, Source/UI/Item/UIMerchantItemLogWnd.h, Source/UI/Items/MergeItemWnd.h, Source/UI/Items/UICardItemIllustWnd.h, Source/UI/Items/UIEquipWnd.h, Source/UI/Items/UIGameItem.h, Source/UI/Items/UIIllustWnd.h, Source/UI/Items/UIItemCollectionWnd.h, Source/UI/Items/UIItemIdentifyWnd.h, Source/UI/Items/UINotifyItemObtainWnd.h, Source/UI/Items/UISpellListWnd.h, Source/UI/Items/UISwapEquipmentWnd.h, Source/UI/Lists/TableBox.h, Source/UI/Lists/UIChatHisBox.h, Source/UI/Lists/UIComboBox.h, Source/UI/Lists/UIComboBoxDefWnd.h, Source/UI/Lists/UIComboBoxEx.h, Source/UI/Lists/UIComboBoxV2Wnd.h, Source/UI/Lists/UIComboBoxWnd.h, Source/UI/Lists/UIDropDownBox.h, Source/UI/Lists/UIItemStoreComboBox.h, Source/UI/Lists/UIListBox.h, Source/UI/Lists/UIListBoxEx.h, Source/UI/Lists/UIListBoxNavi.h, Source/UI/Lists/UIListBoxNaviSearch.h, Source/UI/Lists/UIListBoxTemplate.h, Source/UI/Lists/UIMemberListBox.h, Source/UI/Lists/UIPackageBoxNameList.h, Source/UI/Lists/UIReplayListBox.h, Source/UI/Lists/UIScrollBar.h, Source/UI/Lists/UIScrollBarNavi.h, Source/UI/Lists/UIScrollBarVariants.h, Source/UI/Lists/UITabControl.h, Source/UI/Lists/UIThumb.h, Source/UI/Lists/UITreeView.h, Source/UI/Lists/UIVScrollBar.h, Source/UI/Menu/UIMenuIconWnd.h, Source/UI/Navigation/UINavigationV4Wnd.h, Source/UI/Navigation/UIPrivateAirplaneWnd.h, Source/UI/Party/UIAdvenPartyBoardWnd.h, Source/UI/Party/UIApplyForPartyWnd.h, Source/UI/Party/UIMiniPartyWnd.h, Source/UI/Party/UIPartyInfoWnd.h, Source/UI/Party/UIPartySettingWnd.h, Source/UI/Party/UIRegisterPartyWnd.h, Source/UI/Party/UIRequestJoinPartyWnd.h, Source/UI/Quest/UIOngoingQuestInfo.h, Source/UI/Quest/UIQuestDisplay.h, Source/UI/Quest/UIRecommendedQuestInfo.h, Source/UI/Quest/UIRenewQuestUI.h, Source/UI/Quest/UIRenewQuestWnd.h, Source/UI/Rodex/UIRodexComposeWnd.h, Source/UI/RuneSystem/UIRuneSystemWnd.h, Source/UI/Shop/UIMerchantItemMyShopWnd.h, Source/UI/Shop/UIMerchantItemPurchaseMSGWnd.h, Source/UI/Shop/UIMerchantItemPurchaseWnd.h, Source/UI/Shop/UIMerchantItemShopWnd.h, Source/UI/Shop/UIMerchantItemWnd.h, Source/UI/Shop/UIMerchantMirrorItemWnd.h, Source/UI/Shop/UIMerchantShopTitle.h, Source/UI/Shop/UINoticeMessageBox_LockSellItem.h, Source/UI/Shop/UInCash_CallWnd.h, Source/UI/Shortcuts/UIQuickSlotWnd.h, Source/UI/Skill/UISkillDescribeWnd.h, Source/UI/Skill/UISkillListWnd.h, Source/UI/Skill/UISkillNameChangeWnd.h, Source/UI/SkillDelayInfo/SkillDelayInfo.h, Source/UI/Status/UIStatusWnd.h, Source/UI/StylingShop/UIStylingShopWnd.h, Source/UI/Text/UIAchWnd.h, Source/UI/Text/UIBalloonText.h, Source/UI/Text/UICharInfoBalloonText.h, Source/UI/Text/UINameBalloonText.h, Source/UI/Text/UIStaticText.h, Source/UI/Text/UIStaticTextControl.h, Source/UI/Text/UIStaticText_LF.h, Source/UI/Text/UIString.h, Source/UI/Text/UITagTextViewer.h, Source/UI/Text/UITextViewer.h, Source/UI/Text/UITextViewerControl.h, Source/UI/Text/UITransBalloonText.h, Source/UI/UIBarGraph.h, Source/UI/UIBartermarketWnd.h, Source/UI/UIBasicCtrl.h, Source/UI/UIBroadcastBalloon.h, Source/UI/UICaptchaPreviewWnd.h, Source/UI/UICaptchaRegisterWnd.h, Source/UI/UIChangeMaterialWnd.h, Source/UI/UICheckAttendanceWnd.h, Source/UI/UIGradeEnchantWnd.h, Source/UI/UIHotkeyGuideWnd.h, Source/UI/UIIngredientInfoWnd.h, Source/UI/UIItemReformWnd.h, Source/UI/UILapineScrollBar.h, Source/UI/UILapineUpgradeBoxWnd.h, Source/UI/UIMacroBlackListCheckWnd.h, Source/UI/UIMacroDetectorWnd.h, Source/UI/UIMacroUserInfoWnd.h, Source/UI/UIPreviewEquipWnd.h, Source/UI/UIRefiningWnd.h, Source/UI/UIReputeWnd.h, Source/UI/UIRoundBoxTooltipWnd.h, Source/UI/UIScrollWnd.h, Source/UI/UISlotBitmap.h, Source/UI/UIStaticBitmap.h, Source/UI/UIStaticItem.h, Source/UI/Window/UIAccountLimitedToolWnd.h, Source/UI/Window/UIBalloonOpenBtn.h, Source/UI/Window/UIBank_NewWnd.h, Source/UI/Window/UIBasicInfoWnd.h, Source/UI/Window/UIBattleMsgOptionWnd.h, Source/UI/Window/UIChangeNameWnd.h, Source/UI/Window/UIChatRoomWnd.h, Source/UI/Window/UICntWnd.h, Source/UI/Window/UICollectionSystemWnd.h, Source/UI/Window/UIControl.h, Source/UI/Window/UIDebuffRemoveWnd.h, Source/UI/Window/UIFrameWnd.h, Source/UI/Window/UIHomunInfoWnd.h, Source/UI/Window/UIHotKeyWnd.h, Source/UI/Window/UILoginOTPWnd.h, Source/UI/Window/UILoginWnd.h, Source/UI/Window/UIMakeCharWnd.h, Source/UI/Window/UIMerInfoWnd.h, Source/UI/Window/UIMessageBox.h, Source/UI/Window/UIMessageBoxAutoreturn.h, Source/UI/Window/UIMonsterDisplayWnd.h, Source/UI/Window/UIMonsterInfoWnd.h, Source/UI/Window/UINewMakeCharWnd.h, Source/UI/Window/UINormalMB.h, Source/UI/Window/UINoticeWnd.h, Source/UI/Window/UIPadding.h, Source/UI/Window/UIPayConfirmWnd.h, Source/UI/Window/UIPetInfoWnd.h, Source/UI/Window/UIReplayControlWnd.h, Source/UI/Window/UIReplayRECControlWnd.h, Source/UI/Window/UIResizer.h, Source/UI/Window/UISelectReplayDataWnd.h, Source/UI/Window/UISelectServerWnd.h, Source/UI/Window/UITab.h, Source/UI/Window/UITalkboxTrapInputWnd.h, Source/UI/Window/UIWindow.h, Source/UI/Window/UIWindowMgr.h, Source/UI/Window/UIWordDisplayWnd.h.
This commit is contained in:
ragnarok-clanker 2026-11-03 00:23:34 +00:00
commit 8ba9c6719a
391 changed files with 2203 additions and 2273 deletions

View file

@ -70,7 +70,7 @@ template <> AdventureGuide::CUITab* CUIListBox<AdventureGuide::CUITab>::CreateIt
// FUNCTION: fn_13993
// FUNCTION: fn_13994
template <class T> void CUIListBox<T>::Slot15(int width, int height) {
this->scrollBar = new CUIVScrollBar(*this->m_context);
this->scrollBar = new CUIVScrollBar();
this->scrollBar->Show(0);
this->scrollBar->SetOnChange([this](int position) {
int y = 0;
@ -99,7 +99,7 @@ template void CUIListBox<AdventureGuide::CUITab>::Slot15(int, int);
// FUNCTION: fn_13997
// FUNCTION: fn_13998
template <class T, class D> void CUIListBoxEx<T, D>::Slot15(int width, int height) {
this->scrollBar = new CUIVScrollBar(*this->m_context);
this->scrollBar = new CUIVScrollBar();
this->scrollBar->Show(0);
this->scrollBar->SetOnChange([this](int position) { this->OnScroll(position); });
this->AddChild(this->scrollBar);
@ -161,7 +161,7 @@ void CUIListBoxEx<AdventureGuide::CUITabInfo, Guide_Intro::Contents>::ClearItems
// OFFSET: 0x009C2D90
// FUNCTION: fn_13999
void CUIAdventureGuide::Slot15(int width, int height) {
this->background = new CUIStaticImage(*this->m_context);
this->background = new CUIStaticImage();
this->background->SetSize(750, 468);
this->background->Move(0, 0);
{
@ -175,7 +175,7 @@ void CUIAdventureGuide::Slot15(int width, int height) {
}
this->AddChild(this->background);
this->titleBar = new CUITitleBar(*this->m_context);
this->titleBar = new CUITitleBar();
this->titleBar->SetSize(750, 17);
this->titleBar->Move(0, 0);
{
@ -201,7 +201,7 @@ void CUIAdventureGuide::Slot15(int width, int height) {
}
this->AddChild(this->titleBar);
CUIStaticText* title = new CUIStaticText(*this->m_context);
CUIStaticText* title = new CUIStaticText();
title->SetSize(100, 17);
title->Move(18, 0);
title->SetText("", 0);
@ -222,7 +222,7 @@ void CUIAdventureGuide::Slot15(int width, int height) {
this->titleBar->titleText = title;
this->titleBar->AddChild(title);
CUIImageButton* menuButton = new CUIImageButton(*this->m_context);
CUIImageButton* menuButton = new CUIImageButton();
menuButton->SetSize(11, 11);
menuButton->Move(3, 3);
menuButton->SetOnClick([this]() { this->OnButtonClick(); });
@ -253,7 +253,7 @@ void CUIAdventureGuide::Slot15(int width, int height) {
}
this->titleBar->AddChild(menuButton);
CUIImageButton* closeButton = new CUIImageButton(*this->m_context);
CUIImageButton* closeButton = new CUIImageButton();
closeButton->SetSize(11, 11);
closeButton->Move(736, 3);
closeButton->SetOnClick([this]() { this->OnClose(); });
@ -286,12 +286,12 @@ void CUIAdventureGuide::Slot15(int width, int height) {
}
this->titleBar->SetSecondButton(closeButton);
this->characterInfo = new AdventureGuide::CUICharacterInfo(*this->m_context);
this->characterInfo = new AdventureGuide::CUICharacterInfo();
this->characterInfo->SetSize(161, 41);
this->characterInfo->Move(1, 19);
this->AddChild(this->characterInfo);
this->titleText = new CUIStaticText(*this->m_context);
this->titleText = new CUIStaticText();
this->titleText->SetSize(104, 20);
this->titleText->Move(362, 28);
this->titleText->SetText("", 0);
@ -312,27 +312,27 @@ void CUIAdventureGuide::Slot15(int width, int height) {
this->titleText->SetOutline(0, 0xFFFFFF);
this->AddChild(this->titleText);
this->intro = new AdventureGuide::CUIIntro(*this->m_context);
this->intro = new AdventureGuide::CUIIntro();
this->intro->SetSize(637, 373);
this->intro->Move(112, 63);
this->AddChild(this->intro);
this->quest = new AdventureGuide::CUIQuest(*this->m_context);
this->quest = new AdventureGuide::CUIQuest();
this->quest->SetSize(627, 387);
this->quest->Move(122, 81);
this->AddChild(this->quest);
this->monster = new AdventureGuide::CUIMonster(*this->m_context);
this->monster = new AdventureGuide::CUIMonster();
this->monster->SetSize(627, 387);
this->monster->Move(122, 81);
this->AddChild(this->monster);
this->item = new AdventureGuide::CUIItem(*this->m_context);
this->item = new AdventureGuide::CUIItem();
this->item->SetSize(627, 387);
this->item->Move(122, 81);
this->AddChild(this->item);
this->tabs = new CUIListBox<AdventureGuide::CUITab>(*this->m_context);
this->tabs = new CUIListBox<AdventureGuide::CUITab>();
this->tabs->SetSize(106, 372);
this->tabs->Move(1, 63);
this->tabs->SetOnSelect([this](AdventureGuide::CUITab* tab) { this->OnSelectTab(tab); });
@ -1081,13 +1081,13 @@ namespace AdventureGuide {
// OFFSET: 0x009C5400
// FUNCTION: fn_14000
void CUICharacterInfo::Slot15(int width, int height) {
this->jobIcon = new CUIStaticImage(*this->m_context);
this->jobIcon = new CUIStaticImage();
this->jobIcon->SetSize(25, 25);
this->jobIcon->Move(10, 8);
this->jobIcon->SetImage(std::string());
this->AddChild(this->jobIcon);
this->level = new CUIStaticText(*this->m_context);
this->level = new CUIStaticText();
this->level->SetSize(50, 12);
this->level->Move(46, 6);
this->level->SetText("", 0);
@ -1104,7 +1104,7 @@ void CUICharacterInfo::Slot15(int width, int height) {
this->level->SetOutline(0, 0xFFFFFF);
this->AddChild(this->level);
this->jobLevel = new CUIStaticText(*this->m_context);
this->jobLevel = new CUIStaticText();
this->jobLevel->SetSize(50, 12);
this->jobLevel->Move(97, 6);
this->jobLevel->SetText("", 0);
@ -1121,7 +1121,7 @@ void CUICharacterInfo::Slot15(int width, int height) {
this->jobLevel->SetOutline(0, 0xFFFFFF);
this->AddChild(this->jobLevel);
this->name = new CUIStaticText(*this->m_context);
this->name = new CUIStaticText();
this->name->SetSize(100, 12);
this->name->Move(45, 22);
this->name->SetText("", 0);
@ -1142,13 +1142,13 @@ void CUICharacterInfo::Slot15(int width, int height) {
// OFFSET: 0x009C8D00
// FUNCTION: fn_14003
void CUIItemInfo::Slot15(int width, int height) {
this->image = new CUIStaticImage(*this->m_context);
this->image = new CUIStaticImage();
this->image->SetSize(75, 100);
this->image->Move(45, 14);
this->image->SetImage(std::string());
this->AddChild(this->image);
this->nameText = new CUIStaticText(*this->m_context);
this->nameText = new CUIStaticText();
this->nameText->SetSize(280, 12);
this->nameText->Move(165, 13);
this->nameText->SetText("", 0);
@ -1169,7 +1169,7 @@ void CUIItemInfo::Slot15(int width, int height) {
this->nameText->SetOutline(0, 0xFFFFFF);
this->AddChild(this->nameText);
CUITextViewer* description = new CUITextViewer(*this->m_context);
CUITextViewer* description = new CUITextViewer();
this->unknown_00F0 = reinterpret_cast<CUIStaticText*>(description);
description->SetSize(173, 97);
description->Move(165, 26);
@ -1236,7 +1236,7 @@ void CUIItemInfo::Slot15(int width, int height) {
}
this->AddChild(description);
CUITextViewer* options = new CUITextViewer(*this->m_context);
CUITextViewer* options = new CUITextViewer();
this->unknown_00F4 = reinterpret_cast<CUIStaticText*>(options);
options->SetSize(115, 90);
options->Move(338, 26);
@ -1303,7 +1303,7 @@ void CUIItemInfo::Slot15(int width, int height) {
}
this->AddChild(options);
CUITextViewer* sources = new CUITextViewer(*this->m_context);
CUITextViewer* sources = new CUITextViewer();
this->unknown_00F8 = reinterpret_cast<CUIStaticText*>(sources);
sources->SetSize(108, 118);
sources->Move(480, 5);
@ -1374,7 +1374,7 @@ void CUIItemInfo::Slot15(int width, int height) {
// OFFSET: 0x009CC580
// FUNCTION: fn_14005
void CUIMonsterInfo::Slot15(int width, int height) {
this->unknown_00E8 = new CUIStaticText(*this->m_context);
this->unknown_00E8 = new CUIStaticText();
this->unknown_00E8->SetSize(280, 12);
this->unknown_00E8->Move(165, 19);
this->unknown_00E8->SetText("", 0);
@ -1395,7 +1395,7 @@ void CUIMonsterInfo::Slot15(int width, int height) {
this->unknown_00E8->SetOutline(0, 0xFFFFFF);
this->AddChild(this->unknown_00E8);
this->unknown_00EC = reinterpret_cast<CUIStaticText*>(new CUITextViewer(*this->m_context));
this->unknown_00EC = reinterpret_cast<CUIStaticText*>(new CUITextViewer());
reinterpret_cast<CUITextViewer*>(this->unknown_00EC)->SetSize(288, 84);
reinterpret_cast<CUITextViewer*>(this->unknown_00EC)->Move(165, 39);
reinterpret_cast<CUITextViewer*>(this->unknown_00EC)->SetTextOffset(0, 6);
@ -1465,7 +1465,7 @@ void CUIMonsterInfo::Slot15(int width, int height) {
}
this->AddChild(this->unknown_00EC);
this->unknown_00F0 = reinterpret_cast<CUIStaticText*>(new CUITextViewer(*this->m_context));
this->unknown_00F0 = reinterpret_cast<CUIStaticText*>(new CUITextViewer());
reinterpret_cast<CUITextViewer*>(this->unknown_00F0)->SetSize(108, 118);
reinterpret_cast<CUITextViewer*>(this->unknown_00F0)->Move(480, 5);
reinterpret_cast<CUITextViewer*>(this->unknown_00F0)->SetTextOffset(0, 6);
@ -1539,7 +1539,7 @@ void CUIMonsterInfo::Slot15(int width, int height) {
// OFFSET: 0x009CFAF0
// FUNCTION: fn_14007
void CUIQuestInfo::Slot15(int width, int height) {
this->unknown_00E8 = new CUIStaticImage(*this->m_context);
this->unknown_00E8 = new CUIStaticImage();
this->unknown_00E8->SetSize(85, 70);
this->unknown_00E8->Move(250, 10);
{
@ -1554,7 +1554,7 @@ void CUIQuestInfo::Slot15(int width, int height) {
}
this->AddChild(this->unknown_00E8);
this->unknown_00EC = reinterpret_cast<CUIStaticText*>(new CUITextViewer(*this->m_context));
this->unknown_00EC = reinterpret_cast<CUIStaticText*>(new CUITextViewer());
reinterpret_cast<CUITextViewer*>(this->unknown_00EC)->SetSize(360, 57);
reinterpret_cast<CUITextViewer*>(this->unknown_00EC)->Move(25, 13);
reinterpret_cast<CUITextViewer*>(this->unknown_00EC)->SetTextOffset(0, 0);
@ -1624,7 +1624,7 @@ void CUIQuestInfo::Slot15(int width, int height) {
}
this->AddChild(this->unknown_00EC);
this->unknown_00F0 = reinterpret_cast<CUIStaticText*>(new CUITextViewer(*this->m_context));
this->unknown_00F0 = reinterpret_cast<CUIStaticText*>(new CUITextViewer());
reinterpret_cast<CUITextViewer*>(this->unknown_00F0)->SetSize(200, 87);
reinterpret_cast<CUITextViewer*>(this->unknown_00F0)->Move(400, 5);
reinterpret_cast<CUITextViewer*>(this->unknown_00F0)->SetTextOffset(0, 6);
@ -1694,7 +1694,7 @@ void CUIQuestInfo::Slot15(int width, int height) {
}
this->AddChild(this->unknown_00F0);
this->unknown_00F4 = reinterpret_cast<CUIStaticText*>(new CUITextViewer(*this->m_context));
this->unknown_00F4 = reinterpret_cast<CUIStaticText*>(new CUITextViewer());
reinterpret_cast<CUITextViewer*>(this->unknown_00F4)->SetSize(360, 13);
reinterpret_cast<CUITextViewer*>(this->unknown_00F4)->Move(25, 73);
reinterpret_cast<CUITextViewer*>(this->unknown_00F4)->SetTextOffset(0, 0);
@ -1893,7 +1893,7 @@ namespace AdventureGuide {
// OFFSET: 0x009C1550
// FUNCTION: fn_13992
CUIListBox<CUISubTab>* CUITab::CreateSubTabList() {
this->subTabs = new CUIListBox<CUISubTab>(*this->m_context);
this->subTabs = new CUIListBox<CUISubTab>();
this->subTabs->SetSize(98, 26);
this->subTabs->Move(0, 40);
this->subTabs->SetOnSelect([this](CUISubTab* subTab) { this->OnSelectSubTab(subTab); });
@ -1999,7 +1999,7 @@ CUIAdventureGuide* CreateAdventureGuide() {
// FUNCTION: fn_14306
template <>
AdventureGuide::CUISubTab* CUIListBox<AdventureGuide::CUISubTab>::CreateItem() {
AdventureGuide::CUISubTab* item = new AdventureGuide::CUISubTab(*this->m_context);
AdventureGuide::CUISubTab* item = new AdventureGuide::CUISubTab();
item->SetSize(this->itemWidth, this->rowHeight);
item->Show(0);
CResPtr<CBitmapRes>* images = reinterpret_cast<CResPtr<CBitmapRes>*>(reinterpret_cast<std::uint8_t*>(this) + 0x80);
@ -2023,7 +2023,7 @@ AdventureGuide::CUISubTab* CUIListBox<AdventureGuide::CUISubTab>::CreateItem() {
// FUNCTION: fn_14307
template <>
AdventureGuide::CUITab* CUIListBox<AdventureGuide::CUITab>::CreateItem() {
AdventureGuide::CUITab* item = new AdventureGuide::CUITab(*this->m_context);
AdventureGuide::CUITab* item = new AdventureGuide::CUITab();
item->SetSize(this->itemWidth, this->rowHeight);
item->Show(0);
CResPtr<CBitmapRes>* images = reinterpret_cast<CResPtr<CBitmapRes>*>(reinterpret_cast<std::uint8_t*>(this) + 0x80);
@ -2141,7 +2141,7 @@ namespace AdventureGuide {
// OFFSET: 0x009C5BB0
// FUNCTION: fn_14001
void CUIIntro::Slot15(int width, int height) {
this->banner = new CUIStaticImage(*this->m_context);
this->banner = new CUIStaticImage();
this->banner->SetSize(630, 216);
this->banner->Move(0, 0);
{
@ -2154,13 +2154,13 @@ void CUIIntro::Slot15(int width, int height) {
}
this->AddChild(this->banner);
this->image = new CUIStaticImage(*this->m_context);
this->image = new CUIStaticImage();
this->image->SetSize(583, 162);
this->image->Move(22, 27);
this->image->SetImage(std::string());
this->AddChild(this->image);
this->contents = new CUIListBoxEx<CUITabInfo, Guide_Intro::Contents>(*this->m_context);
this->contents = new CUIListBoxEx<CUITabInfo, Guide_Intro::Contents>();
this->contents->itemWidth = 603;
this->contents->rowHeight = 44;
this->contents->SetSize(603, 166);
@ -2247,7 +2247,7 @@ void CUIIntro::Slot15(int width, int height) {
// OFFSET: 0x009C6F50
// FUNCTION: fn_14002
void CUIItem::Slot15(int width, int height) {
this->itemList = new CUIListBoxEx<CUIItemInfo, CItemData>(*this->m_context);
this->itemList = new CUIListBoxEx<CUIItemInfo, CItemData>();
this->itemList->itemWidth = 603;
this->itemList->rowHeight = 128;
this->itemList->SetSize(627, 355);
@ -2329,7 +2329,7 @@ void CUIItem::Slot15(int width, int height) {
this->itemList->AddNewItem();
this->AddChild(this->itemList);
this->unknown_0084 = new CUIImageButton(*this->m_context);
this->unknown_0084 = new CUIImageButton();
this->unknown_0084->SetSize(62, 20);
this->unknown_0084->Move(471, 363);
this->unknown_0084->SetOnClick([this]() { this->RequestNavigation(); });
@ -2363,7 +2363,7 @@ void CUIItem::Slot15(int width, int height) {
}
this->AddChild(this->unknown_0084);
this->unknown_0088 = new CUIImageButton(*this->m_context);
this->unknown_0088 = new CUIImageButton();
this->unknown_0088->SetSize(62, 20);
this->unknown_0088->Move(540, 363);
this->unknown_0088->SetOnClick([this]() { this->SearchNavigation(); });
@ -2402,7 +2402,7 @@ void CUIItem::Slot15(int width, int height) {
// OFFSET: 0x009CDD40
// FUNCTION: fn_14006
void CUIQuest::Slot15(int width, int height) {
this->questList = new CUIListBoxEx<CUIQuestInfo, CQuestInfo>(*this->m_context);
this->questList = new CUIListBoxEx<CUIQuestInfo, CQuestInfo>();
this->questList->itemWidth = 603;
this->questList->rowHeight = 97;
this->questList->SetSize(627, 355);
@ -2484,7 +2484,7 @@ void CUIQuest::Slot15(int width, int height) {
this->questList->AddNewItem();
this->AddChild(this->questList);
this->unknown_0084 = new CUIImageButton(*this->m_context);
this->unknown_0084 = new CUIImageButton();
this->unknown_0084->SetSize(62, 20);
this->unknown_0084->Move(471, 363);
this->unknown_0084->SetOnClick([this]() { this->RequestNavigation(); });
@ -2518,7 +2518,7 @@ void CUIQuest::Slot15(int width, int height) {
}
this->AddChild(this->unknown_0084);
this->unknown_0088 = new CUIImageButton(*this->m_context);
this->unknown_0088 = new CUIImageButton();
this->unknown_0088->SetSize(62, 20);
this->unknown_0088->Move(540, 363);
this->unknown_0088->SetOnClick([this]() { this->SearchNavigation(); });
@ -2557,7 +2557,7 @@ void CUIQuest::Slot15(int width, int height) {
// OFFSET: 0x009CAE30
// FUNCTION: fn_14004
void CUIMonster::Slot15(int width, int height) {
this->monsterList = new CUIListBoxEx<CUIMonsterInfo, CMonsterData>(*this->m_context);
this->monsterList = new CUIListBoxEx<CUIMonsterInfo, CMonsterData>();
this->monsterList->itemWidth = 603;
this->monsterList->rowHeight = 128;
this->monsterList->SetSize(627, 355);
@ -2639,7 +2639,7 @@ void CUIMonster::Slot15(int width, int height) {
this->monsterList->AddNewItem();
this->AddChild(this->monsterList);
this->unknown_0084 = new CUIImageButton(*this->m_context);
this->unknown_0084 = new CUIImageButton();
this->unknown_0084->SetSize(62, 20);
this->unknown_0084->Move(540, 363);
this->unknown_0084->SetOnClick([this]() { this->SearchNavigation(); });