2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-08 21:07:42 +00:00

Add graphics platform name to window title

This commit is contained in:
2016-08-04 20:21:19 -07:00
parent 1fce6a7535
commit 02a79b4c80
6 changed files with 15 additions and 3 deletions

View File

@@ -71,7 +71,7 @@ bool ProjectManager::newProject(const hecl::SystemString& path)
saveProject();
hecl::SystemString windowTitle(m_proj->getProjectRootPath().getLastComponent());
windowTitle += _S(" - URDE");
windowTitle += _S(" - URDE [") + hecl::SystemString(m_vm.platformName()) + _S("]");
m_vm.m_mainWindow->setTitle(windowTitle.c_str());
m_vm.DismissSplash();
m_vm.FadeInEditors();
@@ -143,7 +143,7 @@ makeProj:
{
hecl::SystemString windowTitle(m_proj->getProjectRootPath().getLastComponent());
windowTitle += _S(" - URDE");
windowTitle += _S(" - URDE [") + hecl::SystemString(m_vm.platformName()) + _S("]");
m_vm.m_mainWindow->setTitle(windowTitle.c_str());
}
m_vm.DismissSplash();