29 MRVIEWER_API
static void load();
31 MRVIEWER_API
static void free();
43 std::unique_ptr<ImGuiImage> colored;
44 std::unique_ptr<ImGuiImage> white;
56 using SizedIcons = std::array<Icons, size_t( Sizes::Count )>;
58 static const char* sizeSubFolder_( Sizes sz );
60 const ImGuiImage* findRequiredSize_(
const SizedIcons& icons,
float width, ColorType colorType, IconType iconType )
const;
62 void load_( IconType type );
66 enum class AvailableColor
73 std::filesystem::path pathDirectory;
75 std::pair<Sizes, Sizes> minMaxSizes;
76 AvailableColor availableColor = AvailableColor::White;
77 HashMap<std::string, SizedIcons> map;
80 std::array<IconTypeData, size_t( IconType::Count )> data_;