mirror of https://github.com/AxioDL/metaforce.git
Set up editor for font cache test
This commit is contained in:
parent
64d62220fe
commit
63069c34ac
|
@ -24,7 +24,11 @@ struct Application : boo::IApplicationCallback
|
||||||
m_clearColor = cvar->toColor();
|
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)
|
int appMain(boo::IApplication* app)
|
||||||
{
|
{
|
||||||
|
@ -36,6 +40,9 @@ struct Application : boo::IApplicationCallback
|
||||||
if (tmp)
|
if (tmp)
|
||||||
tmp->addListener(listen);
|
tmp->addListener(listen);
|
||||||
|
|
||||||
|
boo::IGraphicsDataFactory* gf = m_mainWindow->getMainContextDataFactory();
|
||||||
|
m_fontCache.prepMainFont(gf);
|
||||||
|
|
||||||
while (m_running)
|
while (m_running)
|
||||||
{
|
{
|
||||||
m_cvarManager.update();
|
m_cvarManager.update();
|
||||||
|
|
2
NODLib
2
NODLib
|
@ -1 +1 @@
|
||||||
Subproject commit 7429c9b682b2c16c18fb4757c55a2198d956feda
|
Subproject commit d94e89990fcc5e51ae5420bef78e1a414b7aa373
|
2
hecl
2
hecl
|
@ -1 +1 @@
|
||||||
Subproject commit 52b3252c2c66edbc153ebf6a43619b17421da742
|
Subproject commit e0f1c2ee109aa92927f7457c61f5040344d613fc
|
|
@ -1 +1 @@
|
||||||
Subproject commit e35bef89c5d80d5037ef2af87cf193d051f6eb8a
|
Subproject commit 48782c134ad666097e98e1a2794ef95537bdde43
|
Loading…
Reference in New Issue