From edca940a86a6944b600f9ba0e1e645e20723ce8a Mon Sep 17 00:00:00 2001 From: uz Date: Sun, 31 Jul 2011 22:17:21 +0000 Subject: [PATCH] Declaration of tgi_settextdir() added. git-svn-id: svn://svn.cc65.org/cc65/trunk@5101 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- asminc/tgi-kernel.inc | 1 + include/tgi.h | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/asminc/tgi-kernel.inc b/asminc/tgi-kernel.inc index 15a32e8bf..6eabe9a3b 100644 --- a/asminc/tgi-kernel.inc +++ b/asminc/tgi-kernel.inc @@ -224,6 +224,7 @@ TGI_CLIP_TOP = $08 .global _tgi_setdrawpage .global _tgi_setpalette .global _tgi_setpixel + .global _tgi_settextdir .global _tgi_settextscale .global _tgi_settextstyle .global _tgi_setviewpage diff --git a/include/tgi.h b/include/tgi.h index bd312dc63..bfb5b861b 100644 --- a/include/tgi.h +++ b/include/tgi.h @@ -228,6 +228,11 @@ void __fastcall__ tgi_pieslice (int x, int y, unsigned char rx, unsigned char ry void __fastcall__ tgi_bar (int x1, int y1, int x2, int y2); /* Draw a bar (a filled rectangle) using the current color. */ +void __fastcall__ tgi_settextdir (unsigned char dir); +/* Set the direction for text output. dir is one of the TGI_TEXT_XXX + * constants. + */ + void __fastcall__ tgi_settextscale (unsigned width, unsigned height); /* Set the scaling for text output. The scaling factors for width and height * are 8.8 fixed point values. This means that $100 = 1 $200 = 2 etc.