title justify to left instead of center in ginput touch code

This commit is contained in:
Joel Bodenmann 2012-12-03 22:54:49 +01:00
parent ff8f6e4409
commit 09fc35864a

View File

@ -71,7 +71,7 @@ int main(void) {
ghNext = ghPrev = 0; ghNext = ghPrev = 0;
// Create our title // 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 // Create our main display window
ghc = gwinCreateConsole(&gc, 0, 20, swidth, sheight-20, &fontUI2); ghc = gwinCreateConsole(&gc, 0, 20, swidth, sheight-20, &fontUI2);
@ -246,7 +246,7 @@ StepCalibrate:
} }
// Calibration used the whole screen - re-establish our title // 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(ghNext);
gwinButtonDraw(ghPrev); gwinButtonDraw(ghPrev);