title justify to left instead of center in ginput touch code

ugfx_release_2.6
Joel Bodenmann 2012-12-03 22:54:49 +01:00
parent ff8f6e4409
commit 09fc35864a
1 changed files with 2 additions and 2 deletions

View File

@ -71,7 +71,7 @@ int main(void) {
ghNext = ghPrev = 0;
// Create our title
gdispFillStringBox(0, 0, swidth, 20, "Touch Calibration", &fontUI2, Red, White, justifyCenter);
gdispFillStringBox(0, 0, swidth, 20, "Touch Calibration", &fontUI2, Red, White, justifyLeft);
// Create our main display window
ghc = gwinCreateConsole(&gc, 0, 20, swidth, sheight-20, &fontUI2);
@ -246,7 +246,7 @@ StepCalibrate:
}
// Calibration used the whole screen - re-establish our title
gdispFillStringBox(0, 0, swidth, 20, "Touch Calibration", &fontUI2, Green, White, justifyCenter);
gdispFillStringBox(0, 0, swidth, 20, "Touch Calibration", &fontUI2, Green, White, justifyLeft);
gwinButtonDraw(ghNext);
gwinButtonDraw(ghPrev);