muimaster.library: introduce a hack to make sure up/down arrows always work
[AROS.git] / compiler / include / intuition / iprefs.h
blob203b99641b0787bee3d57f914d8ab56f2e177b3b
1 #ifndef INTUITION_IPREFS_H
2 #define INTUITION_IPREFS_H
4 /*
5 Copyright © 1995-2011, The AROS Development Team. All rights reserved.
6 $Id$
8 Desc: PRIVATE/TOP SECRET!!! Communication between IPrefs program and Intuition
9 Lang: english
12 #ifndef EXEC_TYPES_H
13 # include <exec/types.h>
14 #endif
15 #ifndef GRAPHICS_GFX_H
16 # include <graphics/gfx.h>
17 #endif
18 #ifndef GRAPHICS_TEXT_H
19 # include <graphics/text.h>
20 #endif
21 #ifndef INTUITION_SCREENS_H
22 # include <intuition/screens.h>
23 #endif
25 #define IPREFS_TYPE_SCREENMODE_V37 1
26 #define IPREFS_TYPE_FONT_V37 2
27 #define IPREFS_TYPE_OVERSCAN_V37 3
28 #define IPREFS_TYPE_ICONTROL_V37 4
29 #define IPREFS_TYPE_POINTER_V37 5
30 #define IPREFS_TYPE_PALETTE_V37 6
31 #define IPREFS_TYPE_POINTER_V39 7
32 #define IPREFS_TYPE_PALETTE_V39 8
33 #define IPREFS_TYPE_PENS_V39 9
34 #define IPREFS_TYPE_POINTER_ALPHA 10
36 /* backwards compatibility */
37 #define IPREFS_TYPE_SCREENMODE IPREFS_TYPE_SCREENMODE_V37
38 #define IPREFS_TYPE_ICONTROL IPREFS_TYPE_ICONTROL_V37
39 #define IPREFS_TYPE_POINTER IPREFS_TYPE_POINTER_V39
40 #define IPREFS_TYPE_OLD_PALETTE IPREFS_TYPE_PALETTE_V39
42 struct IScreenModePrefs
44 ULONG smp_DisplayID;
45 UWORD smp_Width;
46 UWORD smp_Height;
47 UWORD smp_Depth;
48 UWORD smp_Control;
51 struct IIControlPrefs
53 UWORD ic_TimeOut;
54 WORD ic_MetaDrag;
55 ULONG ic_Flags;
56 UBYTE ic_WBtoFront;
57 UBYTE ic_FrontToBack;
58 UBYTE ic_ReqTrue;
59 UBYTE ic_ReqFalse;
60 UWORD ic_VDragModes[2];
63 struct IPointerPrefsV37
65 UWORD *data;
66 UWORD YSize;
67 WORD XOffset;
68 WORD YOffset;
69 ULONG unk[5];
72 struct IPointerPrefs
74 struct BitMap *BitMap;
75 WORD XOffset;
76 WORD YOffset;
77 UWORD BytesPerRow;
78 UWORD Size;
79 UWORD YSize;
80 UWORD Which;
81 ULONG Zero;
84 struct IOldPenPrefs
86 UWORD Count;
87 UWORD Type;
88 ULONG Pad;
89 UWORD PenTable[NUMDRIPENS+1];
92 struct IOldOverScanPrefs
94 ULONG DisplayID;
95 Point ViewPos;
96 Point Text;
97 struct Rectangle Standard;
100 struct IOldFontPrefs
102 struct TextAttr fp_TextAttr;
103 UBYTE fp_Name[32];
104 ULONG fp_NotUsed;
105 WORD fp_Type;
108 struct IFontPrefs
110 struct TextAttr fp_TextAttr;
111 UBYTE fp_Name[32];
112 ULONG fp_xxx;
113 BOOL fp_ScrFont;
116 #endif /* INTUITION_IPREFS_H */