32 ImFont* font_ =
nullptr;
class for convenient use of ImGui::PushFont / ImGui::PopFont with ribbon fonts
Definition MRRibbonFontHolder.h:13
MRVIEWER_API ~RibbonFontHolder()
MRVIEWER_API RibbonFontHolder(const RibbonFontManager::FontType &fontType, float scale, bool pushOnCreate)
FontType
Font types used in current design.
Definition MRRibbonFontManager.h:20
MRVIEWER_API void popFont()
check the font for existence and pop it
MRVIEWER_API void pushFont()
check the font for existence and push it
bool isPushed()
font is pushed
Definition MRRibbonFontHolder.h:29
MRVIEWER_API RibbonFontHolder(const RibbonFontManager::FontType &fontType)
MRVIEWER_API RibbonFontHolder(const RibbonFontManager::FontType &fontType, float scale)
only for bindings generation
Definition MRCameraOrientationPlugin.h:8