diff options
author | inmarket <andrewh@inmarket.com.au> | 2018-07-08 12:19:30 +1000 |
---|---|---|
committer | inmarket <andrewh@inmarket.com.au> | 2018-07-08 12:19:30 +1000 |
commit | 2e8eaa34717f99c9696867b62ff5f19e76a7ccf8 (patch) | |
tree | 5842c0ccaaffd195430b83fd2bd9211bd6f1fffe /demos/modules/gdisp/multiple_displays | |
parent | 788cbced624d83a4c493182fde15cfa244910294 (diff) | |
download | uGFX-2e8eaa34717f99c9696867b62ff5f19e76a7ccf8.tar.gz uGFX-2e8eaa34717f99c9696867b62ff5f19e76a7ccf8.tar.bz2 uGFX-2e8eaa34717f99c9696867b62ff5f19e76a7ccf8.zip |
Added type gJustify to replace V2.x justify_t, and values gJustifyXXX replace justifyXXX
Diffstat (limited to 'demos/modules/gdisp/multiple_displays')
-rw-r--r-- | demos/modules/gdisp/multiple_displays/main.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/demos/modules/gdisp/multiple_displays/main.c b/demos/modules/gdisp/multiple_displays/main.c index b753fc04..5df0e479 100644 --- a/demos/modules/gdisp/multiple_displays/main.c +++ b/demos/modules/gdisp/multiple_displays/main.c @@ -72,10 +72,10 @@ sprintg(buf, "Display %u", display); if (width < 128) { gdispGDrawBox(g, 0, 0, width/2, height/2, GFX_YELLOW); - gdispGFillStringBox(g, 0, height/2, width, height/2, buf, f, GFX_BLACK, GFX_BLUE, justifyCenter); + gdispGFillStringBox(g, 0, height/2, width, height/2, buf, f, GFX_BLACK, GFX_BLUE, gJustifyCenter); } else { gdispGDrawBox(g, 10, 10, width/2, height/2, GFX_YELLOW); - gdispGFillStringBox(g, width/2, height/2, width/2-10, height/2-10, buf, f, GFX_WHITE, GFX_BLUE, justifyCenter); + gdispGFillStringBox(g, width/2, height/2, width/2-10, height/2-10, buf, f, GFX_WHITE, GFX_BLUE, gJustifyCenter); } gdispGDrawLine(g, 5, 30, width-50, height-40, GFX_RED); @@ -115,10 +115,10 @@ sprintg(buf, "Display %u", display); if (width < 128) { gdispDrawBox(0, 0, width/2, height/2, GFX_YELLOW); - gdispFillStringBox(0, height/2, width, height/2, buf, f, GFX_BLACK, GFX_BLUE, justifyCenter); + gdispFillStringBox(0, height/2, width, height/2, buf, f, GFX_BLACK, GFX_BLUE, gJustifyCenter); } else { gdispDrawBox(10, 10, width/2, height/2, GFX_YELLOW); - gdispFillStringBox(width/2, height/2, width/2-10, height/2-10, buf, f, GFX_WHITE, GFX_BLUE, justifyCenter); + gdispFillStringBox(width/2, height/2, width/2-10, height/2-10, buf, f, GFX_WHITE, GFX_BLUE, gJustifyCenter); } gdispDrawLine(5, 30, width-50, height-40, GFX_RED); |