1 #ifndef INLINE4_GUIGFX_H
2 #define INLINE4_GUIGFX_H
5 ** This file was auto generated by idltool 52.7.
7 ** It provides compatibility to OS3 style library
8 ** calls by substituting functions.
10 ** Do not edit manually.
14 #include <exec/types.h>
17 #include <exec/exec.h>
19 #ifndef EXEC_INTERFACES_H
20 #include <exec/interfaces.h>
23 #include <interfaces/guigfx.h>
25 /* Inline macros for Interface "main" */
26 #define MakePictureA(array, width, height, tags) IGuiGFX->MakePictureA((array), (width), (height), (tags))
27 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || (__GNUC__ >= 3)
28 #define MakePicture(array, width, ...) IGuiGFX->MakePicture((array), (width), __VA_ARGS__)
29 #elif (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
30 #define MakePicture(array, width, vargs...) IGuiGFX->MakePicture(array, width, ## vargs)
32 #define LoadPictureA(filename, tags) IGuiGFX->LoadPictureA((filename), (tags))
33 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || (__GNUC__ >= 3)
34 #define LoadPicture(...) IGuiGFX->LoadPicture(__VA_ARGS__)
35 #elif (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
36 #define LoadPicture(vargs...) IGuiGFX->LoadPicture(## vargs)
38 #define ReadPictureA(rp, colormap, x, y, width, height, tags) IGuiGFX->ReadPictureA((rp), (colormap), (x), (y), (width), (height), (tags))
39 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || (__GNUC__ >= 3)
40 #define ReadPicture(rp, colormap, x, y, width, ...) IGuiGFX->ReadPicture((rp), (colormap), (x), (y), (width), __VA_ARGS__)
41 #elif (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
42 #define ReadPicture(rp, colormap, x, y, width, vargs...) IGuiGFX->ReadPicture(rp, colormap, x, y, width, ## vargs)
44 #define ClonePictureA(pic, tags) IGuiGFX->ClonePictureA((pic), (tags))
45 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || (__GNUC__ >= 3)
46 #define ClonePicture(...) IGuiGFX->ClonePicture(__VA_ARGS__)
47 #elif (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
48 #define ClonePicture(vargs...) IGuiGFX->ClonePicture(## vargs)
50 #define DeletePicture(pic) IGuiGFX->DeletePicture((pic))
51 #define AddPictureA(psm, pic, tags) IGuiGFX->AddPictureA((psm), (pic), (tags))
52 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || (__GNUC__ >= 3)
53 #define AddPicture(psm, ...) IGuiGFX->AddPicture((psm), __VA_ARGS__)
54 #elif (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
55 #define AddPicture(psm, vargs...) IGuiGFX->AddPicture(psm, ## vargs)
57 #define AddPaletteA(psm, palette, tags) IGuiGFX->AddPaletteA((psm), (palette), (tags))
58 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || (__GNUC__ >= 3)
59 #define AddPalette(psm, ...) IGuiGFX->AddPalette((psm), __VA_ARGS__)
60 #elif (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
61 #define AddPalette(psm, vargs...) IGuiGFX->AddPalette(psm, ## vargs)
63 #define AddPixelArrayA(psm, array, width, height, tags) IGuiGFX->AddPixelArrayA((psm), (array), (width), (height), (tags))
64 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || (__GNUC__ >= 3)
65 #define AddPixelArray(psm, array, width, ...) IGuiGFX->AddPixelArray((psm), (array), (width), __VA_ARGS__)
66 #elif (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
67 #define AddPixelArray(psm, array, width, vargs...) IGuiGFX->AddPixelArray(psm, array, width, ## vargs)
69 #define RemColorHandle(colorhandle) IGuiGFX->RemColorHandle((colorhandle))
70 #define CreatePenShareMapA(tags) IGuiGFX->CreatePenShareMapA((tags))
71 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || (__GNUC__ >= 3)
72 #define CreatePenShareMap(...) IGuiGFX->CreatePenShareMap(__VA_ARGS__)
73 #elif (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
74 #define CreatePenShareMap(...) IGuiGFX->CreatePenShareMap(## vargs)
76 #define DeletePenShareMap(psm) IGuiGFX->DeletePenShareMap((psm))
77 #define ObtainDrawHandleA(psm, rp, cm, tags) IGuiGFX->ObtainDrawHandleA((psm), (rp), (cm), (tags))
78 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || (__GNUC__ >= 3)
79 #define ObtainDrawHandle(psm, rp, ...) IGuiGFX->ObtainDrawHandle((psm), (rp), __VA_ARGS__)
80 #elif (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
81 #define ObtainDrawHandle(psm, rp, vargs...) IGuiGFX->ObtainDrawHandle(psm, rp, ## vargs)
83 #define ReleaseDrawHandle(drawhandle) IGuiGFX->ReleaseDrawHandle((drawhandle))
84 #define DrawPictureA(drawhandle, pic, x, y, tags) IGuiGFX->DrawPictureA((drawhandle), (pic), (x), (y), (tags))
85 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || (__GNUC__ >= 3)
86 #define DrawPicture(drawhandle, pic, x, ...) IGuiGFX->DrawPicture((drawhandle), (pic), (x), __VA_ARGS__)
87 #elif (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
88 #define DrawPicture(drawhandle, pic, x, vargs...) IGuiGFX->DrawPicture(drawhandle, pic, x, ## vargs)
90 #define MapPaletteA(drawhandle, palette, pentab, tags) IGuiGFX->MapPaletteA((drawhandle), (palette), (pentab), (tags))
91 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || (__GNUC__ >= 3)
92 #define MapPalette(drawhandle, palette, ...) IGuiGFX->MapPalette((drawhandle), (palette), __VA_ARGS__)
93 #elif (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
94 #define MapPalette(drawhandle, palette, vargs...) IGuiGFX->MapPalette(drawhandle, palette, ## vargs)
96 #define MapPenA(drawhandle, rgb, tags) IGuiGFX->MapPenA((drawhandle), (rgb), (tags))
97 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || (__GNUC__ >= 3)
98 #define MapPen(drawhandle, ...) IGuiGFX->MapPen((drawhandle), __VA_ARGS__)
99 #elif (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
100 #define MapPen(drawhandle, vargs...) IGuiGFX->MapPen(drawhandle, ## vargs)
102 #define CreatePictureBitMapA(drawhandle, pic, tags) IGuiGFX->CreatePictureBitMapA((drawhandle), (pic), (tags))
103 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || (__GNUC__ >= 3)
104 #define CreatePictureBitMap(drawhandle, ...) IGuiGFX->CreatePictureBitMap((drawhandle), __VA_ARGS__)
105 #elif (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
106 #define CreatePictureBitMap(drawhandle, vargs...) IGuiGFX->CreatePictureBitMap(drawhandle, ## vargs)
108 #define DoPictureMethodA(pic, method, arguments) IGuiGFX->DoPictureMethodA((pic), (method), (arguments))
109 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || (__GNUC__ >= 3)
110 #define DoPictureMethod(pic, ...) IGuiGFX->DoPictureMethod((pic), __VA_ARGS__)
111 #elif (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
112 #define DoPictureMethod(pic, vargs...) IGuiGFX->DoPictureMethod(pic, ## vargs)
114 #define GetPictureAttrsA(pic, tags) IGuiGFX->GetPictureAttrsA((pic), (tags))
115 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || (__GNUC__ >= 3)
116 #define GetPictureAttrs(...) IGuiGFX->GetPictureAttrs(__VA_ARGS__)
117 #elif (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
118 #define GetPictureAttrs(vargs...) IGuiGFX->GetPictureAttrs(## vargs)
120 #define LockPictureA(pic, mode, args) IGuiGFX->LockPictureA((pic), (mode), (args))
121 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || (__GNUC__ >= 3)
122 #define LockPicture(pic, ...) IGuiGFX->LockPicture((pic), __VA_ARGS__)
123 #elif (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
124 #define LockPicture(pic, vargs...) IGuiGFX->LockPicture(pic, ## vargs)
126 #define UnLockPicture(pic, mode) IGuiGFX->UnLockPicture((pic), (mode))
127 #define IsPictureA(filename, tags) IGuiGFX->IsPictureA((filename), (tags))
128 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || (__GNUC__ >= 3)
129 #define IsPicture(...) IGuiGFX->IsPicture(__VA_ARGS__)
130 #elif (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
131 #define IsPicture(vargs...) IGuiGFX->IsPicture(## vargs)
133 #define CreateDirectDrawHandleA(drawhandle, sw, sh, dw, dh, tags) IGuiGFX->CreateDirectDrawHandleA((drawhandle), (sw), (sh), (dw), (dh), (tags))
134 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || (__GNUC__ >= 3)
135 #define CreateDirectDrawHandle(drawhandle, sw, sh, dw, ...) IGuiGFX->CreateDirectDrawHandle((drawhandle), (sw), (sh), (dw), __VA_ARGS__)
136 #elif (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
137 #define CreateDirectDrawHandle(drawhandle, sw, sh, dw, vargs...) IGuiGFX->CreateDirectDrawHandle(drawhandle, sw, sh, dw, ## vargs)
139 #define DeleteDirectDrawHandle(ddh) IGuiGFX->DeleteDirectDrawHandle((ddh))
140 #define DirectDrawTrueColorA(ddh, array, x, y, tags) IGuiGFX->DirectDrawTrueColorA((ddh), (array), (x), (y), (tags))
141 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || (__GNUC__ >= 3)
142 #define DirectDrawTrueColor(ddh, array, x, ...) IGuiGFX->DirectDrawTrueColor((ddh), (array), (x), __VA_ARGS__)
143 #elif (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
144 #define DirectDrawTrueColor(ddh, array, x, vargs...) IGuiGFX->DirectDrawTrueColor(ddh, array, x, ## vargs)
146 #define CreatePictureMaskA(pic, mask, maskwidth, tags) IGuiGFX->CreatePictureMaskA((pic), (mask), (maskwidth), (tags))
147 #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || (__GNUC__ >= 3)
148 #define CreatePictureMask(pic, mask, ...) IGuiGFX->CreatePictureMask((pic), (mask), __VA_ARGS__)
149 #elif (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
150 #define CreatePictureMask(pic, mask, vargs...) IGuiGFX->CreatePictureMask(pic, mask, ## vargs)
153 #endif /* INLINE4_GUIGFX_H */