2 Copyright 2011-2012, The AROS Development Team.
9 #include <exec/types.h>
39 LONG STitleColorShadow
;
52 LONG BarLGadgetFill_o
;
53 LONG BarLGadgetFill_s
;
66 LONG BarRGadgetFill_o
;
67 LONG BarRGadgetFill_s
;
74 LONG ContainerVertTile_o
;
75 LONG ContainerVertTile_s
;
76 LONG ContainerBottom_o
;
77 LONG ContainerBottom_s
;
82 LONG KnobVertGripper_o
;
83 LONG KnobVertGripper_s
;
84 LONG KnobTileBottom_o
;
85 LONG KnobTileBottom_s
;
90 LONG ContainerHorTile_o
;
91 LONG ContainerHorTile_s
;
92 LONG ContainerRight_o
;
93 LONG ContainerRight_s
;
98 LONG KnobHorGripper_o
;
99 LONG KnobHorGripper_s
;
100 LONG KnobTileRight_o
;
101 LONG KnobTileRight_s
;
104 BOOL GadgetsThreeState
;
109 LONG TitleColorShadow
;
111 BOOL CloseGadgetOnRight
;
113 LONG BottomBorderGadgets
; /* size with gadgets */
114 LONG RightBorderGadgets
; /* size with gadgets */
117 LONG ActivatedGradientColor_s
;
118 LONG ActivatedGradientColor_e
;
119 LONG ActivatedGradientColor_a
;
120 LONG DeactivatedGradientColor_s
;
121 LONG DeactivatedGradientColor_e
;
122 LONG DeactivatedGradientColor_a
;
123 LONG ShadeValues_l
; /* light */
124 LONG ShadeValues_m
; /* middle */
125 LONG ShadeValues_d
; /* dark */
129 /* Window Section - not used */
134 LONG BottomBorderNoGadgets
; /* size without gadgets */
135 LONG RightBorderNoGadgets
; /* size without gadgets */
136 LONG HorizScrollerHeight
;
137 LONG ScrollerInnerSpacing
;
145 ULONG MenuHighlightTint
;
147 /* Menu Section - not used */
151 LONG MenuInnerBottom
;
154 struct DecorConfig
* LoadConfig(STRPTR path
);
155 void FreeConfig(struct DecorConfig
* dc
);
157 /* Holds all images used for screen, window and menu decoration */
160 struct NewImage
*img_sdepth
;
161 struct NewImage
*img_sbarlogo
;
162 struct NewImage
*img_stitlebar
;
164 struct NewImage
*img_size
;
165 struct NewImage
*img_close
;
166 struct NewImage
*img_depth
;
167 struct NewImage
*img_zoom
;
168 struct NewImage
*img_up
;
169 struct NewImage
*img_down
;
170 struct NewImage
*img_left
;
171 struct NewImage
*img_right
;
172 struct NewImage
*img_mui
;
173 struct NewImage
*img_popup
;
174 struct NewImage
*img_snapshot
;
175 struct NewImage
*img_iconify
;
176 struct NewImage
*img_lock
;
177 struct NewImage
*img_winbar_normal
;
178 struct NewImage
*img_border_normal
;
179 struct NewImage
*img_border_deactivated
;
180 struct NewImage
*img_verticalcontainer
;
181 struct NewImage
*img_verticalknob
;
182 struct NewImage
*img_horizontalcontainer
;
183 struct NewImage
*img_horizontalknob
;
185 struct NewImage
*img_menu
;
186 struct NewImage
*img_amigakey
;
187 struct NewImage
*img_menucheck
;
188 struct NewImage
*img_submenu
;
191 struct DecorImages
* NewImages();
192 struct DecorImages
* LoadImages(struct DecorConfig
* dc
);
193 void FreeImages(struct DecorImages
* dc
);