|
Pebble Foundation Classes
0.2.0
C++ for Pebble
|

Typedefs | |
| typedef struct FontInfo | FontInfo |
| typedef FontInfo * | GFont |
Functions | |
| GFont | fonts_get_system_font (const char *font_key) |
| GFont | fonts_load_custom_font (ResHandle handle) |
| void | fonts_unload_custom_font (GFont font) |
| typedef FontInfo* GFont |
Pointer to opaque font data structure.
| GFont fonts_get_system_font | ( | const char * | font_key | ) |
Loads a system font corresponding to the specified font key.
| font_key | The string key of the font to load. See System Fonts guide for a list of system fonts. |
Loads a custom font.
| handle | The resource handle of the font to load. See resource_ids.auto.h for a list of resource IDs, and use resource_get_handle() to obtain the resource handle. |
| void fonts_unload_custom_font | ( | GFont | font | ) |
Unloads the specified custom font and frees the memory that is occupied by it.
| font | The font to unload. |