MeshLib C++ Docs
Loading...
Searching...
No Matches

this class holds icons for ribbon items More...

#include <MRViewer/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 void load ()
 this should be called once on start of program (called in RibbonMenu::init)
static void free ()
 this should be called once before program stops (called in RibbonMenu::shutdown)
static const ImGuiImagefindByName (const std::string &name, float width, ColorType colorType, IconType iconType)
 finds icon with best fitting size, if there is no returns nullptr

Detailed Description

this class holds icons for ribbon items


The documentation for this class was generated from the following file: