aboutsummaryrefslogtreecommitdiffstats
path: root/demos
diff options
context:
space:
mode:
authorJoel Bodenmann <joel@unormal.org>2012-12-03 22:54:49 +0100
committerJoel Bodenmann <joel@unormal.org>2012-12-03 22:54:49 +0100
commit09fc35864aa695cc46dcb95ed3951a365622b709 (patch)
tree3ddf6ab5df736bbea7ea814e3cc86b49587fa187 /demos
parentff8f6e4409b976a726a9523951e5ed33d9de7d94 (diff)
downloaduGFX-09fc35864aa695cc46dcb95ed3951a365622b709.tar.gz
uGFX-09fc35864aa695cc46dcb95ed3951a365622b709.tar.bz2
uGFX-09fc35864aa695cc46dcb95ed3951a365622b709.zip
title justify to left instead of center in ginput touch code
Diffstat (limited to 'demos')
-rw-r--r--demos/modules/ginput_touch_driver_test/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/modules/ginput_touch_driver_test/main.c b/demos/modules/ginput_touch_driver_test/main.c
index d586ee6f..78f29f86 100644
--- a/demos/modules/ginput_touch_driver_test/main.c
+++ b/demos/modules/ginput_touch_driver_test/main.c
@@ -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);