Update widgets demo for new fonts
This commit is contained in:
parent
be8b3cd210
commit
3ac4e9e789
@ -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
|
||||||
|
@ -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);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user