From eee44300618560ed0360c8d1c7c59e1e25f492f2 Mon Sep 17 00:00:00 2001 From: uz Date: Thu, 5 Nov 2009 20:32:17 +0000 Subject: [PATCH] Added a tgi_pieslice function. git-svn-id: svn://svn.cc65.org/cc65/trunk@4449 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- asminc/tgi-kernel.inc | 1 + doc/funcref.sgml | 50 ++++++++++++++++++++++++++++-- include/tgi.h | 8 +++++ libsrc/tgi/Makefile | 3 +- libsrc/tgi/tgi_pieslice.c | 65 +++++++++++++++++++++++++++++++++++++++ 5 files changed, 124 insertions(+), 3 deletions(-) create mode 100644 libsrc/tgi/tgi_pieslice.c diff --git a/asminc/tgi-kernel.inc b/asminc/tgi-kernel.inc index f48eea6d4..aca55de56 100644 --- a/asminc/tgi-kernel.inc +++ b/asminc/tgi-kernel.inc @@ -180,6 +180,7 @@ TGI_TEXT_VERTICAL = 1 .global _tgi_load_driver .global _tgi_outtext .global _tgi_outtextxy + .global _tgi_pieslice .global _tgi_setcolor .global _tgi_setdrawpage .global _tgi_setpalette diff --git a/doc/funcref.sgml b/doc/funcref.sgml index 13293d6b8..adbd7eeaa 100644 --- a/doc/funcref.sgml +++ b/doc/funcref.sgml @@ -4879,10 +4879,10 @@ be used in presence of a prototype. / - @@ -4896,6 +4896,7 @@ of range. , , , +, /* Draw the upper half of an ellipse */ @@ -4947,6 +4948,7 @@ be used in presence of a prototype. , , , +, tgi_setcolor(TGI_COLOR_BLACK); @@ -4974,6 +4976,7 @@ be used in presence of a prototype. + tgi_done