- Disable single-column listviews when double-clicked, and provide a
[AROS.git] / workbench / libs / popupmenu / pmprefs.h
blobf291b7b5a6686e6d7471a4a95f5691b3f26e694b
1 //
2 // Menu Prefs
3 //
5 #ifndef PM_PREFS_H
6 #define PM_PREFS_H
8 #include "prefs/popupmenu.h"
10 /// Frames
11 #define BUTTON_FRAME 0
12 #define MAGIC_FRAME 1
13 #define THICK_BUTTON_FRAME 2
14 #define DOUBLE_FRAME 3
15 #define DROPBOX_FRAME 4
16 #define INTUI_FRAME 5
17 ///
19 /// TextPatch
20 #define TP_CENTER 0x0001
21 #define TP_UNDERLINE 0x0002
22 #define TP_BOLD 0x0004
23 #define TP_SHINE 0x0008
24 #define TP_SHADOW 0x0010
25 #define TP_TEXT 0x0020
26 #define TP_HILITE 0x0040
27 #define TP_SHADOWED 0x0080
28 #define TP_LEFT 0x0100
29 #define TP_RIGHT 0x0200
30 #define TP_EMBOSS 0x0400
31 #define TP_KILLBAR 0x0800
32 #define TP_OUTLINE 0x1000
33 #define TP_ACTIVATE 0x8000
34 ///
36 /// File name/ID
37 #define PMP_ID (0x504d4e55)
38 #define PMP_VERSION 1
39 #define PMP_PATH "ENV:sys/PopupMenu.prefs"
40 ///
42 extern struct PopupMenuPrefs *PM_Prefs;
44 void PM_Prefs_Load(STRPTR file);
45 void PM_Prefs_Free();
47 #endif