squashed commit of private hostlib-resource branch
[tangerine.git] / test / HiddGraphics / gfxhiddtool.h
blob51f40f83198102adb93f6034bf455b9e93dd75d9
1 #ifndef GFX_HIDD_TOOL_H
2 #define GFX_HIDD_TOOL_H
4 #define AROS_USE_OOP
6 #include <utility/tagitem.h>
7 #include <oop/oop.h>
9 #define GHT_LIB(name, version, adr) {name, version, (struct Library **) adr}
11 struct ght_OpenLibs
13 STRPTR libName;
14 ULONG version;
15 struct Library **base;
18 BOOL ght_OpenLibs(struct ght_OpenLibs *libsArray);
19 void ght_CloseLibs(struct ght_OpenLibs *libsArray);
20 ULONG ght_GetAttr(OOP_Object *obj, ULONG attrID);
21 STRPTR ght_GetCLID(STRPTR hiddName);
23 OOP_Object * NewGC(OOP_Object *hiddGfx, ULONG gcType, struct TagItem *tagList);
24 void DisposeGC(OOP_Object *hiddGfx, OOP_Object *gc);
25 OOP_Object * NewBitMap(OOP_Object *hiddGfx, struct TagItem *tagList);
26 void DisposeBitMap(OOP_Object *hiddGfx, OOP_Object *bitMap);
28 #endif /* GFX_HIDD_TOOL_H */