revert between 56095 -> 55830 in arch
[AROS.git] / compiler / include / intuition / intuitionbase.h
blob1ce2b9d3b6f1cb5e2f3ba686bc561a2065c869fe
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;
38 WORD MouseY;
39 WORD MouseX;
41 ULONG Seconds;
42 ULONG Micros;
45 #define HIRESPICK 0x0000
46 #define LOWRESPICK 0x0001
47 #define DMODECOUNT 0x0002
49 #define HIRESGADGET 0
50 #define LOWRESGADGET 1
51 #define RESCOUNT 2
53 #define UPFRONTGADGET 0
54 #define DOWNBACKGADGET 1
55 #define SIZEGADGET 2
56 #define CLOSEGADGET 3
57 #define DRAGGADGET 4
58 #define SUPFRONTGADGET 5
59 #define SDOWNBACKGADGET 6
60 #define SDRAGGADGET 7
61 #define GADGETCOUNT 8
63 #define EVENTMAX 10
65 #endif /* INTUITION_INTUITIONBASE_H */