/****************************************************************************** * File - editor.h * Author - Joey Pollack * Date - 2021/11/01 (y/m/d) * Mod Date - 2021/11/01 (y/m/d) * Description - Entry point for the editor run mode. ******************************************************************************/ #ifndef EDITOR_H_ #define EDITOR_H_ #include #include #include namespace lunarium { class Panel; class MainPanel; class Editor : public iRunMode { public: Editor(); OpRes Initialize(); void Shutdown(); void OnTick(double delta); void OnRender(IGraphics* g); uint32_t GetLogCat() const; private: Editor(const Editor&) = delete; const Editor& operator=(const Editor&) = delete; private: // Data uint32_t mLogCat; MainPanel* mpMainPanel; std::vector mpPanels; private: // HELPERS void CreatePanels(); }; } #endif // EDITOR_H_