Update widgets demo for new fonts

This commit is contained in:
inmarket 2013-07-29 16:21:36 +10:00
parent be8b3cd210
commit 3ac4e9e789
2 changed files with 3 additions and 6 deletions

View File

@ -57,11 +57,8 @@
#define GDISP_NEED_MSGAPI FALSE #define GDISP_NEED_MSGAPI FALSE
/* Builtin Fonts */ /* Builtin Fonts */
#define GDISP_INCLUDE_FONT_SMALL FALSE #define GDISP_INCLUDE_FONT_DEJAVUSANS12 TRUE
#define GDISP_INCLUDE_FONT_LARGER FALSE #define GDISP_NEED_ANTIALIAS TRUE
#define GDISP_INCLUDE_FONT_UI1 FALSE
#define GDISP_INCLUDE_FONT_UI2 TRUE
#define GDISP_INCLUDE_FONT_LARGENUMBERS FALSE
/* GDISP image decoders */ /* GDISP image decoders */
#define GDISP_NEED_IMAGE_NATIVE FALSE #define GDISP_NEED_IMAGE_NATIVE FALSE

View File

@ -226,7 +226,7 @@ int main(void) {
gfxInit(); gfxInit();
// Set the widget defaults // Set the widget defaults
gwinSetDefaultFont(gdispOpenFont("UI2")); gwinSetDefaultFont(gdispOpenFont("*"));
gwinSetDefaultStyle(&WhiteWidgetStyle, FALSE); gwinSetDefaultStyle(&WhiteWidgetStyle, FALSE);
gdispClear(White); gdispClear(White);