You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
/******************************************************************************
|
|
|
|
|
* 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 <core/iRunMode.h>
|
|
|
|
|
#include <utils/opRes.h>
|
|
|
|
|
|
|
|
|
|
namespace lunarium
|
|
|
|
|
{
|
|
|
|
|
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;
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endif // EDITOR_H_
|