10#include "../Resources.hpp"
16class LowLevelRenderer;
84 void FileNameWindowClosed(
const std::string& name);
100 bool changeScene =
false;
101 std::string resourcePath =
"";
102 std::string* scene =
nullptr;
105 static const int splitterSize = 2;
106 int resourceHeight = 250;
107 bool resourceResize =
false;
109 int sceneWidth = 250;
110 bool sceneResize =
false;
112 int editorWidth = 250;
113 bool editorResize =
false;
A window that asks the user for the name of the folder to create.
Definition: FolderNameWindow.hpp:8
Used to import GLTF models.
Definition: GLTFEditor.hpp:8
Displays all the hymn's resources.
Definition: ResourceView.hpp:21
bool HasMadeChanges() const
Checks if any changes has been made to the current scene.
Definition: ResourceView.cpp:149
ResourceView(Utility::Window *window, Video::LowLevelRenderer *lowLevelRenderer)
Create new resource view.
Definition: ResourceView.cpp:28
void SetVisible(bool visible)
Set whether the resource list should be visible.
Definition: ResourceView.cpp:179
void ResetScene()
Reset which scene is open.
Definition: ResourceView.cpp:200
bool IsVisible() const
Get whether the resource list is visible.
Definition: ResourceView.cpp:175
SceneEditor & GetScene()
Return Scene Editor.
Definition: ResourceView.cpp:205
void SaveScene() const
Save the currently active scene.
Definition: ResourceView.cpp:191
void Show()
Show the resource list.
Definition: ResourceView.cpp:36
int GetEditorWidth() const
Get the width of the right-side editor (entity, script, etc.).
Definition: ResourceView.cpp:209
Json::Value GetSceneJson(std::string *filename) const
Get a json representing the scene.
Definition: ResourceView.cpp:195
void HideEditors()
Hide all editors.
Definition: ResourceView.cpp:183
A window that asks the user if they want to save before quitting.
Definition: SavePromptWindow.hpp:9
Used to edit a scene.
Definition: SceneEditor.hpp:11
Used to edit a script.
Definition: ScriptEditor.hpp:9
Used to edit a sound.
Definition: SoundEditor.hpp:7
Used to edit a texture.
Definition: TextureEditor.hpp:10
Definition: Window.hpp:14
Low level renderer abstracting the underlaying graphics API (OpenGL or Vulkan).
Definition: LowLevelRenderer.hpp:27
Definition: AssetEditor.hpp:9
Definition: ResourceView.hpp:12
Definition: Editor.hpp:18
A folder containing resources.
Definition: Resources.hpp:50
A resource.
Definition: Resources.hpp:23