Tabs to spaces, more consistent formatting.
[AROS.git] / workbench / libs / muimaster / classes / configdata.h
blob748a59006a0fc42e576e5a144db1cb6bc1a8b477
1 /*
2 Copyright 2002-2003, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #ifndef _MUI_CLASSES_CONFIGDATA_H
7 #define _MUI_CLASSES_CONFIGDATA_H
9 /*** Name *******************************************************************/
10 #define MUIC_Configdata "Configdata.mui"
12 /*** Identifier base (for Zune extensions) **********************************/
13 #define MUIB_Configdata (MUIB_ZUNE | 0x00000900)
15 /* The config items for MUIM_GetConfigItem */
16 #define MUICFG_Invalid (-1)
17 #define MUICFG_Window_Spacing_Left 0x01 /* ULONG, horiz pixels (def=4) */
18 #define MUICFG_Window_Spacing_Right 0x02 /* ULONG, horiz pixels (def=4) */
19 #define MUICFG_Window_Spacing_Top 0x03 /* ULONG, vert pixels (def=3) */
20 #define MUICFG_Window_Spacing_Bottom 0x04 /* ULONG, vert pixels (def=3) */
21 #define MUICFG_Radio_HSpacing 0x05 /* ULONG, horiz pixels (def=4) */
22 #define MUICFG_Radio_VSpacing 0x06 /* ULONG, vertical pixels (def=1) */
23 #define MUICFG_Group_HSpacing 0x07 /* ULONG, horiz pixels (def=6) */
24 #define MUICFG_Group_VSpacing 0x08 /* ULONG, vertical pixels (def=3) */
25 #define MUICFG_Scrollbar_Arrangement 0x09 /* ULONG, top = 0 (def), middle, bottom */
26 #define MUICFG_Listview_Refresh 0x0a /* ULONG, linear, mixed = 1 (def) */
27 #define MUICFG_Listview_Font_Leading 0x0b /* ULONG, vertical pixels (def=1) */
28 #define MUICFG_Listview_SmoothVal 0x0c /* ULONG, ? (def=0) */
29 #define MUICFG_Listview_Multi 0x0d /* ULONG, shifted = 0 (def), always */
30 #define MUICFG_GroupTitle_Position 0x0f /* ULONG, 1=centered */
31 #define MUICFG_GroupTitle_Color 0x10 /* ULONG, 0=normal */
32 #define MUICFG_Cycle_MenuCtrl_Level 0x11 /* ULONG, num of entries (def=2) */
33 #define MUICFG_Cycle_MenuCtrl_Position 0x12 /* ULONG, below = 0 (def), on active */
34 #define MUICFG_Frame_Drag 0x18
35 #define MUICFG_Cycle_Menu_Recessed 0x19 /* ULONG, false = 0 (def), true */
36 #define MUICFG_Cycle_MenuCtrl_Speed 0x1a /* ULONG, num of ticks (0..50) (def=0) */
37 #define MUICFG_Listview_Smoothed 0x1b /* ULONG, false = 0 (def), true */
38 #define MUICFG_Window_Redraw 0x1d /* ULONG, no clear, clear = 1 (def) */
39 #define MUICFG_Font_Normal 0x1e
40 #define MUICFG_Font_List 0x1f
41 #define MUICFG_Font_Tiny 0x20
42 #define MUICFG_Font_Fixed 0x21
43 #define MUICFG_Font_Title 0x22
44 #define MUICFG_Font_Big 0x23
45 #define MUICFG_PublicScreen 0x24
46 #define MUICFG_Frame_Button 0x2b
47 #define MUICFG_Frame_ImageButton 0x2c
48 #define MUICFG_Frame_Text 0x2d
49 #define MUICFG_Frame_String 0x2e
50 #define MUICFG_Frame_ReadList 0x2f
51 #define MUICFG_Frame_InputList 0x30
52 #define MUICFG_Frame_Prop 0x31
53 #define MUICFG_Frame_Gauge 0x32
54 #define MUICFG_Frame_Group 0x33
55 #define MUICFG_Frame_PopUp 0x34
56 #define MUICFG_Frame_Virtual 0x35
57 #define MUICFG_Frame_Slider 0x36
58 #define MUICFG_Background_Window 0x37
59 #define MUICFG_Background_Requester 0x38
60 #define MUICFG_Background_Button 0x39
61 #define MUICFG_Background_List 0x3a
62 #define MUICFG_Background_Text 0x3b
63 #define MUICFG_Background_Prop 0x3c
64 #define MUICFG_Background_PopUp 0x3d
65 #define MUICFG_Background_Selected 0x3e
66 #define MUICFG_Background_ListCursor 0x3f
67 #define MUICFG_Background_ListSelect 0x40
68 #define MUICFG_Background_ListSelCur 0x41
69 #define MUICFG_Image_ArrowUp 0x42
70 #define MUICFG_Image_ArrowDown 0x43
71 #define MUICFG_Image_ArrowLeft 0x44
72 #define MUICFG_Image_ArrowRight 0x45
73 #define MUICFG_Image_CheckMark 0x46
74 #define MUICFG_Image_RadioButton 0x47
75 #define MUICFG_Image_Cycle 0x48
76 #define MUICFG_Image_PopUp 0x49
77 #define MUICFG_Image_PopFile 0x4a
78 #define MUICFG_Image_PopDrawer 0x4b
79 #define MUICFG_Image_PropKnob 0x4c
80 #define MUICFG_Image_Drawer 0x4d
81 #define MUICFG_Image_HardDisk 0x4e
82 #define MUICFG_Image_Disk 0x4f
83 #define MUICFG_Image_Chip 0x50
84 #define MUICFG_Image_Volume 0x51
85 #define MUICFG_Image_Network 0x52
86 #define MUICFG_Image_Assign 0x53
87 #define MUICFG_Background_Register 0x54
88 #define MUICFG_Image_TapePlay 0x55
89 #define MUICFG_Image_TapePlayBack 0x56
90 #define MUICFG_Image_TapePause 0x57
91 #define MUICFG_Image_TapeStop 0x58
92 #define MUICFG_Image_TapeRecord 0x59
93 #define MUICFG_Background_Framed 0x5a
94 #define MUICFG_Background_Slider 0x5b
95 #define MUICFG_Background_SliderKnob 0x5c
96 #define MUICFG_Image_TapeUp 0x5d
97 #define MUICFG_Image_TapeDown 0x5e
98 #define MUICFG_Keyboard_Press 0x5f
99 #define MUICFG_Keyboard_Toggle 0x60
100 #define MUICFG_Keyboard_Up 0x61
101 #define MUICFG_Keyboard_Down 0x62
102 #define MUICFG_Keyboard_PageUp 0x63
103 #define MUICFG_Keyboard_PageDown 0x64
104 #define MUICFG_Keyboard_Top 0x65
105 #define MUICFG_Keyboard_Bottom 0x66
106 #define MUICFG_Keyboard_Left 0x67
107 #define MUICFG_Keyboard_Right 0x68
108 #define MUICFG_Keyboard_WordLeft 0x69
109 #define MUICFG_Keyboard_WordRight 0x6a
110 #define MUICFG_Keyboard_LineStart 0x6b
111 #define MUICFG_Keyboard_LineEnd 0x6c
112 #define MUICFG_Keyboard_NextGadget 0x6d
113 #define MUICFG_Keyboard_PrevGadget 0x6e
114 #define MUICFG_Keyboard_GadgetOff 0x6f
115 #define MUICFG_Keyboard_CloseWindow 0x70
116 #define MUICFG_Keyboard_NextWindow 0x71
117 #define MUICFG_Keyboard_PrevWindow 0x72
118 #define MUICFG_Keyboard_Help 0x73
119 #define MUICFG_Keyboard_Popup 0x74
120 #define MUICFG_Window_Positions 0x7a
121 #define MUICFG_Balance_Look 0x7b /* ULONG, frame = 0 (def), object */
122 #define MUICFG_Font_Button 0x80
123 #define MUICFG_Scrollbar_Type 0x83 /* ULONG, standard = 0 (def), newlook, custom */
124 #define MUICFG_String_Background 0x84
125 #define MUICFG_String_Text 0x85
126 #define MUICFG_String_ActiveBackground 0x86
127 #define MUICFG_String_ActiveText 0x87
128 #define MUICFG_Font_Knob 0x88
129 #define MUICFG_Drag_LeftButton 0x89 /* ULONG, false, true (def) */
130 #define MUICFG_Drag_MiddleButton 0x8a /* ULONG, false (def), true */
131 #define MUICFG_Drag_LMBModifier 0x8b /* key desc (def = control) */
132 #define MUICFG_Drag_MMBModifier 0x8c /* key desc */
133 #define MUICFG_Drag_Autostart 0x8d /* ULONG, false = 0, true (def) */
134 #define MUICFG_Drag_Autostart_Length 0x8e /* ULONG, pixels (def = 3) */
135 #define MUICFG_ActiveObject_Color 0x8f /* penspec */
136 #define MUICFG_Frame_Knob 0x90
137 #define MUICFG_Dragndrop_Look 0x94 /* ULONG, solid, ghosted on obj (def), ... */
138 #define MUICFG_Background_Page 0x95
139 #define MUICFG_Background_ReadList 0x96
140 #define MUICFG_String_Cursor 0x400
141 #define MUICFG_String_MarkedBackground 0x401
142 #define MUICFG_String_MarkedText 0x402
143 #define MUICFG_Register_TruncateTitles 0x403
144 #define MUICFG_Window_Refresh 0x404
145 #define MUICFG_Screen_Mode 0x505
146 #define MUICFG_Screen_Mode_ID 0x506
147 #define MUICFG_Screen_Width 0x507
148 #define MUICFG_Screen_Height 0x508
149 #define MUICFG_WindowPos 0x509
150 #define MUICFG_Window_Buttons 0x50a
152 #define MUICFG_CustomFrame_1 0x600
153 #define MUICFG_CustomFrame_2 0x601
154 #define MUICFG_CustomFrame_3 0x602
155 #define MUICFG_CustomFrame_4 0x603
156 #define MUICFG_CustomFrame_5 0x604
157 #define MUICFG_CustomFrame_6 0x605
158 #define MUICFG_CustomFrame_7 0x606
159 #define MUICFG_CustomFrame_8 0x607
160 #define MUICFG_CustomFrame_9 0x608
161 #define MUICFG_CustomFrame_10 0x609
162 #define MUICFG_CustomFrame_11 0x60a
163 #define MUICFG_CustomFrame_12 0x60b
164 #define MUICFG_CustomFrame_13 0x60c
165 #define MUICFG_CustomFrame_14 0x60d
166 #define MUICFG_CustomFrame_15 0x60e
167 #define MUICFG_CustomFrame_16 0x60f
169 #define MUICFG_PublicScreen_PopToFront 0x700
170 #define MUICFG_Iconification_Hotkey 0x701
171 #define MUICFG_Iconification_ShowIcon 0x702
172 #define MUICFG_Iconification_ShowMenu 0x703
173 #define MUICFG_Iconification_OnStartup 0x704
174 #define MUICFG_Interfaces_EnableARexx 0x705
175 #define MUICFG_BubbleHelp_FirstDelay 0x706
176 #define MUICFG_BubbleHelp_NextDelay 0x707
178 #define MUIM_Configdata_GetWindowPos (MUIB_Configdata | 0x0000002A)
179 #define MUIM_Configdata_SetWindowPos (MUIB_Configdata | 0x0000002B)
182 /*** Methods ****************************************************************/
183 #define MUIM_Configdata_GetString (MUIB_Configdata | 0x00000000)
184 #define MUIM_Configdata_GetULong (MUIB_Configdata | 0x00000001)
185 #define MUIM_Configdata_SetULong (MUIB_Configdata | 0x00000002)
186 #define MUIM_Configdata_SetImspec (MUIB_Configdata | 0x00000003)
187 #define MUIM_Configdata_SetFramespec (MUIB_Configdata | 0x00000004)
188 #define MUIM_Configdata_SetFont (MUIB_Configdata | 0x00000005)
189 #define MUIM_Configdata_Save (MUIB_Configdata | 0x00000006)
190 #define MUIM_Configdata_Load (MUIB_Configdata | 0x00000007)
191 #define MUIM_Configdata_SetPenspec (MUIB_Configdata | 0x00000008)
192 #define MUIM_Configdata_SetString (MUIB_Configdata | 0x00000009)
194 struct MUIP_Configdata_GetString
196 STACKED ULONG MethodID;
197 STACKED ULONG id;
200 struct MUIP_Configdata_GetULong
202 STACKED ULONG MethodID;
203 STACKED ULONG id;
206 struct MUIP_Configdata_SetULong
208 STACKED ULONG MethodID;
209 STACKED ULONG id;
210 STACKED ULONG val;
213 struct MUIP_Configdata_SetImspec
215 STACKED ULONG MethodID;
216 STACKED ULONG id;
217 STACKED CONST_STRPTR imspec;
220 struct MUIP_Configdata_SetFramespec
222 STACKED ULONG MethodID;
223 STACKED ULONG id;
224 STACKED CONST_STRPTR framespec;
227 struct MUIP_Configdata_SetFont
229 STACKED ULONG MethodID;
230 STACKED ULONG id;
231 STACKED CONST_STRPTR font;
234 struct MUIP_Configdata_Save
236 STACKED ULONG MethodID;
237 STACKED CONST_STRPTR filename;
240 struct MUIP_Configdata_Load
242 STACKED ULONG MethodID;
243 STACKED CONST_STRPTR filename;
246 struct MUIP_Configdata_SetPenspec
248 STACKED ULONG MethodID;
249 STACKED ULONG id;
250 STACKED CONST_STRPTR penspec;
253 struct MUIP_Configdata_SetString
255 STACKED ULONG MethodID;
256 STACKED ULONG id;
257 STACKED CONST_STRPTR string;
260 /*** Attributes *************************************************************/
261 #define MUIA_Configdata_Application \
262 (MUIB_Configdata | 0x00000000) /* ZV1: i.. Object * */
263 #define MUIA_Configdata_ZunePrefs \
264 (MUIB_Configdata | 0x00000001) /* ZV1: PRIV .g. struct ZunePrefsNew * */
265 #define MUIA_Configdata_ApplicationBase \
266 (MUIB_Configdata | 0x00000002) /* ZV1: i.. Object * */
269 extern const struct __MUIBuiltinClass _MUI_Configdata_desc; /* PRIV */
271 #endif /* _MUI_CLASSES_CONFIGDATA_H */