aboutsummaryrefslogtreecommitdiffstats
path: root/demos/games
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2018-07-08 12:50:05 +1000
committerinmarket <andrewh@inmarket.com.au>2018-07-08 12:50:05 +1000
commita24fab0d7217aaae1463f62d5d1381ef820cfa17 (patch)
tree73f3bb1b93d13d9ee4161e0a994e5b53f70af93b /demos/games
parent2e8eaa34717f99c9696867b62ff5f19e76a7ccf8 (diff)
downloaduGFX-a24fab0d7217aaae1463f62d5d1381ef820cfa17.tar.gz
uGFX-a24fab0d7217aaae1463f62d5d1381ef820cfa17.tar.bz2
uGFX-a24fab0d7217aaae1463f62d5d1381ef820cfa17.zip
Added type gFontmetric to replace V2.x fontmetric_t, and values gFontXXX replace fontXXX
Diffstat (limited to 'demos/games')
-rw-r--r--demos/games/tetris/tetris.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/games/tetris/tetris.c b/demos/games/tetris/tetris.c
index 5beae2e9..e24c5122 100644
--- a/demos/games/tetris/tetris.c
+++ b/demos/games/tetris/tetris.c
@@ -262,7 +262,7 @@ static void printGameOver(void) {
}
static void printTouchAreas(void) {
- gdispDrawStringBox(0, 0, gdispGetWidth(), gdispGetFontMetric(font16, fontHeight), "Touch Area's", font16, GFX_WHITE, gJustifyCenter);
+ gdispDrawStringBox(0, 0, gdispGetWidth(), gdispGetFontMetric(font16, gFontHeight), "Touch Area's", font16, GFX_WHITE, gJustifyCenter);
gdispDrawStringBox(0, 0, gdispGetWidth(), gdispGetHeight()/4, "Pause", font16, GFX_GRAY, gJustifyCenter);
gdispDrawStringBox(0, gdispGetHeight()/4, gdispGetWidth(), gdispGetHeight()/2, "Rotate", font16, GFX_GRAY, gJustifyCenter);
gdispDrawStringBox(0, gdispGetHeight()-(gdispGetHeight()/4), gdispGetWidth()/4, gdispGetHeight()/4, "Left", font16, GFX_GRAY, gJustifyCenter);