diff options
Diffstat (limited to 'ui/icon.h')
-rw-r--r-- | ui/icon.h | 38 |
1 files changed, 19 insertions, 19 deletions
@@ -1,19 +1,19 @@ -#pragma once
-
-#include <filesystem>
-#include <glArrays.h>
-#include <glm/glm.hpp>
-
-class Image;
-
-class Icon {
-public:
- explicit Icon(const std::filesystem::path & fileName);
- explicit Icon(const Image & image);
-
- void Bind() const;
- const glm::vec2 size;
-
-private:
- glTexture m_texture;
-};
+#pragma once + +#include <filesystem> +#include <glArrays.h> +#include <glm/glm.hpp> + +class Image; + +class Icon { +public: + explicit Icon(const std::filesystem::path & fileName); + explicit Icon(const Image & image); + + void Bind() const; + const glm::vec2 size; + +private: + glTexture m_texture; +}; |