Batch #5053 by Yommy: 0 byte-identical, 9 confirmed by peer review. - fn_12659 UIBattleMsgOptionWnd::Paint: logic confirmed by peer review - fn_12660 UIChangeNameWnd::Paint: logic confirmed by peer review - fn_12661 UICharInfoBalloonText::Paint: logic confirmed by peer review - fn_12662 UIEscOptionWnd::Paint: logic confirmed by peer review - fn_12664 UIJobListWnd::Paint: logic confirmed by peer review - fn_12666 UIMiniBtnWnd::Paint: logic confirmed by peer review - fn_12667 UINavigationHelpWnd::Paint: logic confirmed by peer review - fn_12669 UINewChatWnd::Paint: logic confirmed by peer review - fn_12670 UIPartyBookingHelpWnd::Paint: logic confirmed by peer review Peer-reviewed-by: youko, Bruwuno, SapitoSucio Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes). Adds to the build: Source/UI/Text/UICharInfoBalloonText.cpp, Source/UI/Window/UIChangeNameWnd.cpp, Source/UI/Window/UIEscOptionWnd.cpp, Source/UI/Window/UIJobListWnd.cpp, Source/UI/Window/UIMiniBtnWnd.cpp, Source/UI/Window/UINavigationHelpWnd.cpp, Source/UI/Window/UIPartyBookingHelpWnd.cpp
18 lines
637 B
C++
18 lines
637 B
C++
#include "UI/Window/UIEscOptionWnd.h"
|
|
|
|
#include "Client/Session.h"
|
|
#include "Contents/MessageTable.h"
|
|
#include "File/ShortcutFilename.h"
|
|
#include "UI/Buttons/UIButton.h"
|
|
#include "Utility/Text/FormatString.h"
|
|
|
|
#include <string>
|
|
|
|
// OFFSET: 0x0092BDE0
|
|
// FUNCTION: fn_12662
|
|
void UIEscOptionWnd::Paint() {
|
|
const std::string name = ShortcutFilename(g_session.m_gid);
|
|
const std::string title = FormatOwnedString("%s (%s)", LookupMessage(1483), name.c_str());
|
|
this->m_titleHeight = this->DrawTitleBar(this->m_controls->fonts, this->m_controls->locale, true, title.c_str(), 0);
|
|
this->DrawPanelBackground(this->m_titleHeight, 0, "");
|
|
}
|