00001 00038 #include <stdint.h> 00039 #include <stdbool.h> 00040 #include <stddef.h> 00041 #include <assert.h> 00042 00043 #include <app/sysfont.h> 00044 00045 #include <gfx/gfx.h> 00046 #include <gfx/sysfont.h> 00047 00060 // Use macro from "app/sysfont.h" to define font glyph data. 00061 SYSFONT_DEFINE_GLYPHS; 00062 00068 struct font sysfont = { 00069 .type = FONT_LOC_PROGMEM, 00070 .width = SYSFONT_WIDTH, 00071 .height = SYSFONT_HEIGHT, 00072 .scale = 1, 00073 .first_char = SYSFONT_FIRSTCHAR, 00074 .last_char = SYSFONT_LASTCHAR, 00075 .data = { 00076 .progmem = sysfont_glyphs, 00077 }, 00078 }; 00079
1.6.3