]> git.sur5r.net Git - cc65/blobdiff - src/common/tgttrans.h
add gotox, gotoy, and gotoxy
[cc65] / src / common / tgttrans.h
index e11d80adb51634188b2cd795920f122a709abc4c..e4f08f71a3bab4463db1ce3977e984a51a2c54a2 100644 (file)
@@ -1,15 +1,15 @@
 /*****************************************************************************/
 /*                                                                           */
-/*                               tgttrans.h                                 */
+/*                                tgttrans.h                                 */
 /*                                                                           */
-/*                        Character set translation                         */
+/*                         Character set translation                         */
 /*                                                                           */
 /*                                                                           */
 /*                                                                           */
-/* (C) 2000     Ullrich von Bassewitz                                        */
-/*              Wacholderweg 14                                              */
-/*              D-70597 Stuttgart                                            */
-/* EMail:       uz@musoftware.de                                             */
+/* (C) 2000-2012, Ullrich von Bassewitz                                      */
+/*                Roemerstrasse 52                                           */
+/*                D-70794 Filderstadt                                        */
+/* EMail:         uz@cc65.org                                                */
 /*                                                                           */
 /*                                                                           */
 /* This software is provided 'as-is', without any expressed or implied       */
 
 
 
+/* common */
+#include "strbuf.h"
+
+
+
 /*****************************************************************************/
-/*                                          Code                                    */
+/*                                   Code                                    */
 /*****************************************************************************/
 
 
@@ -52,16 +57,19 @@ int TgtTranslateChar (int C);
  * system character set.
  */
 
-char* TgtTranslateStr (char* S);
-/* Translate a complete string from the source character set into the target
- * system character set.
- */
-
 void TgtTranslateBuf (void* Buf, unsigned Len);
 /* Translate a buffer of the given length from the source character set into
  * the target system character set.
  */
 
+void TgtTranslateStrBuf (StrBuf* Buf);
+/* Translate a string buffer from the source character set into the target
+ * system character set.
+ */
+
+void TgtTranslateSet (unsigned Index, unsigned char C);
+/* Set the translation code for the given character */
+
 
 
 /* End of tgttrans.h */