home *** CD-ROM | disk | FTP | other *** search
/ Aminet 18 / aminetcdnumber181997.iso / Aminet / misc / emu / AROSdev.lha / AROS / config / amiga / graphics_driver.c next >
Encoding:
C/C++ Source or Header  |  1996-11-27  |  3.8 KB  |  186 lines

  1.  
  2. #define DEBUG_FreeMem 1
  3.  
  4. #include <stdlib.h>
  5. #include <stdio.h>
  6. #include <string.h>
  7. #include <exec/memory.h>
  8. #include <clib/exec_protos.h>
  9. #include <graphics/rastport.h>
  10. #include <graphics/gfxbase.h>
  11. #include <graphics/text.h>
  12. #include <clib/graphics_protos.h>
  13. #include <clib/aros_protos.h>
  14. #include "graphics_intern.h"
  15.  
  16. #define static    /* nothing */
  17.  
  18. extern void _aros_not_implemented(void);
  19.  
  20. int driver_init (struct GfxBase * GfxBase)
  21. {
  22.     fprintf(stderr, "gfx driver init function goes here\n");
  23.     return FALSE;
  24. }
  25.  
  26. int driver_open (struct GfxBase * GfxBase)
  27. {
  28.     _aros_not_implemented();
  29.     return FALSE;
  30. }
  31.  
  32. void driver_close (struct GfxBase * GfxBase)
  33. {
  34.     _aros_not_implemented();
  35.     return;
  36. }
  37.  
  38. void driver_expunge (struct GfxBase * GfxBase)
  39. {
  40.     _aros_not_implemented();
  41.     return;
  42. }
  43.  
  44. void driver_SetABPenDrMd (struct RastPort * rp, ULONG apen, ULONG bpen,
  45.     ULONG drmd, struct GfxBase * GfxBase)
  46. {
  47.     _aros_not_implemented();
  48. }
  49.  
  50. void driver_SetAPen (struct RastPort * rp, ULONG pen,
  51.             struct GfxBase * GfxBase)
  52. {
  53.     _aros_not_implemented();
  54. }
  55.  
  56. void driver_SetBPen (struct RastPort * rp, ULONG pen,
  57.             struct GfxBase * GfxBase)
  58. {
  59.     _aros_not_implemented();
  60. }
  61.  
  62. void driver_SetOutlinePen (struct RastPort * rp, ULONG pen,
  63.             struct GfxBase * GfxBase)
  64. {
  65.     _aros_not_implemented();
  66. }
  67.  
  68. void driver_SetDrMd (struct RastPort * rp, ULONG mode,
  69.             struct GfxBase * GfxBase)
  70. {
  71.     _aros_not_implemented();
  72. }
  73.  
  74. void driver_EraseRect (struct RastPort * rp, LONG x1, LONG y1, LONG x2, LONG y2,
  75.             struct GfxBase * GfxBase)
  76. {
  77.     _aros_not_implemented();
  78. }
  79.  
  80. void driver_RectFill (struct RastPort * rp, LONG x1, LONG y1, LONG x2, LONG y2,
  81.             struct GfxBase * GfxBase)
  82. {
  83.     _aros_not_implemented();
  84. }
  85.  
  86. void driver_ScrollRaster (struct RastPort * rp, LONG dx, LONG dy,
  87.     LONG x1, LONG y1, LONG x2, LONG y2, struct GfxBase * GfxBase)
  88. {
  89.     _aros_not_implemented();
  90. }
  91.  
  92. void driver_DrawEllipse (struct RastPort * rp, LONG x, LONG y, LONG rx, LONG ry,
  93.         struct GfxBase * GfxBase)
  94. {
  95.     _aros_not_implemented();
  96. }
  97.  
  98. void driver_Text (struct RastPort * rp, STRPTR string, LONG len,
  99.         struct GfxBase * GfxBase)
  100. {
  101.     _aros_not_implemented();
  102. }
  103.  
  104. WORD driver_TextLength (struct RastPort * rp, STRPTR string, ULONG len,
  105.             struct GfxBase * GfxBase)
  106. {
  107.     _aros_not_implemented();
  108.     return 0;
  109. }
  110.  
  111. void driver_Move (struct RastPort * rp, LONG x, LONG y,
  112.             struct GfxBase * GfxBase)
  113. {
  114.     _aros_not_implemented();
  115.     return;
  116. }
  117.  
  118. void driver_Draw (struct RastPort * rp, LONG x, LONG y,
  119.             struct GfxBase * GfxBase)
  120. {
  121.     _aros_not_implemented();
  122. }
  123.  
  124. ULONG driver_ReadPixel (struct RastPort * rp, LONG x, LONG y,
  125.             struct GfxBase * GfxBase)
  126. {
  127.     _aros_not_implemented();
  128.     return 0;
  129. }
  130.  
  131. LONG driver_WritePixel (struct RastPort * rp, LONG x, LONG y,
  132.             struct GfxBase * GfxBase)
  133. {
  134.     _aros_not_implemented();
  135.     return 0;
  136. }
  137.  
  138. void driver_PolyDraw (struct RastPort * rp, LONG count, WORD * coords,
  139.             struct GfxBase * GfxBase)
  140. {
  141.     _aros_not_implemented();
  142. }
  143.  
  144. void driver_SetRast (struct RastPort * rp, ULONG color,
  145.             struct GfxBase * GfxBase)
  146. {
  147.     _aros_not_implemented();
  148. }
  149.  
  150. void driver_SetFont (struct RastPort * rp, struct TextFont * font,
  151.             struct GfxBase * GfxBase)
  152. {
  153.     _aros_not_implemented();
  154. }
  155.  
  156. struct TextFont * driver_OpenFont (struct TextAttr * ta,
  157.     struct GfxBase * GfxBase)
  158. {
  159.     _aros_not_implemented();
  160.     return 0;
  161. }
  162.  
  163. void driver_CloseFont (struct TextFont * tf, struct GfxBase * GfxBase)
  164. {
  165.     _aros_not_implemented();
  166. }
  167.  
  168. int driver_InitRastPort (struct RastPort * rp, struct GfxBase * GfxBase)
  169. {
  170.     _aros_not_implemented();
  171.     return FALSE;
  172. }
  173.  
  174. int driver_CloneRastPort (struct RastPort * newRP, struct RastPort * oldRP,
  175.             struct GfxBase * GfxBase)
  176. {
  177.     _aros_not_implemented();
  178.     return FALSE;
  179. }
  180.  
  181. void driver_DeinitRastPort (struct RastPort * rp, struct GfxBase * GfxBase)
  182. {
  183.     _aros_not_implemented();
  184. }
  185.  
  186.