use for all targets
[AROS.git] / compiler / include / prefs / icontrol.h
blob67d41823bc072025f61a4fd2f7fb322594268348
1 #ifndef PREFS_ICONTROL_H
2 #define PREFS_ICONTROL_H
4 /*
5 Copyright © 1995-2010, The AROS Development Team. All rights reserved.
6 $Id$
8 Desc: Icontrol prefs definitions
9 Lang: english
12 #ifndef EXEC_TYPES_H
13 # include <exec/types.h>
14 #endif
16 #ifndef LIBRARIES_IFFPARSE_H
17 # include <libraries/iffparse.h>
18 #endif
21 #define ID_ICTL MAKE_ID('I','C','T','L')
23 struct IControlPrefs {
24 LONG ic_Reserved[4];
25 UWORD ic_TimeOut;
26 WORD ic_MetaDrag;
27 ULONG ic_Flags;
28 UBYTE ic_WBtoFront;
29 UBYTE ic_FrontToBack;
30 UBYTE ic_ReqTrue;
31 UBYTE ic_ReqFalse;
32 UWORD ic_Reserved2;
33 UWORD ic_VDragModes[2]; /* Screen drag modes, see below */
36 /* Values for ic_Flags */
37 #define ICB_COERCE_COLORS 0
38 #define ICB_COERCE_LACE 1
39 #define ICB_STRGAD_FILTER 2
40 #define ICB_MENUSNAP 3
41 #define ICB_MODEPROMOTE 4
43 #define ICF_COERCE_COLORS (1<<0)
44 #define ICF_COERCE_LACE (1<<1)
45 #define ICF_STRGAD_FILTER (1<<2)
46 #define ICF_MENUSNAP (1<<3)
47 #define ICF_MODEPROMOTE (1<<4)
49 // FIXME: do we want these MOS extensions?
50 // FIXME: what are the correct values?
51 #define ICF_STICKYMENUS (1<<31)
52 #define ICF_OPAQUEMOVE (1<<30)
53 #define ICF_PRIVILEDGEDREFRESH (1<<29)
54 #define ICF_OFFSCREENLAYERS (1<<28)
55 #define ICF_DEFPUBSCREEN (1<<27)
56 #define ICF_SCREENACTIVATION (1<<26)
58 /* AROS extension */
59 #define ICF_PULLDOWNTITLEMENUS (1<<17)
60 #define ICF_POPUPMENUS (1<<16)
61 #define ICF_3DMENUS (1<<15)
62 #define ICF_AVOIDWINBORDERERASE (1<<14)
64 /* Screen drag modes */
65 #define ICVDM_TBOUND 0x0001 /* Bounded at the top */
66 #define ICVDM_BBOUND 0x0002 /* Bounded at the bottom */
67 #define ICVDM_LBOUND 0x0004 /* Bounded at the left */
68 #define ICVDM_RBOUND 0x0008 /* Bounded at the right */
70 /* Drag mode masks */
71 #define ICVDM_HBOUND (ICVDM_LBOUND|ICVDM_RBOUND) /* Horisontal bounding */
72 #define ICVDM_VBOUND (ICVDM_TBOUND|ICVDM_BBOUND) /* Verticak bounding */
74 #endif /* PREFS_ICONTROL_H */