mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-30 13:57:59 +03:00
removed custom messageBox implementation for console
This commit is contained in:
parent
276a9db6f7
commit
09a258253c
1 changed files with 0 additions and 12 deletions
|
@ -15,9 +15,6 @@ namespace MWGui
|
||||||
|
|
||||||
ConsoleInterpreterContext (Console& console, MWWorld::Environment& environment,
|
ConsoleInterpreterContext (Console& console, MWWorld::Environment& environment,
|
||||||
MWWorld::Ptr reference);
|
MWWorld::Ptr reference);
|
||||||
|
|
||||||
virtual void messageBox (const std::string& message,
|
|
||||||
const std::vector<std::string>& buttons);
|
|
||||||
};
|
};
|
||||||
|
|
||||||
ConsoleInterpreterContext::ConsoleInterpreterContext (Console& console,
|
ConsoleInterpreterContext::ConsoleInterpreterContext (Console& console,
|
||||||
|
@ -27,15 +24,6 @@ namespace MWGui
|
||||||
mConsole (console)
|
mConsole (console)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
void ConsoleInterpreterContext::messageBox (const std::string& message,
|
|
||||||
const std::vector<std::string>& buttons)
|
|
||||||
{
|
|
||||||
if (!buttons.empty())
|
|
||||||
mConsole.printError ("MessageBox doesn't support buttons while in console mode");
|
|
||||||
else
|
|
||||||
mConsole.printOK (message);
|
|
||||||
}
|
|
||||||
|
|
||||||
bool Console::compile (const std::string& cmd, Compiler::Output& output)
|
bool Console::compile (const std::string& cmd, Compiler::Output& output)
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue