this class holds icons for ribbon items More...
#include <MRRibbonIcons.h>
Public Types | |
| enum class | ColorType { ColorType::Colored , ColorType::White } |
| enum class | IconType { IconType::RibbonItemIcon , IconType::ObjectTypeIcon , IconType::IndependentIcons , IconType::Logos , IconType::Count } |
Static Public Member Functions | |
| static MRVIEWER_API void | load () |
| this should be called once on start of program (called in RibbonMenu::init) | |
| static MRVIEWER_API void | free () |
| this should be called once before program stops (called in RibbonMenu::shutdown) | |
| static MRVIEWER_API const ImGuiImage * | findByName (const std::string &name, float width, ColorType colorType, IconType iconType) |
| finds icon with best fitting size, if there is no returns nullptr | |
this class holds icons for ribbon items