#pragma once #include "imgui_wrap.h" #include #include #include class Image; class Icon { public: explicit Icon(const std::filesystem::path & fileName); explicit Icon(const Image & image); const glm::vec2 size; ImTextureID operator*() const; private: glTexture m_texture; };