- editor project
- build system fixes
- dummy data editor panels mock
This commit is contained in:
2026-09-16 02:28:42 -07:00
parent 169ff4a277
commit dffb7b7972
11 changed files with 241 additions and 9 deletions
+30
View File
@@ -0,0 +1,30 @@
#pragma once
#include <sophia/frame_info.hpp>
#include <sophia/ui/panel.hpp>
#include <string>
#include <vector>
class AssetBrowserPanel : public sophia::Panel {
public:
AssetBrowserPanel() : Panel{"Asset Browser"} {}
void onUpdate(const sophia::FrameInfo& frameInfo) override;
private:
struct Folder {
std::string name;
std::vector<std::string> files;
};
std::vector<Folder> folders = {
{"Models", {"player_capsule.fbx", "ground_plane.fbx", "enemy_grunt.fbx"}},
{"Textures",
{"brick_diffuse.png", "grass_albedo.png", "player_diffuse.png"}},
{"Materials", {"player_mat.mat", "ground_mat.mat"}},
{"Scripts", {"PlayerController.lua", "EnemyAI.lua"}},
{"Scenes", {"MainMenu.scene", "Level_01.scene"}},
};
int selectedFolder = 0;
};