From 3e8ebf3133ece10efc8cf9219dafc02e780bc3ab Mon Sep 17 00:00:00 2001 From: Aki Date: Sat, 21 May 2022 21:17:27 +0200 Subject: Added naive icons loading --- Icons.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Icons.h (limited to 'Icons.h') diff --git a/Icons.h b/Icons.h new file mode 100644 index 0000000..367d9aa --- /dev/null +++ b/Icons.h @@ -0,0 +1,17 @@ +#pragma once + +#include + +#include + + +class Icons +{ +public: + Icons(); + ~Icons(); + void reset(); + Texture2D find(long int type); +private: + std::unordered_map m_cache; +}; -- cgit v1.1