You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

170 lines
4.5 KiB

  1. /*
  2. * libcaca Colour ASCII-Art library
  3. * Copyright (c) 2002-2009 Sam Hocevar <sam@hocevar.net>
  4. * All Rights Reserved
  5. *
  6. * $Id$
  7. *
  8. * This library is free software. It comes without any warranty, to
  9. * the extent permitted by applicable law. You can redistribute it
  10. * and/or modify it under the terms of the Do What The Fuck You Want
  11. * To Public License, Version 2, as published by Sam Hocevar. See
  12. * http://sam.zoy.org/wtfpl/COPYING for more details.
  13. */
  14. /*
  15. * This header contains a conio.h reimplementation.
  16. */
  17. #ifndef __CACA_CONIO_H__
  18. #define __CACA_CONIO_H__
  19. #include <caca.h>
  20. #if !defined _DOXYGEN_SKIP_ME && !defined __LIBCACA__
  21. # undef BLINK
  22. # define BLINK CACA_CONIO_BLINK
  23. # undef BLACK
  24. # define BLACK CACA_CONIO_BLACK
  25. # undef BLUE
  26. # define BLUE CACA_CONIO_BLUE
  27. # undef GREEN
  28. # define GREEN CACA_CONIO_GREEN
  29. # undef CYAN
  30. # define CYAN CACA_CONIO_CYAN
  31. # undef RED
  32. # define RED CACA_CONIO_RED
  33. # undef MAGENTA
  34. # define MAGENTA CACA_CONIO_MAGENTA
  35. # undef BROWN
  36. # define BROWN CACA_CONIO_BROWN
  37. # undef LIGHTGRAY
  38. # define LIGHTGRAY CACA_CONIO_LIGHTGRAY
  39. # undef DARKGRAY
  40. # define DARKGRAY CACA_CONIO_DARKGRAY
  41. # undef LIGHTBLUE
  42. # define LIGHTBLUE CACA_CONIO_LIGHTBLUE
  43. # undef LIGHTGREEN
  44. # define LIGHTGREEN CACA_CONIO_LIGHTGREEN
  45. # undef LIGHTCYAN
  46. # define LIGHTCYAN CACA_CONIO_LIGHTCYAN
  47. # undef LIGHTRED
  48. # define LIGHTRED CACA_CONIO_LIGHTRED
  49. # undef LIGHTMAGENTA
  50. # define LIGHTMAGENTA CACA_CONIO_LIGHTMAGENTA
  51. # undef YELLOW
  52. # define YELLOW CACA_CONIO_YELLOW
  53. # undef WHITE
  54. # define WHITE CACA_CONIO_WHITE
  55. #endif
  56. #if !defined _DOXYGEN_SKIP_ME && !defined __LIBCACA__
  57. # undef _NOCURSOR
  58. # define _NOCURSOR CACA_CONIO__NOCURSOR
  59. # undef _SOLIDCURSOR
  60. # define _SOLIDCURSOR CACA_CONIO__SOLIDCURSOR
  61. # undef _NORMALCURSOR
  62. # define _NORMALCURSOR CACA_CONIO__NORMALCURSOR
  63. #endif
  64. #if !defined _DOXYGEN_SKIP_ME && !defined __LIBCACA__
  65. # undef LASTMODE
  66. # define LASTMODE CACA_CONIO_LASTMODE
  67. # undef BW40
  68. # define BW40 CACA_CONIO_BW40
  69. # undef C40
  70. # define C40 CACA_CONIO_C40
  71. # undef BW80
  72. # define BW80 CACA_CONIO_BW80
  73. # undef C80
  74. # define C80 CACA_CONIO_C80
  75. # undef MONO
  76. # define MONO CACA_CONIO_MONO
  77. # undef C4350
  78. # define C4350 CACA_CONIO_C4350
  79. #endif
  80. #if !defined _DOXYGEN_SKIP_ME && !defined __LIBCACA__
  81. # undef directvideo
  82. # define directvideo caca_conio_directvideo
  83. # undef text_info
  84. # define text_info caca_conio_text_info
  85. # undef _wscroll
  86. # define _wscroll caca_conio__wscroll
  87. #endif
  88. #if !defined _DOXYGEN_SKIP_ME && !defined __LIBCACA__
  89. # undef cgets
  90. # define cgets caca_conio_cgets
  91. # undef clreol
  92. # define clreol caca_conio_clreol
  93. # undef clrscr
  94. # define clrscr caca_conio_clrscr
  95. # undef cprintf
  96. # define cprintf caca_conio_cprintf
  97. # undef cputs
  98. # define cputs caca_conio_cputs
  99. # undef cscanf
  100. # define cscanf caca_conio_cscanf
  101. # undef delay
  102. # define delay caca_conio_delay
  103. # undef delline
  104. # define delline caca_conio_delline
  105. # undef getch
  106. # define getch caca_conio_getch
  107. # undef getche
  108. # define getche caca_conio_getche
  109. # undef getpass
  110. # define getpass caca_conio_getpass
  111. # undef gettext
  112. # define gettext caca_conio_gettext
  113. # undef gettextinfo
  114. # define gettextinfo caca_conio_gettextinfo
  115. # undef gotoxy
  116. # define gotoxy caca_conio_gotoxy
  117. # undef highvideo
  118. # define highvideo caca_conio_highvideo
  119. # undef insline
  120. # define insline caca_conio_insline
  121. # undef kbhit
  122. # define kbhit caca_conio_kbhit
  123. # undef lowvideo
  124. # define lowvideo caca_conio_lowvideo
  125. # undef movetext
  126. # define movetext caca_conio_movetext
  127. # undef normvideo
  128. # define normvideo caca_conio_normvideo
  129. # undef nosound
  130. # define nosound caca_conio_nosound
  131. # undef printf
  132. # define printf caca_conio_printf
  133. # undef putch
  134. # define putch caca_conio_putch
  135. # undef puttext
  136. # define puttext caca_conio_puttext
  137. # undef _setcursortype
  138. # define _setcursortype caca_conio__setcursortype
  139. # undef sleep
  140. # define sleep caca_conio_sleep
  141. # undef sound
  142. # define sound caca_conio_sound
  143. # undef textattr
  144. # define textattr caca_conio_textattr
  145. # undef textbackground
  146. # define textbackground caca_conio_textbackground
  147. # undef textcolor
  148. # define textcolor caca_conio_textcolor
  149. # undef textmode
  150. # define textmode caca_conio_textmode
  151. # undef ungetch
  152. # define ungetch caca_conio_ungetch
  153. # undef wherex
  154. # define wherex caca_conio_wherex
  155. # undef wherey
  156. # define wherey caca_conio_wherey
  157. # undef window
  158. # define window caca_conio_window
  159. #endif
  160. #endif /* __CACA_CONIO_H__ */