Added a test for MUIA_Listview_SelectChange.
[AROS.git] / compiler / include / prefs / wbpattern.h
blob3d6c1f2f874668e523437fd94866ead1ac13c67e
1 #ifndef PREFS_WBPATTERN_H
2 #define PREFS_WBPATTERN_H
4 /*
5 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
6 $Id$
8 Desc: WBPattern 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
20 #define ID_PTRN MAKE_ID('P','T','R','N')
22 struct WBPatternPrefs {
23 ULONG wbp_Reserved[4];
24 UWORD wbp_Which;
25 UWORD wbp_Flags;
26 BYTE wbp_Revision;
27 BYTE wbp_Depth;
28 UWORD wbp_DataLength;
31 /* Values for wbp_Which */
32 #define WBP_ROOT 0
33 #define WBP_DRAWER 1
34 #define WBP_SCREEN 2
36 /* Values for wbp_Flags */
37 #define WBPF_PATTERN 0x0001
38 #define WBPF_NOREMAP 0x0010
40 #define WBPF_DITHER_MASK 0x0300
41 #define WBPF_DITHER_DEF 0x0000
42 #define WBPF_DITHER_BAD 0x0100
43 #define WBPF_DITHER_GOOD 0x0200
44 #define WBPF_DITHER_BEST 0x0300
46 #define WBPF_PRECISION_MASK 0x0C00
47 #define WBPF_PRECISION_DEF 0x0000
48 #define WBPF_PRECISION_ICON 0x0400
49 #define WBPF_PRECISION_IMAGE 0x0800
50 #define WBPF_PRECISION_EXACT 0x0C00
52 /* Other defines */
53 #define MAXDEPTH 3
54 #define DEFPATDEPTH 2
56 #define PAT_WIDTH 16
57 #define PAT_HEIGHT 16
59 #endif /* PREFS_WBPATTERN_H */