revert between 56095 -> 55830 in arch
[AROS.git] / compiler / include / prefs / pointer.h
blob9e2a5b14de461d621148630ef2fed1d41c8277e6
1 #ifndef PREFS_POINTER_H
2 #define PREFS_POINTER_H
4 /*
5 Copyright © 1995-2010, The AROS Development Team. All rights reserved.
6 $Id$
8 Desc: Pointer 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_PNTR MAKE_ID('P','N','T','R')
22 struct PointerPrefs
24 ULONG pp_Reserved[4];
25 UWORD pp_Which;
26 UWORD pp_Size;
27 UWORD pp_Width;
28 UWORD pp_Height;
29 UWORD pp_Depth;
30 UWORD pp_YSize;
31 UWORD pp_X, pp_Y;
34 #define WBP_NORMAL 0
35 #define WBP_BUSY 1
37 struct RGBTable
39 UBYTE t_Red;
40 UBYTE t_Green;
41 UBYTE t_Blue;
44 /* New preferences file, AROS-specific */
45 /* Not stable yet, subject to change */
47 #define ID_NPTR MAKE_ID('N','P','T','R')
49 struct NewPointerPrefs
51 UWORD npp_Which; /* Which Intuition pointer to replace */
52 UWORD npp_AlphaValue; /* Alpha channel value if not specified in the file */
53 ULONG npp_WhichInFile; /* Which pointer to take from the file */
54 UWORD npp_X, npp_Y; /* Hotspot coordinates */
55 char npp_File[0]; /* NULL-terminated file name follows */
58 #endif /* PREFS_POINTER_H */