grub2: bring back build of aros-side grub2 tools
[AROS.git] / workbench / libs / popupmenu / pminternals.h
blobc7a20b18a996aeb5201474cec8237e94b922f2e4
1 /*
2 // $VER: pminternals.h 10.00 (9.11.00)
3 //
4 // Internal structures used by popupmenu.library
5 //
6 // ©1996-2000 Henrik Isaksson
7 // All Rights Reserved.
8 //
9 // Changes:
11 // 10.00 Initial version
13 // *WARNING*
15 // Everything in this file is subject to change.
18 #ifndef LIBRARIES_PMINTERNALS_H
19 #define LIBRARIES_PMINTERNALS_H
22 // Flags
24 #define NPM_HBAR_BIT 0x00000001 /* Draw a horizontal bar */
25 #define NPM_NOSELECT 0x00000002 /* Make this item unselectable. */
26 #define NPM_WIDE_BAR_BIT 0x00000004 /* Almost same as NPM_HBAR_BIT, but wider */
27 #define NPM_UDATASTRING 0x00000008 /* FreeVec(UserData) when menu is freed */
28 #define NPM_HIDDEN 0x00000010 /* Hidden */
29 #define NPM_SELECTABLE 0x00000020 /* Item with SubMenu is selectable */
30 #define NPM_GROUP 0x00000040 /* Group */
31 #define NPM_EXCLUDE_SHARED 0x00000080 /* Don't free exclude list */
32 #define NPM_FIXEDSIZE 0x00000100 /* Fixed size */
33 #define NPM_ISIMAGE 0x00000200 /* This item has an image not an icon */
34 #define NPM_OUTLINED 0x00000400 /* Outline text */
35 #define NPM_HILITETEXT 0x00000800 /* Highlight Text */
36 #define NPM_FILLTEXT 0x00001000 /* */
37 #define NPM_SHADOWTEXT 0x00002000 /* */
38 #define NPM_SHINETEXT 0x00004000 /* */
39 #define NPM_BOLDTEXT 0x00008000 /* Bold text */
40 #define NPM_ITALICTEXT 0x00010000 /* Italic text */
41 #define NPM_UNDERLINEDTEXT 0x00020000 /* Underline text */
42 #define NPM_EMBOSSED 0x00040000 /* Emboss text */
43 #define NPM_DISABLED 0x00080000 /* Ghosted text */
44 #define NPM_CUSTOMPEN 0x00100000 /* Use custom pen */
45 #define NPM_SHADOWED 0x00200000 /* Shadowed text */
46 #define NPM_CENTRED 0x00400000 /* Centred text */
47 #define NPM_ISSELECTED 0x00800000 /* This item has been selected this time */
48 #define NPM_NOTOGGLE 0x01000000 /* Don't un-check checked checkmarks... =) */
49 #define NPM_ICONISID 0x02000000 /* FREE */
50 #define NPM_COLOURBOX 0x04000000 /* Colour box */
51 #define NPM_INITIAL_CHECKED 0x08000000 /* Checked when menu opened */
52 #define NPM_FREE03 0x10000000 /* FREE */
53 #define NPM_MINSIZE 0x20000000 /* Minimum size = fixed size */
54 #define NPM_CHECKIT 0x40000000 /* Space for checkmark */
55 #define NPM_CHECKED 0x80000000 /* Checkmark */
56 #define NPM_WIDE_BAR (NPM_WIDE_BAR_BIT|NPM_NOSELECT) // Same as NPM_HBAR but it covers the whole window
57 #define NPM_HBAR (NPM_HBAR_BIT|NPM_NOSELECT) // Horizontal bar.
59 #define NPM_CENTERED NPM_CENTRED
60 #define NPM_COLORBOX NPM_COLOURBOX
62 #endif /* LIBRARIES_PMINTERNALS_H */