#pragma once #include "Panel.h" #include #include namespace Light { class AssetBrowserPanel: public Panel { private: enum AssetType { None = 0, Directory, Text, Image, }; public: AssetBrowserPanel(); void OnUserInterfaceUpdate(); private: std::filesystem::path m_CurrentDirectory; const std::filesystem::path m_AssetsPath; // TODO: Save configuration uint32_t m_FileSize = 128u; uint32_t m_FilePadding = 8u; Ref m_DirectoryTexture; Ref m_ImageTexture; Ref m_TextTexture; }; } // namespace Light