Vital
|
A singleton class providing access to a set of custom fonts. More...
#include <fonts.h>
Public Member Functions | |
virtual | ~Fonts () |
Destructor. | |
Font & | proportional_regular () |
Returns a reference to the proportional regular font. | |
Font & | proportional_light () |
Returns a reference to the proportional light font. | |
Font & | proportional_title () |
Returns a reference to the proportional title (light) font. | |
Font & | proportional_title_regular () |
Returns a reference to the proportional title (regular) font. | |
Font & | monospace () |
Returns a reference to the monospace font. | |
Static Public Member Functions | |
static Fonts * | instance () |
Gets the singleton instance of the Fonts class. | |
A singleton class providing access to a set of custom fonts.
This class loads and stores various typefaces used throughout the UI. It provides a consistent source for fonts, including regular, light, title, and monospace variants.
|
inlinevirtual |
Destructor.
|
inlinestatic |
|
inline |
Returns a reference to the monospace font.
|
inline |
Returns a reference to the proportional light font.
|
inline |
Returns a reference to the proportional regular font.
|
inline |
Returns a reference to the proportional title (light) font.
|
inline |
Returns a reference to the proportional title (regular) font.