2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 23:47:43 +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

@@ -299,6 +299,8 @@ void ViewManager::init(boo::IApplication* app)
float pixelFactor = 1.0;
m_mainBooFactory = m_mainWindow->getMainContextDataFactory();
m_mainPlatformName = m_mainBooFactory->platformName();
m_mainWindow->setTitle(_S("URDE [") + hecl::SystemString(m_mainPlatformName) + _S("]"));
m_mainCommandQueue = m_mainWindow->getCommandQueue();
m_viewResources.init(m_mainBooFactory, &m_fontCache, &m_themeData, pixelFactor);
m_iconsToken = InitializeIcons(m_viewResources);