added concrete implementations of putc(), getc(), getchar() and gets()
[tangerine.git] / workbench / libs / muimaster / prefs.h
blob15b301dc956db5d7cbffcfbdc21072755de9ac99
1 /*
2 Copyright 1999, David Le Corfec.
3 Copyright 2002, The AROS Development Team.
4 All rights reserved.
6 $Id$
7 */
8 #ifndef __ZUNE_PREFS_H__
9 #define __ZUNE_PREFS_H__
11 #ifndef LIBRARIES_COMMODITIES_H
12 #include <libraries/commodities.h>
13 #endif
15 #ifndef LIBRARIES_MUI_H
16 #include "mui.h"
17 #endif
19 #ifndef _MUI_FRAME_H
20 #include "frame.h"
21 #endif
23 typedef enum CycleMenuPosition {
24 CYCLE_MENU_POSITION_BELOW,
25 CYCLE_MENU_POSITION_ONACTIVE,
26 } CycleMenuPosition;
28 typedef enum GroupTitlePosition {
29 GROUP_TITLE_POSITION_ABOVE,
30 GROUP_TITLE_POSITION_CENTERED,
31 } GroupTitlePosition;
33 typedef enum GroupTitleColor {
34 GROUP_TITLE_COLOR_STANDARD,
35 GROUP_TITLE_COLOR_HILITE,
36 GROUP_TITLE_COLOR_3D,
37 GROUP_TITLE_COLOR_OUTLINE,
38 } GroupTitleColor;
40 typedef enum WindowPosition {
41 WINDOW_POSITION_FORGET_ON_EXIT,
42 WINDOW_POSITION_REMEMBER_ON_EXIT,
43 WINDOW_POSITION_SAVE_ON_EXIT,
44 } WindowPosition;
46 typedef enum WindowRedraw {
47 WINDOW_REDRAW_WITHOUT_CLEAR,
48 WINDOW_REDRAW_WITH_CLEAR
49 } WindowRedraw;
51 typedef enum WindowRefresh {
52 WINDOW_REFRESH_SMART,
53 WINDOW_REFRESH_SIMPLE
54 } 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,
61 } DNDLook;
63 typedef enum ScrollbarType {
64 SCROLLBAR_TYPE_STANDARD,
65 SCROLLBAR_TYPE_NEWLOOK,
66 SCROLLBAR_TYPE_CUSTOM,
67 } ScrollbarType;
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,
78 } BalancingLook;
80 typedef enum ActiveObjectLook {
81 ACTIVE_OBJECT_LOOK_FRAME,
82 ACTIVE_OBJECT_LOOK_CORNER,
83 } ActiveObjectLook;
85 typedef struct _ZuneKeySpec {
86 CONST_STRPTR readable_hotkey;
87 LONG ix_well;
88 IX ix;
89 } ZuneKeySpec;
91 typedef enum RegisterLook {
92 REGISTER_LOOK_TRADITIONAL,
93 REGISTER_LOOK_GADTOOLS,
94 } RegisterLook;
96 typedef enum ListviewRefresh {
97 LISTVIEW_REFRESH_LINEAR,
98 LISTVIEW_REFRESH_MIXED,
99 } ListviewRefresh;
101 typedef enum ListviewMulti {
102 LISTVIEW_MULTI_SHIFTED,
103 LISTVIEW_MULTI_ALWAYS,
104 } ListviewMulti;
107 * User Prefs for interface drawing
110 struct ZunePrefsNew
112 CONST_STRPTR fonts[-MUIV_Font_NegCount];
113 CONST_STRPTR imagespecs[MUII_Count];
114 struct MUI_FrameSpec_intern frames[MUIV_Frame_Count];
116 /* Groups */
117 GroupTitlePosition group_title_position;
118 GroupTitleColor group_title_color;
119 WORD group_hspacing;
120 WORD group_vspacing;
122 /* Windows */
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;
131 /* MUI Keys */
132 ZuneKeySpec muikeys[MUIKEY_COUNT];
134 /* Zune registers */
135 RegisterLook register_look; /* yet unused, remove this comment when handled */
136 BOOL register_truncate_titles; /* ok, waiting for prefs editor */
138 /* Buttons */
139 WORD radiobutton_hspacing;
140 WORD radiobutton_vspacing;
142 /* Cycles */
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;
148 /* Strings */
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;
157 /* Lists */
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 */
164 /* Navigation */
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 */
169 BOOL drag_autostart;
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 */
176 /* Scrollbars */
177 ScrollbarType scrollbar_type;
178 ScrollbarArrangement scrollbar_arrangement;
180 ULONG screenmode;
181 ULONG screenmodeid;
182 UWORD screen_width;
183 UWORD screen_height;
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;
205 #endif