Updated PCI IDs to latest snapshot.
[tangerine.git] / compiler / include / intuition / intuitionbase.h
blobef43774a0ffb62f1b50819441f8bce06f2a80217
1 #ifndef INTUITION_INTUITIONBASE_H
2 #define INTUITION_INTUITIONBASE_H
4 /*
5 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
6 $Id$
8 Desc: Structure of intuition.library
9 Lang: english
12 #ifndef EXEC_INTERRUPTS_H
13 # include <exec/interrupts.h>
14 #endif
15 #ifndef EXEC_LIBRARIES_H
16 # include <exec/libraries.h>
17 #endif
18 #ifndef EXEC_TYPES_H
19 # include <exec/types.h>
20 #endif
21 #ifndef INTUITION_INTUITION_H
22 # include <intuition/intuition.h>
23 #endif
25 /* You have to call LockIBase() before reading this struct! */
26 struct IntuitionBase
28 struct Library LibNode;
30 struct View ViewLord;
32 struct Window * ActiveWindow;
33 struct Screen * ActiveScreen;
34 struct Screen * FirstScreen;
36 ULONG Flags;
37 WORD MouseX;
38 WORD MouseY;
40 ULONG Seconds;
41 ULONG Micros;
44 #define HIRESPICK 0x0000
45 #define LOWRESPICK 0x0001
46 #define DMODECOUNT 0x0002
48 #define HIRESGADGET 0
49 #define LOWRESGADGET 1
50 #define RESCOUNT 2
52 #define UPFRONTGADGET 0
53 #define DOWNBACKGADGET 1
54 #define SIZEGADGET 2
55 #define CLOSEGADGET 3
56 #define DRAGGADGET 4
57 #define SUPFRONTGADGET 5
58 #define SDOWNBACKGADGET 6
59 #define SDRAGGADGET 7
60 #define GADGETCOUNT 8
62 #define EVENTMAX 10
64 #endif /* INTUITION_INTUITIONBASE_H */