mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 01:07:43 +00:00
Set up editor for font cache test
This commit is contained in:
@@ -24,7 +24,11 @@ struct Application : boo::IApplicationCallback
|
||||
m_clearColor = cvar->toColor();
|
||||
}
|
||||
|
||||
Application() : m_fileMgr(_S("rude")), m_fontCache(m_fileMgr), m_rootView(m_fontCache), m_cvarManager(m_fileMgr){}
|
||||
Application() :
|
||||
m_fileMgr(_S("rude")),
|
||||
m_fontCache(m_fileMgr),
|
||||
m_rootView(m_fontCache),
|
||||
m_cvarManager(m_fileMgr){}
|
||||
|
||||
int appMain(boo::IApplication* app)
|
||||
{
|
||||
@@ -36,6 +40,9 @@ struct Application : boo::IApplicationCallback
|
||||
if (tmp)
|
||||
tmp->addListener(listen);
|
||||
|
||||
boo::IGraphicsDataFactory* gf = m_mainWindow->getMainContextDataFactory();
|
||||
m_fontCache.prepMainFont(gf);
|
||||
|
||||
while (m_running)
|
||||
{
|
||||
m_cvarManager.update();
|
||||
|
||||
2
NODLib
2
NODLib
Submodule NODLib updated: 7429c9b682...d94e89990f
2
hecl
2
hecl
Submodule hecl updated: 52b3252c2c...e0f1c2ee10
Submodule libSpecter updated: e35bef89c5...48782c134a
Reference in New Issue
Block a user