Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: data/trunk/gui/looknfeels/Vanilla.looknfeel @ 10580

Last change on this file since 10580 was 7708, checked in by dafrick, 13 years ago

Merging cleanup branch. You will need to update your data repository as well as your local copy of the code.

File size: 53.6 KB
Line 
1<?xml version="1.0" ?>
2<Falagard>
3    <WidgetLook name="Vanilla/Shared">
4        <ImagerySection name="Frame">
5            <FrameComponent>
6                <Area>
7                    <Dim type="LeftEdge"><AbsoluteDim value="0" /></Dim>
8                    <Dim type="TopEdge"><AbsoluteDim value="0" /></Dim>
9                    <Dim type="RightEdge"><UnifiedDim scale="1" type="RightEdge" /></Dim>
10                    <Dim type="BottomEdge"><UnifiedDim scale="1" type="BottomEdge" /></Dim>
11                </Area>
12                <Image type="TopLeftCorner" imageset="Vanilla-Images" image="FrameTopLeft" />
13                <Image type="TopRightCorner" imageset="Vanilla-Images" image="FrameTopRight" />
14                <Image type="BottomLeftCorner" imageset="Vanilla-Images" image="FrameBottomLeft" />
15                <Image type="BottomRightCorner" imageset="Vanilla-Images" image="FrameBottomRight" />
16                <Image type="LeftEdge" imageset="Vanilla-Images" image="FrameLeft" />
17                <Image type="TopEdge" imageset="Vanilla-Images" image="FrameTop" />
18                <Image type="RightEdge" imageset="Vanilla-Images" image="FrameRight" />
19                <Image type="BottomEdge" imageset="Vanilla-Images" image="FrameBottom" />
20                <Image type="Background" imageset="Vanilla-Images" image="GenericBrush" />
21            </FrameComponent>
22        </ImagerySection>
23
24        <ImagerySection name="FrameOnly">
25            <FrameComponent>
26                <Area>
27                    <Dim type="LeftEdge"><AbsoluteDim value="0" /></Dim>
28                    <Dim type="TopEdge"><AbsoluteDim value="0" /></Dim>
29                    <Dim type="RightEdge"><UnifiedDim scale="1" type="RightEdge" /></Dim>
30                    <Dim type="BottomEdge"><UnifiedDim scale="1" type="BottomEdge" /></Dim>
31                </Area>
32                <Image type="TopLeftCorner" imageset="Vanilla-Images" image="FrameTopLeft" />
33                <Image type="TopRightCorner" imageset="Vanilla-Images" image="FrameTopRight" />
34                <Image type="BottomLeftCorner" imageset="Vanilla-Images" image="FrameBottomLeft" />
35                <Image type="BottomRightCorner" imageset="Vanilla-Images" image="FrameBottomRight" />
36                <Image type="LeftEdge" imageset="Vanilla-Images" image="FrameLeft" />
37                <Image type="TopEdge" imageset="Vanilla-Images" image="FrameTop" />
38                <Image type="RightEdge" imageset="Vanilla-Images" image="FrameRight" />
39                <Image type="BottomEdge" imageset="Vanilla-Images" image="FrameBottom" />
40            </FrameComponent>
41        </ImagerySection>
42
43        <ImagerySection name="BackgroundOnly">
44            <FrameComponent>
45                <Area>
46                    <Dim type="LeftEdge"><ImageDim imageset="Vanilla-Images" image="FrameLeft" dimension="Width" /></Dim>
47                    <Dim type="TopEdge"><ImageDim imageset="Vanilla-Images" image="FrameTop" dimension="Height" /></Dim>
48                    <Dim type="RightEdge">
49                        <UnifiedDim scale="1" type="RightEdge">
50                            <DimOperator op="Subtract">
51                                <ImageDim imageset="Vanilla-Images" image="FrameRight" dimension="Width" />
52                            </DimOperator>
53                        </UnifiedDim>
54                    </Dim>
55                    <Dim type="BottomEdge">
56                        <UnifiedDim scale="1" type="BottomEdge">
57                            <DimOperator op="Subtract">
58                                <ImageDim imageset="Vanilla-Images" image="FrameBottom" dimension="Height" />
59                            </DimOperator>
60                        </UnifiedDim>
61                    </Dim>
62                </Area>
63                <Image type="Background" imageset="Vanilla-Images" image="GenericBrush" />
64            </FrameComponent>
65        </ImagerySection>
66
67                <ImagerySection name="BackgroundOnlyFull">
68            <FrameComponent>
69                <Area>
70                    <Dim type="LeftEdge"><AbsoluteDim value="0" /></Dim>
71                    <Dim type="TopEdge"><AbsoluteDim value="0" /></Dim>
72                    <Dim type="RightEdge"><UnifiedDim scale="1" type="RightEdge" /></Dim>
73                    <Dim type="BottomEdge"><UnifiedDim scale="1" type="BottomEdge" /></Dim>
74                </Area>
75                <Image type="Background" imageset="Vanilla-Images" image="GenericBrush" />
76            </FrameComponent>
77        </ImagerySection>
78
79    </WidgetLook>
80
81    <WidgetLook name="Vanilla/Titlebar">
82        <PropertyDefinition name="CaptionColour" initialValue="FFFFFFFF" redrawOnWrite="true" />
83        <ImagerySection name="caption">
84            <TextComponent>
85                <Area>
86                    <Dim type="LeftEdge"><AbsoluteDim value="0" /></Dim>
87                    <Dim type="TopEdge"><AbsoluteDim value="0" /></Dim>
88                    <Dim type="RightEdge"><UnifiedDim scale="1" type="RightEdge" /></Dim>
89                    <Dim type="BottomEdge"><UnifiedDim scale="1" type="BottomEdge" /></Dim>
90                </Area>
91                <ColourProperty name="CaptionColour" />
92                <VertFormat type="CentreAligned" />
93                <HorzFormat type="CentreAligned" />
94            </TextComponent>
95        </ImagerySection>
96        <StateImagery name="Active">
97            <Layer>
98                <Section section="caption" />
99            </Layer>
100        </StateImagery>
101        <StateImagery name="Inactive">
102            <Layer>
103                <Section section="caption" />
104            </Layer>
105        </StateImagery>
106        <StateImagery name="Disabled">
107            <Layer>
108                <Section section="caption" />
109            </Layer>
110        </StateImagery>
111    </WidgetLook>
112
113
114    <WidgetLook name="Vanilla/Button">
115                <PropertyDefinition name="NormalTextColour" initialValue="FFFFFFFF" redrawOnWrite="true" />
116        <PropertyDefinition name="HoverTextColour" initialValue="FFFFFFFF" redrawOnWrite="true" />
117        <PropertyDefinition name="PushedTextColour" initialValue="FFFFFFFF" redrawOnWrite="true" />
118        <PropertyDefinition name="DisabledTextColour" initialValue="FF888888" redrawOnWrite="true" />
119        <Property name="WantsMultiClickEvents" value="False" />
120        <ImagerySection name="label">
121            <TextComponent>
122                <Area>
123                    <Dim type="LeftEdge"><AbsoluteDim value="0" /></Dim>
124                    <Dim type="TopEdge"><AbsoluteDim value="0" /></Dim>
125                    <Dim type="RightEdge"><UnifiedDim scale="1" type="RightEdge" /></Dim>
126                    <Dim type="BottomEdge"><UnifiedDim scale="1" offset="-4" type="BottomEdge" /></Dim>
127                </Area>
128                <VertFormat type="CentreAligned" />
129                <HorzFormat type="WordWrapCentreAligned" />
130            </TextComponent>
131        </ImagerySection>
132        <StateImagery name="Normal">
133            <Layer>
134                <Section look="Vanilla/Shared" section="Frame">
135                    <Colours topLeft="FF7F7F7F" topRight="FF7F7F7F" bottomLeft="FF7F7F7F" bottomRight="FF7F7F7F" />
136                </Section>
137                <Section section="label">
138                    <ColourProperty name="NormalTextColour" />
139                </Section>
140            </Layer>
141        </StateImagery>
142        <StateImagery name="Hover">
143            <Layer>
144                <Section look="Vanilla/Shared" section="Frame">
145                    <Colours topLeft="FF9F9F9F" topRight="FF9F9F9F" bottomLeft="FF9F9F9F" bottomRight="FF9F9F9F" />
146                </Section>
147                <Section section="label">
148                    <ColourProperty name="HoverTextColour" />
149                </Section>
150            </Layer>
151        </StateImagery>
152        <StateImagery name="Pushed">
153            <Layer>
154                <Section look="Vanilla/Shared" section="Frame">
155                    <Colours topLeft="FF6F6F6F" topRight="FF6F6F6F" bottomLeft="FF6F6F6F" bottomRight="FF6F6F6F" />
156                </Section>
157                <Section section="label">
158                    <ColourProperty name="PushedTextColour" />
159                </Section>
160            </Layer>
161        </StateImagery>
162        <StateImagery name="Disabled">
163            <Layer>
164                <Section look="Vanilla/Shared" section="Frame">
165                    <Colours topLeft="FF3F3F3F" topRight="FF3F3F3F" bottomLeft="FF3F3F3F" bottomRight="FF3F3F3F" />
166                </Section>
167                <Section section="label">
168                    <ColourProperty name="DisabledTextColour" />
169                </Section>
170            </Layer>
171        </StateImagery>
172    </WidgetLook>
173
174    <WidgetLook name="Vanilla/FrameWindow">
175        <PropertyLinkDefinition name="CaptionColour" widget="__auto_titlebar__" targetProperty="CaptionColour" initialValue="FFFFFFFF" />
176        <PropertyLinkDefinition name="TitlebarFont" widget="__auto_titlebar__" targetProperty="Font" />
177        <Property name="NSSizingCursorImage" value="set:Vanilla-Images image:MouseArrow" />
178        <Property name="EWSizingCursorImage" value="set:Vanilla-Images image:MouseArrow" />
179        <Property name="NWSESizingCursorImage" value="set:Vanilla-Images image:MouseArrow" />
180        <Property name="NESWSizingCursorImage" value="set:Vanilla-Images image:MouseArrow" />
181        <Property name="RollUpEnabled" value="False" />
182        <Property name="UnifiedMinSize" value="{{0.1,0},{0.1,0}}" />
183        <NamedArea name="ClientWithTitleWithFrame">
184            <Area>
185                <Dim type="LeftEdge"><AbsoluteDim value="7" /></Dim>
186                    <Dim type="TopEdge"><WidgetDim widget="__auto_titlebar__" dimension="BottomEdge" /></Dim>
187                <Dim type="RightEdge"><UnifiedDim scale="1" offset="-7" type="RightEdge" /></Dim>
188                <Dim type="BottomEdge"><UnifiedDim scale="1" offset="-7" type="BottomEdge" /></Dim>
189            </Area>
190        </NamedArea>
191        <NamedArea name="ClientWithTitleNoFrame">
192            <Area>
193                <Dim type="LeftEdge"><AbsoluteDim value="0" /></Dim>
194                    <Dim type="TopEdge"><WidgetDim widget="__auto_titlebar__" dimension="BottomEdge" /></Dim>
195                <Dim type="RightEdge"><UnifiedDim scale="1" type="RightEdge" /></Dim>
196                <Dim type="BottomEdge"><UnifiedDim scale="1" type="BottomEdge" /></Dim>
197            </Area>
198        </NamedArea>
199        <NamedArea name="ClientNoTitleWithFrame">
200            <Area>
201                <Dim type="LeftEdge"><AbsoluteDim value="7" /></Dim>
202                <Dim type="TopEdge"><AbsoluteDim value="7" /></Dim>
203                <Dim type="RightEdge"><UnifiedDim scale="1" offset="-7" type="RightEdge" /></Dim>
204                <Dim type="BottomEdge"><UnifiedDim scale="1" offset="-7" type="BottomEdge" /></Dim>
205            </Area>
206        </NamedArea>
207        <NamedArea name="ClientNoTitleNoFrame">
208            <Area>
209                <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
210                <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
211                <Dim type="Width" ><UnifiedDim scale="1" type="Width" /></Dim>
212                <Dim type="Height" ><UnifiedDim scale="1" type="Height" /></Dim>
213            </Area>
214        </NamedArea>
215        <Child type="Vanilla/Titlebar" nameSuffix="__auto_titlebar__">
216            <Area>
217                <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
218                <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
219                <Dim type="Width" ><UnifiedDim scale="1" type="Width" /></Dim>
220                <Dim type="Height" ><FontDim type="LineSpacing" padding="14" /></Dim>
221            </Area>
222            <Property name="AlwaysOnTop" value="False" />
223        </Child>
224        <Child type="Vanilla/Button" nameSuffix="__auto_closebutton__">
225            <Area>
226                <Dim type="LeftEdge" ><AbsoluteDim value="-7" /></Dim>
227                <Dim type="TopEdge" ><AbsoluteDim value="7" /></Dim>
228                <Dim type="Width" ><AbsoluteDim value="7" /></Dim>
229                <Dim type="Height" ><AbsoluteDim value="7" /></Dim>
230            </Area>
231            <HorzAlignment type="RightAligned" />
232            <Property name="AlwaysOnTop" value="True" />
233        </Child>
234        <ImagerySection name="withtitle_frame">
235            <FrameComponent>
236                <Area>
237                    <Dim type="LeftEdge"><AbsoluteDim value="0" /></Dim>
238                    <Dim type="TopEdge"><AbsoluteDim value="0" /></Dim>
239                    <Dim type="RightEdge"><UnifiedDim scale="1" type="RightEdge" /></Dim>
240                    <Dim type="BottomEdge"><UnifiedDim scale="1" type="BottomEdge" /></Dim>
241                </Area>
242                <Image type="TopLeftCorner" imageset="Vanilla-Images" image="FrameTopLeft" />
243                <Image type="TopRightCorner" imageset="Vanilla-Images" image="FrameTopRight" />
244                <Image type="BottomLeftCorner" imageset="Vanilla-Images" image="FrameBottomLeft" />
245                <Image type="BottomRightCorner" imageset="Vanilla-Images" image="FrameBottomRight" />
246                <Image type="LeftEdge" imageset="Vanilla-Images" image="FrameLeft" />
247                <Image type="TopEdge" imageset="Vanilla-Images" image="FrameTop" />
248                <Image type="RightEdge" imageset="Vanilla-Images" image="FrameRight" />
249                <Image type="BottomEdge" imageset="Vanilla-Images" image="FrameBottom" />
250                <Image type="Background" imageset="Vanilla-Images" image="GenericBrush" />
251                <Colours topLeft="FF333333" topRight="FF333333" bottomLeft="FF333333" bottomRight="FF333333" />
252            </FrameComponent>
253        </ImagerySection>
254        <ImagerySection name="notitle_frame">
255            <FrameComponent>
256                <Area>
257                    <Dim type="LeftEdge"><AbsoluteDim value="0" /></Dim>
258                    <Dim type="TopEdge"><AbsoluteDim value="0" /></Dim>
259                    <Dim type="RightEdge"><UnifiedDim scale="1" type="RightEdge" /></Dim>
260                    <Dim type="BottomEdge"><UnifiedDim scale="1" type="BottomEdge" /></Dim>
261                </Area>
262                <Image type="TopLeftCorner" imageset="Vanilla-Images" image="FrameTopLeft" />
263                <Image type="TopRightCorner" imageset="Vanilla-Images" image="FrameTopRight" />
264                <Image type="BottomLeftCorner" imageset="Vanilla-Images" image="FrameBottomLeft" />
265                <Image type="BottomRightCorner" imageset="Vanilla-Images" image="FrameBottomRight" />
266                <Image type="LeftEdge" imageset="Vanilla-Images" image="FrameLeft" />
267                <Image type="TopEdge" imageset="Vanilla-Images" image="FrameTop" />
268                <Image type="RightEdge" imageset="Vanilla-Images" image="FrameRight" />
269                <Image type="BottomEdge" imageset="Vanilla-Images" image="FrameBottom" />
270                <Image type="Background" imageset="Vanilla-Images" image="GenericBrush" />
271                <Colours topLeft="FF333333" topRight="FF333333" bottomLeft="FF333333" bottomRight="FF333333" />
272            </FrameComponent>
273        </ImagerySection>
274        <ImagerySection name="withtitle_noframe_client_area">
275            <FrameComponent>
276                <Area>
277                    <Dim type="LeftEdge"><AbsoluteDim value="0" /></Dim>
278                    <Dim type="TopEdge"><WidgetDim widget="__auto_titlebar__" dimension="BottomEdge" /></Dim>
279                    <Dim type="RightEdge"><UnifiedDim scale="1" type="RightEdge" /></Dim>
280                    <Dim type="BottomEdge"><UnifiedDim scale="1" type="BottomEdge" /></Dim>
281                </Area>
282                <Image type="TopLeftCorner" imageset="Vanilla-Images" image="FrameTopLeft" />
283                <Image type="TopRightCorner" imageset="Vanilla-Images" image="FrameTopRight" />
284                <Image type="BottomLeftCorner" imageset="Vanilla-Images" image="FrameBottomLeft" />
285                <Image type="BottomRightCorner" imageset="Vanilla-Images" image="FrameBottomRight" />
286                <Image type="LeftEdge" imageset="Vanilla-Images" image="FrameLeft" />
287                <Image type="TopEdge" imageset="Vanilla-Images" image="FrameTop" />
288                <Image type="RightEdge" imageset="Vanilla-Images" image="FrameRight" />
289                <Image type="BottomEdge" imageset="Vanilla-Images" image="FrameBottom" />
290                <Image type="Background" imageset="Vanilla-Images" image="GenericBrush" />
291                <Colours topLeft="FF333333" topRight="FF333333" bottomLeft="FF333333" bottomRight="FF333333" />
292            </FrameComponent>
293        </ImagerySection>
294        <ImagerySection name="notitle_noframe_client_area">
295            <FrameComponent>
296                <Area>
297                    <Dim type="LeftEdge"><AbsoluteDim value="0" /></Dim>
298                    <Dim type="TopEdge"><AbsoluteDim value="0" /></Dim>
299                    <Dim type="RightEdge"><UnifiedDim scale="1" type="RightEdge" /></Dim>
300                    <Dim type="BottomEdge"><UnifiedDim scale="1" type="BottomEdge" /></Dim>
301                </Area>
302                <Image type="TopLeftCorner" imageset="Vanilla-Images" image="FrameTopLeft" />
303                <Image type="TopRightCorner" imageset="Vanilla-Images" image="FrameTopRight" />
304                <Image type="BottomLeftCorner" imageset="Vanilla-Images" image="FrameBottomLeft" />
305                <Image type="BottomRightCorner" imageset="Vanilla-Images" image="FrameBottomRight" />
306                <Image type="LeftEdge" imageset="Vanilla-Images" image="FrameLeft" />
307                <Image type="TopEdge" imageset="Vanilla-Images" image="FrameTop" />
308                <Image type="RightEdge" imageset="Vanilla-Images" image="FrameRight" />
309                <Image type="BottomEdge" imageset="Vanilla-Images" image="FrameBottom" />
310                <Image type="Background" imageset="Vanilla-Images" image="GenericBrush" />
311                <Colours topLeft="FF333333" topRight="FF333333" bottomLeft="FF333333" bottomRight="FF333333" />
312            </FrameComponent>
313        </ImagerySection>
314        <StateImagery name="ActiveWithTitleWithFrame">
315            <Layer>
316                <Section section="withtitle_frame" />
317            </Layer>
318        </StateImagery>
319        <StateImagery name="InactiveWithTitleWithFrame">
320            <Layer>
321                <Section section="withtitle_frame" />
322            </Layer>
323        </StateImagery>
324        <StateImagery name="DisabledWithTitleWithFrame">
325            <Layer>
326                <Section section="withtitle_frame" />
327            </Layer>
328        </StateImagery>
329        <StateImagery name="ActiveWithTitleNoFrame">
330            <Layer>
331                <Section section="withtitle_noframe_client_area" />
332            </Layer>
333        </StateImagery>
334        <StateImagery name="InactiveWithTitleNoFrame">
335            <Layer>
336                <Section section="withtitle_noframe_client_area" />
337            </Layer>
338        </StateImagery>
339        <StateImagery name="DisabledWithTitleNoFrame">
340            <Layer>
341                <Section section="withtitle_noframe_client_area" />
342            </Layer>
343        </StateImagery>
344        <StateImagery name="ActiveNoTitleWithFrame">
345            <Layer>
346                <Section section="notitle_frame" />
347            </Layer>
348        </StateImagery>
349        <StateImagery name="InactiveNoTitleWithFrame">
350            <Layer>
351                <Section section="notitle_frame" />
352            </Layer>
353        </StateImagery>
354        <StateImagery name="DisabledNoTitleWithFrame">
355            <Layer>
356                <Section section="notitle_frame" />
357            </Layer>
358        </StateImagery>
359        <StateImagery name="ActiveNoTitleNoFrame">
360            <Layer>
361                <Section section="notitle_noframe_client_area" />
362            </Layer>
363        </StateImagery>
364        <StateImagery name="InactiveNoTitleNoFrame">
365            <Layer>
366                <Section section="notitle_noframe_client_area" />
367            </Layer>
368        </StateImagery>
369        <StateImagery name="DisabledNoTitleNoFrame">
370            <Layer>
371                <Section section="notitle_noframe_client_area" />
372            </Layer>
373        </StateImagery>
374    </WidgetLook>
375
376    <WidgetLook name="Vanilla/Editbox">
377        <PropertyDefinition name="ReadOnlyBGColour" initialValue="FFDFDFDF" redrawOnWrite="true" />
378        <PropertyDefinition name="NormalTextColour" initialValue="FF000000" redrawOnWrite="true" />
379        <PropertyDefinition name="SelectedTextColour" initialValue="FFFFFFFF" redrawOnWrite="true" />
380        <PropertyDefinition name="ActiveSelectionColour" initialValue="FF607FFF" redrawOnWrite="true" />
381        <PropertyDefinition name="InactiveSelectionColour" initialValue="FF808080" redrawOnWrite="true" />
382        <NamedArea name="TextArea">
383            <Area>
384                <Dim type="LeftEdge" ><AbsoluteDim value="7" /></Dim>
385                <Dim type="TopEdge" ><AbsoluteDim value="3" /></Dim>
386                <Dim type="RightEdge" ><UnifiedDim scale="1.0" offset="-7" type="RightEdge" /></Dim>
387                <Dim type="BottomEdge" ><UnifiedDim scale="1.0" offset="-7" type="BottomEdge" /></Dim>
388            </Area>
389        </NamedArea>
390        <ImagerySection name="selection">
391            <ImageryComponent>
392                <Area>
393                    <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
394                    <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
395                    <Dim type="RightEdge" ><UnifiedDim scale="1.0" type="RightEdge" /></Dim>
396                    <Dim type="BottomEdge" ><UnifiedDim scale="1.0" type="BottomEdge" /></Dim>
397                </Area>
398                <Image imageset="Vanilla-Images" image="GenericBrush" />
399                <VertFormat type="Stretched" />
400                <HorzFormat type="Stretched" />
401            </ImageryComponent>
402        </ImagerySection>
403        <ImagerySection name="Carat">
404            <ImageryComponent>
405                <Area>
406                    <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
407                    <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
408                    <Dim type="Width" ><AbsoluteDim value="2" /></Dim>
409                    <Dim type="BottomEdge" ><UnifiedDim scale="1.0" type="BottomEdge" /></Dim>
410                </Area>
411                <Image imageset="Vanilla-Images" image="GenericBrush" />
412                <Colours topLeft="FF2222FF" topRight="FF2222FF" bottomLeft="FF2222FF" bottomRight="FF2222FF" />
413                <VertFormat type="Stretched" />
414                <HorzFormat type="Stretched" />
415            </ImageryComponent>
416        </ImagerySection>
417        <StateImagery name="Enabled">
418            <Layer>
419                <Section look="Vanilla/Shared" section="Frame" />
420            </Layer>
421        </StateImagery>
422        <StateImagery name="ReadOnly">
423            <Layer>
424                <Section look="Vanilla/Shared" section="Frame" >
425                    <ColourProperty name="ReadOnlyBGColour" />
426                </Section>
427            </Layer>
428        </StateImagery>
429        <StateImagery name="Disabled">
430            <Layer>
431                <Section look="Vanilla/Shared" section="Frame" >
432                    <ColourProperty name="ReadOnlyBGColour" />
433                </Section>
434            </Layer>
435        </StateImagery>
436        <StateImagery name="ActiveSelection">
437            <Layer>
438                <Section section="selection">
439                    <ColourProperty name="ActiveSelectionColour" />
440                </Section>
441            </Layer>
442        </StateImagery>
443        <StateImagery name="InactiveSelection">
444            <Layer>
445                <Section section="selection">
446                    <ColourProperty name="InactiveSelectionColour" />
447                </Section>
448            </Layer>
449        </StateImagery>
450    </WidgetLook>
451
452    <WidgetLook name="Vanilla/VerticalScrollbarThumb">
453        <Property name="VertFree" value="True" />
454        <ImagerySection name="thumb">
455            <ImageryComponent>
456                <Area>
457                    <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
458                    <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
459                    <Dim type="Width" ><UnifiedDim scale="1.0" type="Width" /></Dim>
460                    <Dim type="Height" ><UnifiedDim scale="1.0" type="Height" /></Dim>
461                </Area>
462                <Image imageset="Vanilla-Images" image="ScrollbarThumb" />
463                <Colours topLeft="FF494949" topRight="FF494949" bottomLeft="FF494949" bottomRight="FF494949" />
464                <VertFormat type="Stretched" />
465                <HorzFormat type="Stretched" />
466            </ImageryComponent>
467        </ImagerySection>
468        <StateImagery name="Normal">
469            <Layer>
470                <Section section="thumb" />
471            </Layer>
472        </StateImagery>
473        <StateImagery name="Hover">
474            <Layer>
475                <Section section="thumb" />
476            </Layer>
477        </StateImagery>
478        <StateImagery name="Pushed">
479            <Layer>
480                <Section section="thumb" />
481            </Layer>
482        </StateImagery>
483    </WidgetLook>
484
485    <WidgetLook name="Vanilla/HorizontalScrollbarThumb">
486        <Property name="HorzFree" value="True" />
487        <ImagerySection name="thumb">
488            <ImageryComponent>
489                <Area>
490                    <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
491                    <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
492                    <Dim type="Width" ><UnifiedDim scale="1.0" type="Width" /></Dim>
493                    <Dim type="Height" ><UnifiedDim scale="1.0" type="Height" /></Dim>
494                </Area>
495                <Image imageset="Vanilla-Images" image="ScrollbarThumb" />
496                <Colours topLeft="FF494949" topRight="FF494949" bottomLeft="FF494949" bottomRight="FF494949" />
497                <VertFormat type="Stretched" />
498                <HorzFormat type="Stretched" />
499            </ImageryComponent>
500        </ImagerySection>
501        <StateImagery name="Normal">
502            <Layer>
503                <Section section="thumb" />
504            </Layer>
505        </StateImagery>
506        <StateImagery name="Hover">
507            <Layer>
508                <Section section="thumb" />
509            </Layer>
510        </StateImagery>
511        <StateImagery name="Pushed">
512            <Layer>
513                <Section section="thumb" />
514            </Layer>
515        </StateImagery>
516    </WidgetLook>
517
518    <WidgetLook name="Vanilla/HorizontalScrollbar">
519        <NamedArea name="ThumbTrackArea">
520            <Area>
521                <Dim type="LeftEdge"><WidgetDim widget="__auto_decbtn__" dimension="RightEdge" /></Dim>
522                <Dim type="TopEdge"><AbsoluteDim value="0" /></Dim>
523                <Dim type="RightEdge">
524                    <UnifiedDim scale="1" type="RightEdge">
525                        <DimOperator op="Subtract">
526                            <WidgetDim widget="__auto_incbtn__" dimension="Width" />
527                        </DimOperator>
528                    </UnifiedDim>
529                </Dim>
530                <Dim type="BottomEdge"><UnifiedDim scale="1" type="BottomEdge" /></Dim>
531            </Area>
532        </NamedArea>
533        <Child  type="Vanilla/Button" nameSuffix="__auto_incbtn__">
534            <Area>
535                <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
536                <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
537                <Dim type="Width" ><UnifiedDim scale="1" type="Height" /></Dim>
538                <Dim type="Height" ><UnifiedDim scale="1" type="Height" /></Dim>
539            </Area>
540            <VertAlignment type="CentreAligned" />
541            <HorzAlignment type="RightAligned" />
542            <Property name="UseStandardImagery" value="False" />
543            <Property name="NormalImage" value="set:Vanilla-Images image:ScrollRightArrow" />
544            <Property name="HoverImage" value="set:Vanilla-Images image:ScrollRightArrow" />
545            <Property name="PushedImage" value="set:Vanilla-Images image:ScrollRightArrow" />
546        </Child>
547        <Child  type="Vanilla/Button" nameSuffix="__auto_decbtn__">
548            <Area>
549                <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
550                <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
551                <Dim type="Width" ><UnifiedDim scale="1" type="Height" /></Dim>
552                <Dim type="Height" ><UnifiedDim scale="1" type="Height" /></Dim>
553            </Area>
554            <VertAlignment type="CentreAligned" />
555            <Property name="UseStandardImagery" value="False" />
556            <Property name="NormalImage" value="set:Vanilla-Images image:ScrollLeftArrow" />
557            <Property name="HoverImage" value="set:Vanilla-Images image:ScrollLeftArrow" />
558            <Property name="PushedImage" value="set:Vanilla-Images image:ScrollLeftArrow" />
559        </Child>
560        <Child  type="Vanilla/HorizontalScrollbarThumb" nameSuffix="__auto_thumb__">
561            <Area>
562                <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
563                <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
564                <Dim type="Width" ><UnifiedDim scale="1" type="Height" /></Dim>
565                <Dim type="Height" ><UnifiedDim scale="1" type="Height" /></Dim>
566            </Area>
567        </Child>
568        <ImagerySection name="main">
569            <ImageryComponent>
570                <Area>
571                    <Dim type="LeftEdge"><WidgetDim widget="__auto_decbtn__" dimension="RightEdge" /></Dim>
572                    <Dim type="TopEdge"><AbsoluteDim value="0" /></Dim>
573                    <Dim type="RightEdge">
574                        <UnifiedDim scale="1" type="RightEdge">
575                            <DimOperator op="Subtract">
576                                <WidgetDim widget="__auto_incbtn__" dimension="Width" />
577                            </DimOperator>
578                        </UnifiedDim>
579                    </Dim>
580                    <Dim type="BottomEdge"><UnifiedDim scale="1" type="BottomEdge" /></Dim>
581                </Area>
582                <Image imageset="Vanilla-Images" image="HorzScrollContainer" />
583                <VertFormat type="Stretched" />
584                <HorzFormat type="Stretched" />
585            </ImageryComponent>
586        </ImagerySection>
587        <StateImagery name="Enabled">
588            <Layer>
589                <Section section="main" />
590            </Layer>
591        </StateImagery>
592        <StateImagery name="Disabled">
593            <Layer>
594                <Section section="main" />
595            </Layer>
596        </StateImagery>
597    </WidgetLook>
598
599    <WidgetLook name="Vanilla/VerticalScrollbar">
600        <Property name="VerticalScrollbar" value="True" />
601        <NamedArea name="ThumbTrackArea">
602            <Area>
603                <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
604                <Dim type="TopEdge" ><WidgetDim widget="__auto_decbtn__" dimension="BottomEdge" /></Dim>
605                <Dim type="RightEdge" ><UnifiedDim scale="1.0" type="RightEdge" /></Dim>
606                <Dim type="BottomEdge" >
607                    <UnifiedDim scale="1.0" type="BottomEdge">
608                        <DimOperator op="Subtract">
609                            <WidgetDim widget="__auto_incbtn__" dimension="Height" />
610                        </DimOperator>
611                    </UnifiedDim>
612                </Dim>
613            </Area>
614        </NamedArea>
615        <Child  type="Vanilla/Button" nameSuffix="__auto_incbtn__">
616            <Area>
617                <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
618                <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
619                <Dim type="Width" ><UnifiedDim scale="1" type="Width" /></Dim>
620                <Dim type="Height" ><UnifiedDim scale="1" type="Width" /></Dim>
621            </Area>
622            <VertAlignment type="BottomAligned" />
623            <HorzAlignment type="CentreAligned" />
624            <Property name="UseStandardImagery" value="False" />
625            <Property name="NormalImage" value="set:Vanilla-Images image:ScrollDownArrow" />
626            <Property name="HoverImage" value="set:Vanilla-Images image:ScrollDownArrow" />
627            <Property name="PushedImage" value="set:Vanilla-Images image:ScrollDownArrow" />
628        </Child>
629        <Child  type="Vanilla/Button" nameSuffix="__auto_decbtn__">
630            <Area>
631                <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
632                <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
633                <Dim type="Width" ><UnifiedDim scale="1" type="Width" /></Dim>
634                <Dim type="Height" ><UnifiedDim scale="1" type="Width" /></Dim>
635            </Area>
636            <HorzAlignment type="CentreAligned" />
637            <Property name="UseStandardImagery" value="False" />
638            <Property name="NormalImage" value="set:Vanilla-Images image:ScrollUpArrow" />
639            <Property name="HoverImage" value="set:Vanilla-Images image:ScrollUpArrow" />
640            <Property name="PushedImage" value="set:Vanilla-Images image:ScrollUpArrow" />
641        </Child>
642        <Child  type="Vanilla/VerticalScrollbarThumb" nameSuffix="__auto_thumb__">
643            <Area>
644                <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
645                <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
646                <Dim type="Width" ><UnifiedDim scale="1" type="Width" /></Dim>
647                <Dim type="Height" ><UnifiedDim scale="1" type="Width" /></Dim>
648            </Area>
649        </Child>
650        <ImagerySection name="main">
651            <ImageryComponent>
652                <Area>
653                    <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
654                    <Dim type="TopEdge" ><WidgetDim widget="__auto_decbtn__" dimension="BottomEdge" /></Dim>
655                    <Dim type="RightEdge" ><UnifiedDim scale="1.0" type="RightEdge" /></Dim>
656                    <Dim type="BottomEdge" >
657                        <UnifiedDim scale="1.0" type="BottomEdge">
658                            <DimOperator op="Subtract">
659                                <WidgetDim widget="__auto_incbtn__" dimension="Height" />
660                            </DimOperator>
661                        </UnifiedDim>
662                    </Dim>
663                </Area>
664                <Image imageset="Vanilla-Images" image="VertScrollContainer" />
665                <VertFormat type="Stretched" />
666                <HorzFormat type="Stretched" />
667            </ImageryComponent>
668        </ImagerySection>
669        <StateImagery name="Enabled">
670            <Layer>
671                <Section section="main" />
672            </Layer>
673        </StateImagery>
674        <StateImagery name="Disabled">
675            <Layer>
676                <Section section="main" />
677            </Layer>
678        </StateImagery>
679    </WidgetLook>
680
681    <WidgetLook name="Vanilla/StaticImage">
682                <PropertyDefinition name="ImageColours" initialValue="tl:FFFFFFFF tr:FFFFFFFF bl:FFFFFFFF br:FFFFFFFF" redrawOnWrite="true" />
683                <PropertyDefinition name="VertFormatting" initialValue="Stretched" redrawOnWrite="true" />
684        <PropertyDefinition name="HorzFormatting" initialValue="Stretched" redrawOnWrite="true" />
685        <Property name="BackgroundEnabled" value="True" />
686        <Property name="FrameEnabled" value="True" />
687        <ImagerySection name="image_withframe">
688            <ImageryComponent>
689                <Area>
690                    <Dim type="LeftEdge" ><ImageDim imageset="Vanilla-Images" image="FrameLeft" dimension="Width" /></Dim>
691                                        <Dim type="TopEdge" ><ImageDim imageset="Vanilla-Images" image="FrameTop" dimension="Height" /></Dim>
692                                        <Dim type="RightEdge" >
693                                                <UnifiedDim scale="1" type="RightEdge">
694                                                        <DimOperator op="Subtract">
695                                                                <ImageDim imageset="Vanilla-Images" image="FrameRight" dimension="Width" />
696                                                        </DimOperator>
697                                                </UnifiedDim>
698                                        </Dim>
699                                        <Dim type="BottomEdge" >
700                                                <UnifiedDim scale="1" type="BottomEdge">
701                                                        <DimOperator op="Subtract">
702                                                                <ImageDim imageset="Vanilla-Images" image="FrameBottom" dimension="Height" />
703                                                        </DimOperator>
704                                                </UnifiedDim>
705                                        </Dim>
706                </Area>
707                <ImageProperty name="Image" />
708                <ColourRectProperty name="ImageColours" />
709                <VertFormatProperty name="VertFormatting" />
710                <HorzFormatProperty name="HorzFormatting" />
711            </ImageryComponent>
712        </ImagerySection>
713        <ImagerySection name="image_noframe">
714            <ImageryComponent>
715                <Area>
716                    <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
717                    <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
718                    <Dim type="RightEdge" ><UnifiedDim scale="1.0" type="RightEdge" /></Dim>
719                    <Dim type="BottomEdge" ><UnifiedDim scale="1.0" type="BottomEdge" /></Dim>
720                </Area>
721                <ImageProperty name="Image" />
722                <ColourRectProperty name="ImageColours" />
723                <VertFormatProperty name="VertFormatting" />
724                <HorzFormatProperty name="HorzFormatting" />
725            </ImageryComponent>
726        </ImagerySection>
727        <StateImagery name="Enabled" />
728        <StateImagery name="Disabled" />
729        <StateImagery name="EnabledFrame">
730            <Layer>
731                <Section look="Vanilla/Shared" section="FrameOnly">
732                    <Colours topLeft="FF7F7F7F" topRight="FF7F7F7F" bottomLeft="FF7F7F7F" bottomRight="FF7F7F7F" />
733                </Section>
734            </Layer>
735        </StateImagery>
736        <StateImagery name="DisabledFrame">
737            <Layer>
738                <Section look="Vanilla/Shared" section="FrameOnly">
739                    <Colours topLeft="FF7F7F7F" topRight="FF7F7F7F" bottomLeft="FF7F7F7F" bottomRight="FF7F7F7F" />
740                </Section>
741            </Layer>
742        </StateImagery>
743        <StateImagery name="WithFrameEnabledBackground">
744            <Layer>
745                <Section look="Vanilla/Shared" section="BackgroundOnly">
746                    <Colours topLeft="FF7F7F7F" topRight="FF7F7F7F" bottomLeft="FF7F7F7F" bottomRight="FF7F7F7F" />
747                </Section>
748            </Layer>
749        </StateImagery>
750        <StateImagery name="WithFrameDisabledBackground">
751            <Layer>
752                <Section look="Vanilla/Shared" section="BackgroundOnly">
753                    <Colours topLeft="FF7F7F7F" topRight="FF7F7F7F" bottomLeft="FF7F7F7F" bottomRight="FF7F7F7F" />
754                </Section>
755            </Layer>
756        </StateImagery>
757        <StateImagery name="NoFrameEnabledBackground">
758            <Layer>
759                <Section look="Vanilla/Shared" section="BackgroundOnlyFull">
760                    <Colours topLeft="FF7F7F7F" topRight="FF7F7F7F" bottomLeft="FF7F7F7F" bottomRight="FF7F7F7F" />
761                </Section>
762            </Layer>
763        </StateImagery>
764        <StateImagery name="NoFrameDisabledBackground">
765            <Layer>
766                <Section look="Vanilla/Shared" section="BackgroundOnlyFull">
767                    <Colours topLeft="FF7F7F7F" topRight="FF7F7F7F" bottomLeft="FF7F7F7F" bottomRight="FF7F7F7F" />
768                </Section>
769            </Layer>
770        </StateImagery>
771        <StateImagery name="WithFrameImage">
772            <Layer>
773                <Section section="image_withframe" />
774            </Layer>
775        </StateImagery>
776        <StateImagery name="NoFrameImage">
777            <Layer>
778                <Section section="image_noframe" />
779            </Layer>
780        </StateImagery>
781    </WidgetLook>
782
783    <WidgetLook name="Vanilla/StaticText">
784        <Property name="BackgroundEnabled" value="True" />
785        <Property name="FrameEnabled" value="True" />
786        <NamedArea name="WithFrameTextRenderArea">
787            <Area>
788                <Dim type="LeftEdge" ><ImageDim imageset="Vanilla-Images" image="FrameLeft" dimension="Width" /></Dim>
789                <Dim type="TopEdge" ><ImageDim imageset="Vanilla-Images" image="FrameTop" dimension="Height" /></Dim>
790                <Dim type="RightEdge" >
791                    <UnifiedDim scale="1" type="RightEdge">
792                        <DimOperator op="Subtract">
793                            <ImageDim imageset="Vanilla-Images" image="FrameRight" dimension="Width" />
794                        </DimOperator>
795                    </UnifiedDim>
796                </Dim>
797                <Dim type="BottomEdge" >
798                    <UnifiedDim scale="1" type="BottomEdge">
799                        <DimOperator op="Subtract">
800                            <ImageDim imageset="Vanilla-Images" image="FrameBottom" dimension="Height" />
801                        </DimOperator>
802                    </UnifiedDim>
803                </Dim>
804            </Area>
805        </NamedArea>
806        <NamedArea name="WithFrameTextRenderAreaHScroll">
807            <Area>
808                <Dim type="LeftEdge" ><ImageDim imageset="Vanilla-Images" image="FrameLeft" dimension="Width" /></Dim>
809                <Dim type="TopEdge" ><ImageDim imageset="Vanilla-Images" image="FrameTop" dimension="Height" /></Dim>
810                <Dim type="RightEdge" >
811                    <UnifiedDim scale="1" type="RightEdge">
812                        <DimOperator op="Subtract">
813                            <ImageDim imageset="Vanilla-Images" image="FrameRight" dimension="Width" />
814                        </DimOperator>
815                    </UnifiedDim>
816                </Dim>
817                <Dim type="BottomEdge" >
818                    <UnifiedDim scale="1" offset="-20" type="BottomEdge" />
819                </Dim>
820            </Area>
821        </NamedArea>
822        <NamedArea name="WithFrameTextRenderAreaVScroll">
823            <Area>
824                <Dim type="LeftEdge" ><ImageDim imageset="Vanilla-Images" image="FrameLeft" dimension="Width" /></Dim>
825                <Dim type="TopEdge" ><ImageDim imageset="Vanilla-Images" image="FrameTop" dimension="Height" /></Dim>
826                <Dim type="RightEdge" >
827                    <UnifiedDim scale="1" offset="-20" type="RightEdge" />
828                </Dim>
829                <Dim type="BottomEdge" >
830                    <UnifiedDim scale="1" type="BottomEdge">
831                        <DimOperator op="Subtract">
832                            <ImageDim imageset="Vanilla-Images" image="FrameBottom" dimension="Height" />
833                        </DimOperator>
834                    </UnifiedDim>
835                </Dim>
836            </Area>
837        </NamedArea>
838        <NamedArea name="WithFrameTextRenderAreaHVScroll">
839            <Area>
840                <Dim type="LeftEdge" ><ImageDim imageset="Vanilla-Images" image="FrameLeft" dimension="Width" /></Dim>
841                <Dim type="TopEdge" ><ImageDim imageset="Vanilla-Images" image="FrameTop" dimension="Height" /></Dim>
842                <Dim type="RightEdge" >
843                    <UnifiedDim scale="1" offset="-20" type="RightEdge" />
844                </Dim>
845                <Dim type="BottomEdge" >
846                    <UnifiedDim scale="1" offset="-20" type="BottomEdge" />
847                </Dim>
848            </Area>
849        </NamedArea>
850        <NamedArea name="NoFrameTextRenderArea">
851            <Area>
852                <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
853                <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
854                <Dim type="RightEdge" ><UnifiedDim scale="1" type="RightEdge" /></Dim>
855                <Dim type="BottomEdge" ><UnifiedDim scale="1" type="BottomEdge" /></Dim>
856            </Area>
857        </NamedArea>
858        <NamedArea name="NoFrameTextRenderAreaHScroll">
859            <Area>
860                <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
861                <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
862                <Dim type="RightEdge" ><UnifiedDim scale="1" type="RightEdge" /></Dim>
863                <Dim type="BottomEdge" ><UnifiedDim scale="1" offset="-20" type="BottomEdge" /></Dim>
864            </Area>
865        </NamedArea>
866        <NamedArea name="NoFrameTextRenderAreaVScroll">
867            <Area>
868                <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
869                <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
870                <Dim type="RightEdge" ><UnifiedDim scale="1" offset="-20" type="RightEdge" /></Dim>
871                <Dim type="BottomEdge" ><UnifiedDim scale="1" type="BottomEdge" /></Dim>
872            </Area>
873        </NamedArea>
874        <NamedArea name="NoFrameTextRenderAreaHVScroll">
875            <Area>
876                <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
877                <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
878                <Dim type="RightEdge" ><UnifiedDim scale="1" offset="-20" type="RightEdge" /></Dim>
879                <Dim type="BottomEdge" ><UnifiedDim scale="1" offset="-20" type="BottomEdge" /></Dim>
880            </Area>
881        </NamedArea>
882        <Child  type="Vanilla/HorizontalScrollbar" nameSuffix="__auto_hscrollbar__">
883            <Area>
884                <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
885                <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
886                <Dim type="Width" ><UnifiedDim scale="1" offset="-20" type="Width" /></Dim>
887                <Dim type="Height" ><AbsoluteDim value="20" /></Dim>
888            </Area>
889            <VertAlignment type="BottomAligned" />
890        </Child>
891        <Child  type="Vanilla/VerticalScrollbar" nameSuffix="__auto_vscrollbar__">
892            <Area>
893                <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
894                <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
895                <Dim type="Width" ><AbsoluteDim value="20" /></Dim>
896                <Dim type="Height" ><UnifiedDim scale="1" offset="-20" type="Height" /></Dim>
897            </Area>
898            <HorzAlignment type="RightAligned" />
899        </Child>
900        <StateImagery name="Enabled" />
901        <StateImagery name="Disabled" />
902        <StateImagery name="EnabledFrame">
903            <Layer>
904                <Section look="Vanilla/Shared" section="FrameOnly">
905                    <Colours topLeft="FF7F7F7F" topRight="FF7F7F7F" bottomLeft="FF7F7F7F" bottomRight="FF7F7F7F" />
906                </Section>
907            </Layer>
908        </StateImagery>
909        <StateImagery name="DisabledFrame">
910            <Layer>
911                <Section look="Vanilla/Shared" section="FrameOnly">
912                    <Colours topLeft="FF7F7F7F" topRight="FF7F7F7F" bottomLeft="FF7F7F7F" bottomRight="FF7F7F7F" />
913                </Section>
914            </Layer>
915        </StateImagery>
916        <StateImagery name="WithFrameEnabledBackground">
917            <Layer>
918                <Section look="Vanilla/Shared" section="BackgroundOnly">
919                    <Colours topLeft="FF7F7F7F" topRight="FF7F7F7F" bottomLeft="FF7F7F7F" bottomRight="FF7F7F7F" />
920                </Section>
921            </Layer>
922        </StateImagery>
923        <StateImagery name="WithFrameDisabledBackground">
924            <Layer>
925                <Section look="Vanilla/Shared" section="BackgroundOnly">
926                    <Colours topLeft="FF7F7F7F" topRight="FF7F7F7F" bottomLeft="FF7F7F7F" bottomRight="FF7F7F7F" />
927                </Section>
928            </Layer>
929        </StateImagery>
930        <StateImagery name="NoFrameEnabledBackground">
931            <Layer>
932                <Section look="Vanilla/Shared" section="BackgroundOnlyFull">
933                    <Colours topLeft="FF7F7F7F" topRight="FF7F7F7F" bottomLeft="FF7F7F7F" bottomRight="FF7F7F7F" />
934                </Section>
935            </Layer>
936        </StateImagery>
937        <StateImagery name="NoFrameDisabledBackground">
938            <Layer>
939                <Section look="Vanilla/Shared" section="BackgroundOnlyFull">
940                    <Colours topLeft="FF7F7F7F" topRight="FF7F7F7F" bottomLeft="FF7F7F7F" bottomRight="FF7F7F7F" />
941                </Section>
942            </Layer>
943        </StateImagery>
944    </WidgetLook>
945
946    <WidgetLook name="Vanilla/Listbox">
947        <Property name="ForceVertScrollbar" value="True" />
948        <NamedArea name="ItemRenderingArea">
949            <Area>
950                <Dim type="LeftEdge" ><ImageDim imageset="Vanilla-Images" image="FrameLeft" dimension="Width" /></Dim>
951                <Dim type="TopEdge" ><ImageDim imageset="Vanilla-Images" image="FrameTop" dimension="Height" /></Dim>
952                <Dim type="RightEdge" >
953                    <UnifiedDim scale="1" type="RightEdge">
954                        <DimOperator op="Subtract">
955                            <ImageDim imageset="Vanilla-Images" image="FrameRight" dimension="Width" />
956                        </DimOperator>
957                    </UnifiedDim>
958                </Dim>
959                <Dim type="BottomEdge" >
960                    <UnifiedDim scale="1" type="BottomEdge">
961                        <DimOperator op="Subtract">
962                            <ImageDim imageset="Vanilla-Images" image="FrameBottom" dimension="Height" />
963                        </DimOperator>
964                    </UnifiedDim>
965                </Dim>
966            </Area>
967        </NamedArea>
968        <Child  type="Vanilla/HorizontalScrollbar" nameSuffix="__auto_hscrollbar__">
969            <Area>
970                <Dim type="LeftEdge" ><AbsoluteDim value="5" /></Dim>
971                <Dim type="TopEdge" ><AbsoluteDim value="-5" /></Dim>
972                <Dim type="Width" ><UnifiedDim scale="1" offset="-25" type="Width" /></Dim>
973                <Dim type="Height" ><AbsoluteDim value="20" /></Dim>
974            </Area>
975            <VertAlignment type="BottomAligned" />
976        </Child>
977        <Child  type="Vanilla/VerticalScrollbar" nameSuffix="__auto_vscrollbar__">
978            <Area>
979                <Dim type="LeftEdge" ><AbsoluteDim value="-5" /></Dim>
980                <Dim type="TopEdge" ><AbsoluteDim value="5" /></Dim>
981                <Dim type="Width" ><AbsoluteDim value="20" /></Dim>
982                <Dim type="Height" ><UnifiedDim scale="1" offset="-10" type="Height" /></Dim>
983            </Area>
984            <HorzAlignment type="RightAligned" />
985        </Child>
986        <StateImagery name="Enabled">
987            <Layer>
988                <Section look="Vanilla/Shared" section="Frame">
989                    <Colours topLeft="FF7F7F7F" topRight="FF7F7F7F" bottomLeft="FF7F7F7F" bottomRight="FF7F7F7F" />
990                </Section>
991            </Layer>
992        </StateImagery>
993        <StateImagery name="Disabled">
994            <Layer>
995                <Section look="Vanilla/Shared" section="Frame">
996                    <Colours topLeft="FF7F7F7F" topRight="FF7F7F7F" bottomLeft="FF7F7F7F" bottomRight="FF7F7F7F" />
997                </Section>
998            </Layer>
999        </StateImagery>
1000    </WidgetLook>
1001
1002    <WidgetLook name="Vanilla/MultiLineEditbox">
1003        <PropertyDefinition name="NormalTextColour" initialValue="FF000000" redrawOnWrite="true" />
1004        <PropertyDefinition name="SelectedTextColour" initialValue="FFFFFFFF" redrawOnWrite="true" />
1005        <PropertyDefinition name="ActiveSelectionColour" initialValue="FF607FFF" redrawOnWrite="true" />
1006        <PropertyDefinition name="InactiveSelectionColour" initialValue="FF808080" redrawOnWrite="true" />
1007        <Property name="SelectionBrushImage" value="set:Vanilla-Images image:GenericBrush" />
1008        <NamedArea name="TextArea">
1009            <Area>
1010                <Dim type="LeftEdge" ><ImageDim imageset="Vanilla-Images" image="FrameLeft" dimension="Width" /></Dim>
1011                <Dim type="TopEdge" ><ImageDim imageset="Vanilla-Images" image="FrameTop" dimension="Height" /></Dim>
1012                <Dim type="RightEdge" >
1013                    <UnifiedDim scale="1" type="RightEdge">
1014                        <DimOperator op="Subtract">
1015                            <ImageDim imageset="Vanilla-Images" image="FrameRight" dimension="Width" />
1016                        </DimOperator>
1017                    </UnifiedDim>
1018                </Dim>
1019                <Dim type="BottomEdge" >
1020                    <UnifiedDim scale="1" type="BottomEdge">
1021                        <DimOperator op="Subtract">
1022                            <ImageDim imageset="Vanilla-Images" image="FrameBottom" dimension="Height" />
1023                        </DimOperator>
1024                    </UnifiedDim>
1025                </Dim>
1026            </Area>
1027        </NamedArea>
1028        <Child  type="Vanilla/HorizontalScrollbar" nameSuffix="__auto_hscrollbar__">
1029            <Area>
1030                <Dim type="LeftEdge" ><AbsoluteDim value="5" /></Dim>
1031                <Dim type="TopEdge" ><AbsoluteDim value="-5" /></Dim>
1032                <Dim type="Width" ><UnifiedDim scale="1" offset="-25" type="Width" /></Dim>
1033                <Dim type="Height" ><AbsoluteDim value="20" /></Dim>
1034            </Area>
1035            <VertAlignment type="BottomAligned" />
1036        </Child>
1037        <Child  type="Vanilla/VerticalScrollbar" nameSuffix="__auto_vscrollbar__">
1038            <Area>
1039                <Dim type="LeftEdge" ><AbsoluteDim value="-5" /></Dim>
1040                <Dim type="TopEdge" ><AbsoluteDim value="5" /></Dim>
1041                <Dim type="Width" ><AbsoluteDim value="20" /></Dim>
1042                <Dim type="Height" ><UnifiedDim scale="1" offset="-10" type="Height" /></Dim>
1043            </Area>
1044            <HorzAlignment type="RightAligned" />
1045        </Child>
1046        <ImagerySection name="Carat">
1047            <ImageryComponent>
1048                <Area>
1049                    <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
1050                    <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
1051                    <Dim type="Width" ><AbsoluteDim value="2" /></Dim>
1052                    <Dim type="BottomEdge" ><UnifiedDim scale="1.0" type="BottomEdge" /></Dim>
1053                </Area>
1054                <Image imageset="Vanilla-Images" image="GenericBrush" />
1055                <Colours topLeft="FF2222FF" topRight="FF2222FF" bottomLeft="FF2222FF" bottomRight="FF2222FF" />
1056                <VertFormat type="Stretched" />
1057                <HorzFormat type="Stretched" />
1058            </ImageryComponent>
1059        </ImagerySection>
1060        <StateImagery name="Enabled">
1061            <Layer>
1062                <Section look="Vanilla/Shared" section="Frame" />
1063            </Layer>
1064        </StateImagery>
1065        <StateImagery name="ReadOnly">
1066            <Layer>
1067                <Section look="Vanilla/Shared" section="Frame" />
1068            </Layer>
1069        </StateImagery>
1070        <StateImagery name="Disabled">
1071            <Layer>
1072                <Section look="Vanilla/Shared" section="Frame" />
1073            </Layer>
1074        </StateImagery>
1075    </WidgetLook>
1076
1077</Falagard>
Note: See TracBrowser for help on using the repository browser.