27 lines
484 B
C++
27 lines
484 B
C++
#ifndef CONTENT_BROWSER_HPP
|
|
#define CONTENT_BROWSER_HPP
|
|
|
|
#include "open_engine/renderer/texture.hpp"
|
|
#include <filesystem>
|
|
|
|
namespace OpenEngine {
|
|
|
|
class EditorLayer;
|
|
|
|
class ContentBrowserPanel
|
|
{
|
|
public:
|
|
ContentBrowserPanel();
|
|
|
|
void OnImGuiRender();
|
|
|
|
private:
|
|
std::filesystem::path current_directory;
|
|
Ref<Texture2D> folder_icon;
|
|
Ref<Texture2D> file_icon;
|
|
};
|
|
|
|
}
|
|
|
|
#endif // CONTENT_BROWSER_HPP
|