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 <MRRibbonFontHolder.h>

Public Member Functions

MRVIEWER_API RibbonFontHolder (const RibbonFontManager::FontType &fontType)
 
MRVIEWER_API RibbonFontHolder (const RibbonFontManager::FontType &fontType, float scale)
 
MRVIEWER_API RibbonFontHolder (const RibbonFontManager::FontType &fontType, float scale, bool pushOnCreate)
 
MRVIEWER_API ~RibbonFontHolder ()
 
MRVIEWER_API void pushFont ()
 check the font for existence and push it
 
MRVIEWER_API 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: