MeshLib C++ Docs
Loading...
Searching...
No Matches
MR::RibbonIcons Class Reference

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 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: