5 Copyright © 1995-2015, The AROS Development Team. All rights reserved.
8 Desc: Include for the vga gfx HIDD.
13 #ifndef EXEC_LIBRARIES_H
14 # include <exec/libraries.h>
21 #ifndef EXEC_SEMAPHORES_H
22 # include <exec/semaphores.h>
27 /***** VGA gfx HIDD *******************/
30 #define IID_Hidd_Gfx_VGA "hidd.gfx.vga"
31 #define CLID_Hidd_Gfx_VGA "hidd.gfx.vga"
40 struct SignalSemaphore sema
; /* Protecting this whole struct */
41 struct List modelist
; /* List of modes supported */
43 /* The following should be object data, not class data! */
44 struct SignalSemaphore HW_acc
; /* Exclusive hardware use */
45 OOP_Object
*visible
; /* Points to visible bitmap */
47 LONG mouseX
; /* Pointer X position on screen */
48 ULONG mouseW
; /* Pointer width */
49 LONG mouseY
; /* Pointer Y position on screen */
50 ULONG mouseH
; /* Pointer height */
51 ULONG mouseVisible
; /* Is pointer visible flag */
52 UBYTE
*mouseShape
; /* Points to pointer shape */
53 UBYTE mouseBase
; /* Pointer base color */
55 /* baseclass for CreateObject */
61 struct Library library
;
63 struct vga_staticdata vsd
;
66 void draw_mouse (struct vga_staticdata
*);
67 void erase_mouse (struct vga_staticdata
*);
68 int vgaBlankScreen(int on
);
70 #define XSD(cl) (&((struct vgabase *)cl->UserData)->vsd)
72 #endif /* HIDD_VGA_H */