]> git.sur5r.net Git - cc65/commitdiff
Adjustments to recent adding of get/set prefix to tgi function names.
authorol.sc <ol.sc@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Tue, 29 Nov 2011 21:36:42 +0000 (21:36 +0000)
committerol.sc <ol.sc@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Tue, 29 Nov 2011 21:36:42 +0000 (21:36 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@5305 b7a2c559-68d2-44c3-8de9-860c34a00d81

doc/funcref.sgml
include/tgi.h

index 55790877efece3a38b1eb8cde1e460696fa90639..f65ed77936a9d1947151077eea962ff2c82f1057 100644 (file)
@@ -541,9 +541,9 @@ communication.
 <item><ref id="tgi_setpalette" name="tgi_setpalette">
 <item><ref id="tgi_setpixel" name="tgi_setpixel">
 <item><ref id="tgi_setviewpage" name="tgi_setviewpage">
-<item><ref id="tgi_textheight" name="tgi_textheight">
-<item><ref id="tgi_textstyle" name="tgi_textstyle">
-<item><ref id="tgi_textwidth" name="tgi_textwidth">
+<item><ref id="tgi_gettextheight" name="tgi_gettextheight">
+<item><ref id="tgi_settextstyle" name="tgi_settextstyle">
+<item><ref id="tgi_gettextwidth" name="tgi_gettextwidth">
 <item><ref id="tgi_uninstall" name="tgi_uninstall">
 <item><ref id="tgi_unload" name="tgi_unload">
 </itemize>
@@ -5987,14 +5987,14 @@ tgi_setviewpage(0); // Show page 0
 </descrip>
 </quote>
 
-<sect1>tgi_textheight<label id="tgi_textheight"><p>
+<sect1>tgi_gettextheight<label id="tgi_gettextheight"><p>
 
 <quote>
 <descrip>
 <tag/Function/Calculate the height of the text in pixels according to
 the current text style.
 <tag/Header/<tt/<ref id="tgi.h" name="tgi.h">/
-<tag/Declaration/<tt/unsigned __fastcall__ tgi_textheight (const char* s);/
+<tag/Declaration/<tt/unsigned __fastcall__ tgi_gettextheight (const char* s);/
 <tag/Description/Calculate the height of the text in pixels according to
 the current text style.
 <tag/Limits/<itemize>
@@ -6007,13 +6007,13 @@ be used in presence of a prototype.
 </descrip>
 </quote>
 
-<sect1>tgi_textstyle<label id="tgi_textstyle"><p>
+<sect1>tgi_settextstyle<label id="tgi_settextstyle"><p>
 
 <quote>
 <descrip>
 <tag/Function/Set the style for text output.
 <tag/Header/<tt/<ref id="tgi.h" name="tgi.h">/
-<tag/Declaration/<tt/void __fastcall__ tgi_textstyle (unsigned char magx, unsigned char magy, unsigned char dir);/
+<tag/Declaration/<tt/void __fastcall__ tgi_settextstyle (unsigned char magx, unsigned char magy, unsigned char dir);/
 <tag/Description/Set the style for text output.
 <tag/Limits/<itemize>
 <item>The function is only available as fastcall function, so it may only
@@ -6025,13 +6025,13 @@ be used in presence of a prototype.
 </descrip>
 </quote>
 
-<sect1>tgi_textwidth<label id="tgi_textwidth"><p>
+<sect1>tgi_gettextwidth<label id="tgi_gettextwidth"><p>
 
 <quote>
 <descrip>
 <tag/Function/Calculate the width of the text in pixels according to the current text style.
 <tag/Header/<tt/<ref id="tgi.h" name="tgi.h">/
-<tag/Declaration/<tt/unsigned __fastcall__ tgi_textwidth (const char* s);/
+<tag/Declaration/<tt/unsigned __fastcall__ tgi_gettextwidth (const char* s);/
 <tag/Function/Calculate the width of the text in pixels according to the current text style.
 <tag/Header/<tt/<ref id="tgi.h" name="tgi.h">/
 <tag/Description/Calculate the width of the text in pixels according to the current text style.
index bfb5b861b5528993a5540fc302addbd0301a4031..d16c30c0bb340339d41adbe15913e966489f5eba 100644 (file)
 
 
 
-/* Font constants for use with tgi_textstyle */
+/* Font constants for use with tgi_settextstyle */
 #define TGI_FONT_BITMAP         0
 #define TGI_FONT_VECTOR         1
 
-/* Direction constants for use with tgi_textstyle */
+/* Direction constants for use with tgi_settextstyle */
 #define TGI_TEXT_HORIZONTAL     0
 #define TGI_TEXT_VERTICAL       1