ngscopeclient 0.1-dev+51fbda87c
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
FontManager Class Reference

Public Member Functions

bool UpdateFonts (PreferenceCategory &root, float contentScale)
 Check for changes to our fonts and, if any are found, reload. More...
 
ImFont * GetFont (FontDescription desc)
 Gets the font, if any, for the provided description.
 

Protected Member Functions

void AddFontDescriptions (PreferenceCategory &cat, std::set< FontDescription > &fonts)
 Get the font descriptions for each preference category.
 

Protected Attributes

std::map< FontDescription, ImFont * > m_fonts
 

Member Function Documentation

◆ UpdateFonts()

bool FontManager::UpdateFonts ( PreferenceCategory root,
float  contentScale 
)

Check for changes to our fonts and, if any are found, reload.

Returns
True if changes were made to the font atlas

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