1 #ifndef PREFS_POPUPMENU_H
2 #define PREFS_POPUPMENU_H
4 ** $VER: popupmenu.h 50.1 (15.5.2002)
5 ** Includes Release 50.1
7 ** File format for example preferences
9 ** (C) Copyright 2002 Amiga, Inc.
10 ** All Rights Reserved
13 /*****************************************************************************/
17 #include <exec/types.h>
20 #ifndef LIBRARIES_IFFPARSE_H
21 #include <libraries/iffparse.h>
25 /*****************************************************************************/
28 #define ID_PMNU MAKE_ID('P','M','N','U')
33 UBYTE pmp_Flags
; /* Leave at 0 for now */
34 UBYTE pmp_SubMenuDelay
; /* Delay before opening submenus */
35 UBYTE pmp_Animation
; /* Animation, see below for defines */
36 UBYTE pmp_PulldownPos
; /* Where to show pulldownmenus */
37 BOOL pmp_Sticky
; /* Use 'sticky' mode */
38 BOOL pmp_SameHeight
; /* Try to give all items same height */
39 UBYTE pmp_MenuBorder
; /* Menu border */
40 UBYTE pmp_SelItemBorder
; /* Border around selected item */
41 UBYTE pmp_SeparatorBar
; /* Separator bar style */
42 UBYTE pmp_MenuTitles
; /* Flags for menu titles */
43 UBYTE pmp_MenuItems
; /* Flags for menu items */
48 UBYTE pmp_Intermediate
;
49 BYTE pmp_TextDisplace
;
53 BYTE pmp_TransparencyR
;
54 BYTE pmp_TransparencyG
;
55 BYTE pmp_TransparencyB
;
56 UBYTE pmp_TransparencyBlur
;
57 UBYTE pmp_AnimationSpeed
;
58 UBYTE pmp_Reserved
[16]; /* Reserved for future use */
61 #define PMP_ANIM_NONE 0
62 #define PMP_ANIM_ZOOM 1
63 #define PMP_ANIM_FADE 2
64 #define PMP_ANIM_EXPLODE 3
66 #define PMP_PD_SCREENBAR 0
67 #define PMP_PD_WINDOWBAR 1
68 #define PMP_PD_MOUSE 2 /* Show as popup menu */
70 #define PMP_TITLE_NORMAL 0x00
71 #define PMP_TITLE_ITALIC 0x01
72 #define PMP_TITLE_BOLD 0x02
73 #define PMP_TITLE_UNDERLINE 0x04
74 #define PMP_TITLE_SHADOW 0x08
75 #define PMP_TITLE_EMBOSS 0x10
76 #define PMP_TITLE_OUTLINE 0x20
78 #define PMP_TEXT_NORMAL 0x00
79 #define PMP_TEXT_ITALIC 0x01
80 #define PMP_TEXT_BOLD 0x02
81 #define PMP_TEXT_UNDERLINE 0x04
82 #define PMP_TEXT_SHADOW 0x08
83 #define PMP_TEXT_EMBOSS 0x10
84 #define PMP_TEXT_OUTLINE 0x20
86 #define PMP_MENUBORDER_THIN 0
87 #define PMP_MENUBORDER_MM 1
88 #define PMP_MENUBORDER_THICK 2
89 #define PMP_MENUBORDER_RIDGE 3
90 #define PMP_MENUBORDER_DROPBOX 4
91 #define PMP_MENUBORDER_OLDSTYLE 5
93 #define PMP_SELITEM_NO_BORDER 0
94 #define PMP_SELITEM_RECESS 1
95 #define PMP_SELITEM_RAISE 2
97 /*****************************************************************************/
100 #endif /* PREFS_POPUPMENU_H */