-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patheditor.hpp
49 lines (36 loc) · 1.01 KB
/
editor.hpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
#ifndef __EDITOR_HPP__
#define __EDITOR_HPP__
#include <memory>
#include <vector>
#include "imgui.h"
#include "imgui_impl_glfw.h"
#include "imgui_impl_opengl3.h"
#include <GL/glew.h>
#include <GLFW/glfw3.h>
#include "app.hpp"
#include "meta.hpp"
#include "tools/logger.hpp"
#include "core/window/base.hpp"
#include "core/window/glfw.hpp"
#include "core/render/api.hpp"
#include "core/scene/scene.hpp"
#include "core/object/object.hpp"
#include "core/graphics/cameras/camera.hpp"
using namespace Tool::Logger;
namespace Engine {
class EngineApplication;
namespace Editor {
class EngineEditor {
private:
EngineApplication *app = nullptr;
void SelectEntity(std::shared_ptr<Object>);
void DrawSceneGraph(std::shared_ptr<Scene::Node>);
public:
std::unique_ptr<Logger> logger = std::make_unique<Logger>("editor");
void Startup(EngineApplication *);
void Update();
void Shutdown();
};
}
}
#endif