|
Wrath of Zeus
Made by Torchlight Games for CSE 125 SP24
|
#include <loader.hpp>
Public Member Functions | |
| Loader ()=default | |
| bool | init () |
| const Character & | loadChar (char c, Font font) const |
Handles loading all of the fonts we want to use, and provides an interface to get the Character information (e.g. opengl texture and sizing information).
|
default |
| bool gui::font::Loader::init | ( | ) |
Initializes all of the font information for every font we want to use and stores it inside of the font map data member.
Loads the specified character with the specified font and size
| c | ASCII char to load |
| font | Abstract font to use. |