Maintenance: [forced, user-approved] Family D5: remove UITextViewerContext and TextViewerActions entirely. UITextViewer ctor 0x86F0A0
Batch #10206 by ragnarok-clanker: forced by an admin (4 lower score(s), 20 changed function(s)); checked with 36 compiled unit(s), including every includer of Source/UI/Acceptance/UIJoinPartyAcceptWnd.h, Source/UI/Dialogs/UIBookWnd.h, Source/UI/Dialogs/UIDisconnectedServerMsgWnd.h, Source/UI/Dialogs/UINoticeConfirmWnd.h, Source/UI/Dialogs/UIWaitWnd.h, Source/UI/EntryQueue/UIEntryQueueWnd.h, Source/UI/Party/UIRequestJoinPartyWnd.h, Source/UI/Text/UITextViewer.h, Source/UI/Window/UIAccountLimitedToolWnd.h, Source/UI/Window/UIMessageBox.h, Source/UI/Window/UINavigationHelpWnd.h, Source/UI/Window/UINormalMB.h, Source/UI/Window/UIPartyBookingHelpWnd.h.
This commit is contained in:
parent
d95073881e
commit
cc8a43db9f
23 changed files with 56 additions and 90 deletions
|
|
@ -684,7 +684,7 @@ void UIMessageBox::Configure(
|
|||
inset = image->geometry.width + image->geometry.x;
|
||||
}
|
||||
|
||||
this->viewer = new UITextViewer(*this->m_context, this->m_dialog->text);
|
||||
this->viewer = new UITextViewer(*this->m_context);
|
||||
this->viewer->Configure(inset + 10, 22, width - inset - 20, height - 55, 0);
|
||||
this->viewer->backgroundColor = Palette(ResourceMgr::Instance(), 2, 2) | 0xFF000000u;
|
||||
this->viewer->Invalidate();
|
||||
|
|
@ -773,7 +773,7 @@ int UIMessageBox::SendMsg(UIWindow* sender, int message, std::intptr_t a, std::i
|
|||
return 0;
|
||||
case 98:
|
||||
if (a == 426) {
|
||||
ShellExecuteA(this->m_dialog->text.applicationWindow, "open", LookupMessage(3445), nullptr, nullptr, SW_SHOWNORMAL);
|
||||
ShellExecuteA(hWnd, "open", LookupMessage(3445), nullptr, nullptr, SW_SHOWNORMAL);
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue