2 Copyright 1999, David Le Corfec.
3 Copyright 2002, The AROS Development Team.
8 #ifndef __ZUNE_PREFS_H__
9 #define __ZUNE_PREFS_H__
11 #ifndef LIBRARIES_COMMODITIES_H
12 #include <libraries/commodities.h>
15 #ifndef LIBRARIES_MUI_H
23 typedef enum CycleMenuPosition
{
24 CYCLE_MENU_POSITION_BELOW
,
25 CYCLE_MENU_POSITION_ONACTIVE
,
28 typedef enum GroupTitlePosition
{
29 GROUP_TITLE_POSITION_ABOVE
,
30 GROUP_TITLE_POSITION_CENTERED
,
33 typedef enum GroupTitleColor
{
34 GROUP_TITLE_COLOR_STANDARD
,
35 GROUP_TITLE_COLOR_HILITE
,
37 GROUP_TITLE_COLOR_OUTLINE
,
40 typedef enum WindowPosition
{
41 WINDOW_POSITION_FORGET_ON_EXIT
,
42 WINDOW_POSITION_REMEMBER_ON_EXIT
,
43 WINDOW_POSITION_SAVE_ON_EXIT
,
46 typedef enum WindowRedraw
{
47 WINDOW_REDRAW_WITHOUT_CLEAR
,
48 WINDOW_REDRAW_WITH_CLEAR
51 typedef enum WindowRefresh
{
56 typedef enum DNDLook
{
57 DND_LOOK_ALWAYS_SOLID
,
58 DND_LOOK_GHOSTED_ON_BOX
,
59 DND_LOOK_GHOSTED_OUTSIDE_BOX
,
60 DND_LOOK_ALWAYS_GHOSTED
,
63 typedef enum ScrollbarType
{
64 SCROLLBAR_TYPE_STANDARD
,
65 SCROLLBAR_TYPE_NEWLOOK
,
66 SCROLLBAR_TYPE_CUSTOM
,
69 typedef enum ScrollbarArrangement
{
70 SCROLLBAR_ARRANGEMENT_TOP
,
71 SCROLLBAR_ARRANGEMENT_MIDDLE
,
72 SCROLLBAR_ARRANGEMENT_BOTTOM
,
73 } ScrollbarArrangement
;
75 typedef enum BalancingLook
{
76 BALANCING_SHOW_FRAMES
,
77 BALANCING_SHOW_OBJECTS
,
80 typedef enum ActiveObjectLook
{
81 ACTIVE_OBJECT_LOOK_FRAME
,
82 ACTIVE_OBJECT_LOOK_CORNER
,
85 typedef struct _ZuneKeySpec
{
86 CONST_STRPTR readable_hotkey
;
91 typedef enum RegisterLook
{
92 REGISTER_LOOK_TRADITIONAL
,
93 REGISTER_LOOK_GADTOOLS
,
96 typedef enum ListviewRefresh
{
97 LISTVIEW_REFRESH_LINEAR
,
98 LISTVIEW_REFRESH_MIXED
,
101 typedef enum ListviewMulti
{
102 LISTVIEW_MULTI_SHIFTED
,
103 LISTVIEW_MULTI_ALWAYS
,
107 * User Prefs for interface drawing
112 CONST_STRPTR fonts
[-MUIV_Font_NegCount
];
113 CONST_STRPTR imagespecs
[MUII_Count
];
114 struct MUI_FrameSpec_intern frames
[MUIV_Frame_Count
];
117 GroupTitlePosition group_title_position
;
118 GroupTitleColor group_title_color
;
123 WindowPosition window_position
;
124 WindowRedraw window_redraw
;
125 WindowRefresh window_refresh
;
126 WORD window_inner_left
;
127 WORD window_inner_right
;
128 WORD window_inner_top
;
129 WORD window_inner_bottom
;
130 ULONG window_buttons
;
132 ZuneKeySpec muikeys
[MUIKEY_COUNT
];
135 RegisterLook register_look
; /* yet unused, remove this comment when handled */
136 BOOL register_truncate_titles
; /* ok, waiting for prefs editor */
139 WORD radiobutton_hspacing
;
140 WORD radiobutton_vspacing
;
143 CycleMenuPosition cycle_menu_position
;
144 WORD cycle_menu_min_entries
;
145 WORD cycle_menu_speed
; /* yet unused, remove this comment when handled */
146 BOOL cycle_menu_recessed_entries
;
149 CONST_STRPTR string_bg_active
;
150 CONST_STRPTR string_text_active
;
151 CONST_STRPTR string_bg_inactive
;
152 CONST_STRPTR string_text_inactive
;
153 CONST_STRPTR string_bg_marked
;
154 CONST_STRPTR string_text_marked
;
155 CONST_STRPTR string_cursor
;
158 ListviewMulti list_multi
; /* yet unused, remove this comment when handled */
159 ListviewRefresh list_refresh
; /* yet unused, remove this comment when handled */
160 UWORD list_linespacing
; /* yet unused, remove this comment when handled */
161 BOOL list_smoothed
; /* yet unused, remove this comment when handled */
162 UWORD list_smoothval
; /* yet unused, remove this comment when handled */
165 BOOL drag_left_button
; /* yet unused, remove this comment when handled */
166 ZuneKeySpec drag_left_modifier
; /* yet unused, remove this comment when handled */
167 BOOL drag_middle_button
; /* yet unused, remove this comment when handled */
168 ZuneKeySpec drag_middle_modifier
; /* yet unused, remove this comment when handled */
170 UWORD drag_autostart_length
;
171 DNDLook drag_look
; /* yet unused, remove this comment when handled */
172 BalancingLook balancing_look
; /* yet unused, remove this comment when handled */
173 ActiveObjectLook active_object_look
; /* yet unused, remove this comment when handled */
174 CONST_STRPTR active_object_color
; /* yet unused, remove this comment when handled */
177 ScrollbarType scrollbar_type
;
178 ScrollbarArrangement scrollbar_arrangement
;
185 CONST_STRPTR customframe_config_1
;
186 CONST_STRPTR customframe_config_2
;
187 CONST_STRPTR customframe_config_3
;
188 CONST_STRPTR customframe_config_4
;
189 CONST_STRPTR customframe_config_5
;
190 CONST_STRPTR customframe_config_6
;
191 CONST_STRPTR customframe_config_7
;
192 CONST_STRPTR customframe_config_8
;
193 CONST_STRPTR customframe_config_9
;
194 CONST_STRPTR customframe_config_10
;
195 CONST_STRPTR customframe_config_11
;
196 CONST_STRPTR customframe_config_12
;
197 CONST_STRPTR customframe_config_13
;
198 CONST_STRPTR customframe_config_14
;
199 CONST_STRPTR customframe_config_15
;
200 CONST_STRPTR customframe_config_16
;