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

class for convenient use of ImGui::PushFont / ImGui::PopFont with ribbon fonts More...

#include <MRViewer/MRRibbonFontHolder.h>

Public Member Functions

 RibbonFontHolder (const RibbonFontManager::FontType &fontType)
 RibbonFontHolder (const RibbonFontManager::FontType &fontType, float scale)
 RibbonFontHolder (const RibbonFontManager::FontType &fontType, float scale, bool pushOnCreate)
 ~RibbonFontHolder ()
void pushFont ()
 check the font for existence and push it
void popFont ()
 check the font for existence and pop it
bool isPushed ()
 font is pushed

Detailed Description

class for convenient use of ImGui::PushFont / ImGui::PopFont with ribbon fonts


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