2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 09:47:43 +00:00

Submodule updates and initial locale files

This commit is contained in:
Jack Andersen
2015-12-05 15:27:02 -10:00
parent 4e9c51f4af
commit 1dca105792
11 changed files with 219 additions and 40 deletions

34
Editor/ViewManager.hpp Normal file
View File

@@ -0,0 +1,34 @@
#ifndef RUDE_VIEW_MANAGER_HPP
#define RUDE_VIEW_MANAGER_HPP
#include <Specter/Specter.hpp>
#include <HECL/CVarManager.hpp>
namespace RUDE
{
class ViewManager : Specter::IViewManager
{
HECL::CVarManager& m_cvarManager;
Specter::FontCache m_fontCache;
Specter::ViewResources m_viewResources;
std::unique_ptr<boo::IWindow> m_mainWindow;
std::unique_ptr<Specter::RootView> m_rootView;
HECL::CVar* m_cvDPI;
HECL::CVar* m_test1;
HECL::CVar* m_test2;
void SetupRootView();
public:
ViewManager(HECL::Runtime::FileStoreManager& fileMgr, HECL::CVarManager& cvarMgr)
: m_cvarManager(cvarMgr), m_fontCache(fileMgr) {}
void init(boo::IApplication* app);
bool proc();
void stop();
};
}
#endif // RUDE_VIEW_MANAGER_HPP