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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user