5 Copyright © 1995-2007, 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 /***** Mouse HIDD *******************/
30 #define IID_Hidd_HwMouse "hidd.mouse.hw"
31 #define CLID_Hidd_HwMouse "hidd.mouse.hw"
36 moHidd_Mouse_HandleEvent
39 struct pHidd_Mouse_HandleEvent
45 VOID
Hidd_Mouse_HandleEvent(OOP_Object
*o
, ULONG event
);
47 /***** VGA gfx HIDD *******************/
50 #define IID_Hidd_VGAgfx "hidd.gfx.vga"
51 #define CLID_Hidd_VGAgfx "hidd.gfx.vga"
64 struct SignalSemaphore sema
; /* Protecting this whole struct */
65 struct SignalSemaphore HW_acc
; /* Exclusive hardware use */
66 struct List modelist
; /* List of modes supported */
67 struct bitmap_data
*visible
; /* Point to visible bitmap */
71 OOP_Class
*offbmclass
;
73 OOP_Class
*mouseclass
;
77 OOP_Object
*mousehidd
;
79 LONG mouseX
; /* Pointer X position on screen */
80 ULONG mouseW
; /* Pointer width */
81 LONG mouseY
; /* Pointer Y position on screen */
82 ULONG mouseH
; /* Pointer height */
83 ULONG mouseVisible
; /* Is pointer visible flag */
84 UBYTE
*mouseShape
; /* Points to pointer shape */
86 VOID (*activecallback
)(APTR
, OOP_Object
*, BOOL
);
92 struct Library library
;
94 struct vga_staticdata vsd
;
98 /* nlorentz: This function is no lonfger necessary */
99 BOOL
set_pixelformat(OOP_Object
*);
103 void draw_mouse (struct vga_staticdata
*);
105 #define XSD(cl) (&((struct vgabase *)cl->UserData)->vsd)
107 #endif /* HIDD_VGA_H */