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 | |
class for convenient use of ImGui::PushFont / ImGui::PopFont with ribbon fonts