2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
6 #define DEBUG_FreeMem 1
11 #include <exec/memory.h>
12 #include <clib/exec_protos.h>
13 #include <graphics/rastport.h>
14 #include <graphics/gfxbase.h>
15 #include <graphics/text.h>
16 #include <clib/graphics_protos.h>
17 #include <clib/aros_protos.h>
18 #include "graphics_intern.h"
20 #define static /* nothing */
22 extern void _aros_not_implemented(void);
24 int driver_init (struct GfxBase
* GfxBase
)
26 fprintf(stderr
, "gfx driver init function goes here\n");
30 int driver_open (struct GfxBase
* GfxBase
)
32 _aros_not_implemented();
36 void driver_close (struct GfxBase
* GfxBase
)
38 _aros_not_implemented();
42 void driver_expunge (struct GfxBase
* GfxBase
)
44 _aros_not_implemented();
48 void driver_SetABPenDrMd (struct RastPort
* rp
, ULONG apen
, ULONG bpen
,
49 ULONG drmd
, struct GfxBase
* GfxBase
)
51 _aros_not_implemented();
54 void driver_SetAPen (struct RastPort
* rp
, ULONG pen
,
55 struct GfxBase
* GfxBase
)
57 _aros_not_implemented();
60 void driver_SetBPen (struct RastPort
* rp
, ULONG pen
,
61 struct GfxBase
* GfxBase
)
63 _aros_not_implemented();
66 void driver_SetOutlinePen (struct RastPort
* rp
, ULONG pen
,
67 struct GfxBase
* GfxBase
)
69 _aros_not_implemented();
72 void driver_SetDrMd (struct RastPort
* rp
, ULONG mode
,
73 struct GfxBase
* GfxBase
)
75 _aros_not_implemented();
78 void driver_EraseRect (struct RastPort
* rp
, LONG x1
, LONG y1
, LONG x2
, LONG y2
,
79 struct GfxBase
* GfxBase
)
81 _aros_not_implemented();
84 void driver_RectFill (struct RastPort
* rp
, LONG x1
, LONG y1
, LONG x2
, LONG y2
,
85 struct GfxBase
* GfxBase
)
87 _aros_not_implemented();
90 void driver_ScrollRaster (struct RastPort
* rp
, LONG dx
, LONG dy
,
91 LONG x1
, LONG y1
, LONG x2
, LONG y2
, struct GfxBase
* GfxBase
)
93 _aros_not_implemented();
96 void driver_DrawEllipse (struct RastPort
* rp
, LONG x
, LONG y
, LONG rx
, LONG ry
,
97 struct GfxBase
* GfxBase
)
99 _aros_not_implemented();
102 void driver_Text (struct RastPort
* rp
, STRPTR string
, LONG len
,
103 struct GfxBase
* GfxBase
)
105 _aros_not_implemented();
108 WORD
driver_TextLength (struct RastPort
* rp
, STRPTR string
, ULONG len
,
109 struct GfxBase
* GfxBase
)
111 _aros_not_implemented();
115 void driver_Move (struct RastPort
* rp
, LONG x
, LONG y
,
116 struct GfxBase
* GfxBase
)
118 _aros_not_implemented();
122 void driver_Draw (struct RastPort
* rp
, LONG x
, LONG y
,
123 struct GfxBase
* GfxBase
)
125 _aros_not_implemented();
128 ULONG
driver_ReadPixel (struct RastPort
* rp
, LONG x
, LONG y
,
129 struct GfxBase
* GfxBase
)
131 _aros_not_implemented();
135 LONG
driver_WritePixel (struct RastPort
* rp
, LONG x
, LONG y
,
136 struct GfxBase
* GfxBase
)
138 _aros_not_implemented();
142 void driver_PolyDraw (struct RastPort
* rp
, LONG count
, WORD
* coords
,
143 struct GfxBase
* GfxBase
)
145 _aros_not_implemented();
148 void driver_SetRast (struct RastPort
* rp
, ULONG color
,
149 struct GfxBase
* GfxBase
)
151 _aros_not_implemented();
154 void driver_SetFont (struct RastPort
* rp
, struct TextFont
* font
,
155 struct GfxBase
* GfxBase
)
157 _aros_not_implemented();
160 struct TextFont
* driver_OpenFont (struct TextAttr
* ta
,
161 struct GfxBase
* GfxBase
)
163 _aros_not_implemented();
167 void driver_CloseFont (struct TextFont
* tf
, struct GfxBase
* GfxBase
)
169 _aros_not_implemented();
172 int driver_InitRastPort (struct RastPort
* rp
, struct GfxBase
* GfxBase
)
174 _aros_not_implemented();
178 int driver_CloneRastPort (struct RastPort
* newRP
, struct RastPort
* oldRP
,
179 struct GfxBase
* GfxBase
)
181 _aros_not_implemented();
185 void driver_DeinitRastPort (struct RastPort
* rp
, struct GfxBase
* GfxBase
)
187 _aros_not_implemented();