Changeset View
Changeset View
Standalone View
Standalone View
src/ui_interface.cpp
Show First 20 Lines • Show All 90 Lines • ▼ Show 20 Lines | void CClientUIInterface::BannedListChanged() { | ||||
return g_ui_signals.BannedListChanged(); | return g_ui_signals.BannedListChanged(); | ||||
} | } | ||||
bool InitError(const bilingual_str &str) { | bool InitError(const bilingual_str &str) { | ||||
uiInterface.ThreadSafeMessageBox(str, "", CClientUIInterface::MSG_ERROR); | uiInterface.ThreadSafeMessageBox(str, "", CClientUIInterface::MSG_ERROR); | ||||
return false; | return false; | ||||
} | } | ||||
void InitWarning(const std::string &str) { | void InitWarning(const bilingual_str &str) { | ||||
uiInterface.ThreadSafeMessageBox(Untranslated(str), "", | uiInterface.ThreadSafeMessageBox(str, "", CClientUIInterface::MSG_WARNING); | ||||
CClientUIInterface::MSG_WARNING); | |||||
} | } |