This commit is contained in:
Isuru Samarathunga
2025-11-11 09:24:14 +05:30
parent 67cb23d589
commit 9d6f525b81
33 changed files with 654 additions and 285 deletions

View File

@ -18,6 +18,11 @@
namespace ia::iae
{
struct AssetCacheEntry
{
};
VOID View_Asset::Initialize()
{
SetName("Asset");
@ -32,6 +37,33 @@ namespace ia::iae
{
PreRender();
if(m_assetPath.empty())
{
PostRender();
return;
}
ImGui::Text("%s", m_assetPath.filename().string().c_str());
PostRender();
}
VOID View_Asset::Update()
{
}
VOID View_Asset::OnEvent(IN SDL_Event *event)
{
}
VOID View_Asset::Open(IN Path path)
{
Close();
m_assetPath = path;
}
VOID View_Asset::Close()
{
m_assetPath = Path();
}
} // namespace ia::iae