diff --git a/Editor/main.cpp b/Editor/main.cpp index 9549c75ca..181fd2997 100644 --- a/Editor/main.cpp +++ b/Editor/main.cpp @@ -34,7 +34,7 @@ struct Application : boo::IApplicationCallback int(dpi), HECL::CVar::EFlags::Editor); boo::IGraphicsDataFactory* gf = m_mainWindow->getMainContextDataFactory(); - m_viewResources.init(gf, &m_fontCache, dpi); + m_viewResources.init(gf, &m_fontCache, Specter::ThemeData(), dpi); m_rootView.reset(new Specter::RootView(m_viewResources, m_mainWindow)); m_mainWindow->setWaitCursor(false); @@ -46,7 +46,8 @@ struct Application : boo::IApplicationCallback if (cvDPI->isModified()) { dpi = cvDPI->toInteger(); - m_viewResources.init(gf, &m_fontCache, dpi); + m_viewResources.resetDPI(dpi); + m_rootView->resetResources(m_viewResources); cvDPI->clearModified(); } m_rootView->dispatchEvents(); @@ -80,7 +81,7 @@ int main(int argc, const boo::SystemChar** argv) LogVisor::RegisterConsoleLogger(); RUDE::Application appCb; int ret = ApplicationRun(boo::IApplication::EPlatformType::Auto, - appCb, _S("rude"), _S("RUDE"), argc, argv); + appCb, _S("rude"), _S("RUDE"), argc, argv, false); printf("IM DYING!!\n"); return ret; } diff --git a/hecl b/hecl index 7bbe4278b..1cdcaa712 160000 --- a/hecl +++ b/hecl @@ -1 +1 @@ -Subproject commit 7bbe4278b5fc7c700c746896b9b758d534a9301e +Subproject commit 1cdcaa7120afaab130abcf98911fee59b4e5cb30 diff --git a/libSpecter b/libSpecter index 0354ff796..a112732fb 160000 --- a/libSpecter +++ b/libSpecter @@ -1 +1 @@ -Subproject commit 0354ff796aae39ac57062bc548d2a74b6c3c2bf1 +Subproject commit a112732fb59abb619c90bc4b002194b7f9b61680