Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: data/branches/cleanup/gui/looknfeels/WindowsLook.looknfeel @ 7685

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

Re-adding looknfeels, for the time being. We'll move them when there are less branches around, because these will be breaking changes.

File size: 218.8 KB
Line 
1<?xml version="1.0" ?>
2<Falagard>
3    <!--
4    ***************************************************
5        WindowsLook/Button
6    ***************************************************
7    -->
8    <WidgetLook name="WindowsLook/Button">
9        <PropertyDefinition name="NormalTextColour" initialValue="FF000000" redrawOnWrite="true" />
10        <PropertyDefinition name="HoverTextColour" initialValue="FF000000" redrawOnWrite="true" />
11        <PropertyDefinition name="PushedTextColour" initialValue="FF000000" redrawOnWrite="true" />
12        <PropertyDefinition name="DisabledTextColour" initialValue="FF888888" redrawOnWrite="true" />
13        <ImagerySection name="label">
14            <TextComponent>
15                <Area>
16                    <Dim type="LeftEdge">
17                        <AbsoluteDim value="0" />
18                    </Dim>
19                    <Dim type="TopEdge">
20                        <AbsoluteDim value="0" />
21                    </Dim>
22                    <Dim type="RightEdge">
23                        <UnifiedDim scale="1" type="RightEdge" />
24                    </Dim>
25                    <Dim type="BottomEdge">
26                        <UnifiedDim scale="1" type="BottomEdge" />
27                    </Dim>
28                </Area>
29                <VertFormat type="CentreAligned" />
30                <HorzFormat type="WordWrapCentreAligned" />
31            </TextComponent>
32        </ImagerySection>
33        <ImagerySection name="normal">
34            <FrameComponent>
35                <Area>
36                    <Dim type="LeftEdge">
37                        <AbsoluteDim value="0" />
38                    </Dim>
39                    <Dim type="TopEdge">
40                        <AbsoluteDim value="0" />
41                    </Dim>
42                    <Dim type="RightEdge">
43                        <UnifiedDim scale="1" type="RightEdge" />
44                    </Dim>
45                    <Dim type="BottomEdge">
46                        <UnifiedDim scale="1" type="BottomEdge" />
47                    </Dim>
48                </Area>
49                <Image type="TopLeftCorner" imageset="WindowsLook" image="ButtonNormalTopLeft" />
50                <Image type="TopRightCorner" imageset="WindowsLook" image="ButtonNormalTopRight" />
51                <Image type="BottomLeftCorner" imageset="WindowsLook" image="ButtonNormalBottomLeft" />
52                <Image type="BottomRightCorner" imageset="WindowsLook" image="ButtonNormalBottomRight" />
53                <Image type="LeftEdge" imageset="WindowsLook" image="ButtonNormalLeft" />
54                <Image type="TopEdge" imageset="WindowsLook" image="ButtonNormalTop" />
55                <Image type="RightEdge" imageset="WindowsLook" image="ButtonNormalRight" />
56                <Image type="BottomEdge" imageset="WindowsLook" image="ButtonNormalBottom" />
57            </FrameComponent>
58            <ImageryComponent>
59                <Area>
60                    <Dim type="LeftEdge">
61                        <ImageDim imageset="WindowsLook" image="ButtonNormalLeft" dimension="Width" />
62                    </Dim>
63                    <Dim type="TopEdge">
64                        <ImageDim imageset="WindowsLook" image="ButtonNormalTop" dimension="Height" />
65                    </Dim>
66                    <Dim type="RightEdge">
67                        <UnifiedDim scale="1" type="RightEdge">
68                            <DimOperator op="Subtract">
69                                <ImageDim imageset="WindowsLook" image="ButtonNormalRight" dimension="Width" />
70                            </DimOperator>
71                        </UnifiedDim>
72                    </Dim>
73                    <Dim type="BottomEdge">
74                        <UnifiedDim scale="1" type="BottomEdge">
75                            <DimOperator op="Subtract">
76                                <ImageDim imageset="WindowsLook" image="ButtonNormalBottom" dimension="Height" />
77                            </DimOperator>
78                        </UnifiedDim>
79                    </Dim>
80                </Area>
81                <Image imageset="WindowsLook" image="Background" />
82                <Colours topLeft="FFAFAFAF" topRight="FFFFFFFF" bottomLeft="FFFFFFFF" bottomRight="FFAFAFAF" />
83                <VertFormat type="Stretched" />
84                <HorzFormat type="Stretched" />
85            </ImageryComponent>
86        </ImagerySection>
87        <ImagerySection name="hover">
88            <FrameComponent>
89                <Area>
90                    <Dim type="LeftEdge">
91                        <AbsoluteDim value="0" />
92                    </Dim>
93                    <Dim type="TopEdge">
94                        <AbsoluteDim value="0" />
95                    </Dim>
96                    <Dim type="RightEdge">
97                        <UnifiedDim scale="1" type="RightEdge" />
98                    </Dim>
99                    <Dim type="BottomEdge">
100                        <UnifiedDim scale="1" type="BottomEdge" />
101                    </Dim>
102                </Area>
103                <Image type="TopLeftCorner" imageset="WindowsLook" image="ButtonHoverTopLeft" />
104                <Image type="TopRightCorner" imageset="WindowsLook" image="ButtonHoverTopRight" />
105                <Image type="BottomLeftCorner" imageset="WindowsLook" image="ButtonHoverBottomLeft" />
106                <Image type="BottomRightCorner" imageset="WindowsLook" image="ButtonHoverBottomRight" />
107                <Image type="LeftEdge" imageset="WindowsLook" image="ButtonHoverLeft" />
108                <Image type="TopEdge" imageset="WindowsLook" image="ButtonHoverTop" />
109                <Image type="RightEdge" imageset="WindowsLook" image="ButtonHoverRight" />
110                <Image type="BottomEdge" imageset="WindowsLook" image="ButtonHoverBottom" />
111            </FrameComponent>
112            <ImageryComponent>
113                <Area>
114                    <Dim type="LeftEdge">
115                        <ImageDim imageset="WindowsLook" image="ButtonHoverLeft" dimension="Width" />
116                    </Dim>
117                    <Dim type="TopEdge">
118                        <ImageDim imageset="WindowsLook" image="ButtonHoverTop" dimension="Height" />
119                    </Dim>
120                    <Dim type="RightEdge">
121                        <UnifiedDim scale="1" type="RightEdge">
122                            <DimOperator op="Subtract">
123                                <ImageDim imageset="WindowsLook" image="ButtonHoverRight" dimension="Width" />
124                            </DimOperator>
125                        </UnifiedDim>
126                    </Dim>
127                    <Dim type="BottomEdge">
128                        <UnifiedDim scale="1" type="BottomEdge">
129                            <DimOperator op="Subtract">
130                                <ImageDim imageset="WindowsLook" image="ButtonHoverBottom" dimension="Height" />
131                            </DimOperator>
132                        </UnifiedDim>
133                    </Dim>
134                </Area>
135                <Image imageset="WindowsLook" image="Background" />
136                <Colours topLeft="FFCFD9CF" topRight="FFF2FFF2" bottomLeft="FFF2FFF2" bottomRight="FFCFD9CF" />
137                <VertFormat type="Stretched" />
138                <HorzFormat type="Stretched" />
139            </ImageryComponent>
140        </ImagerySection>
141        <ImagerySection name="pushed">
142            <FrameComponent>
143                <Area>
144                    <Dim type="LeftEdge">
145                        <AbsoluteDim value="0" />
146                    </Dim>
147                    <Dim type="TopEdge">
148                        <AbsoluteDim value="0" />
149                    </Dim>
150                    <Dim type="RightEdge">
151                        <UnifiedDim scale="1" type="RightEdge" />
152                    </Dim>
153                    <Dim type="BottomEdge">
154                        <UnifiedDim scale="1" type="BottomEdge" />
155                    </Dim>
156                </Area>
157                <Image type="TopLeftCorner" imageset="WindowsLook" image="ButtonPushedTopLeft" />
158                <Image type="TopRightCorner" imageset="WindowsLook" image="ButtonPushedTopRight" />
159                <Image type="BottomLeftCorner" imageset="WindowsLook" image="ButtonPushedBottomLeft" />
160                <Image type="BottomRightCorner" imageset="WindowsLook" image="ButtonPushedBottomRight" />
161                <Image type="LeftEdge" imageset="WindowsLook" image="ButtonPushedLeft" />
162                <Image type="TopEdge" imageset="WindowsLook" image="ButtonPushedTop" />
163                <Image type="RightEdge" imageset="WindowsLook" image="ButtonPushedRight" />
164                <Image type="BottomEdge" imageset="WindowsLook" image="ButtonPushedBottom" />
165            </FrameComponent>
166            <ImageryComponent>
167                <Area>
168                    <Dim type="LeftEdge">
169                        <ImageDim imageset="WindowsLook" image="ButtonPushedLeft" dimension="Width" />
170                    </Dim>
171                    <Dim type="TopEdge">
172                        <ImageDim imageset="WindowsLook" image="ButtonPushedTop" dimension="Height" />
173                    </Dim>
174                    <Dim type="RightEdge">
175                        <UnifiedDim scale="1" type="RightEdge">
176                            <DimOperator op="Subtract">
177                                <ImageDim imageset="WindowsLook" image="ButtonPushedRight" dimension="Width" />
178                            </DimOperator>
179                        </UnifiedDim>
180                    </Dim>
181                    <Dim type="BottomEdge">
182                        <UnifiedDim scale="1" type="BottomEdge">
183                            <DimOperator op="Subtract">
184                                <ImageDim imageset="WindowsLook" image="ButtonPushedBottom" dimension="Height" />
185                            </DimOperator>
186                        </UnifiedDim>
187                    </Dim>
188                </Area>
189                <Image imageset="WindowsLook" image="Background" />
190                <Colours topLeft="FFAFAFAF" topRight="FFFFFFFF" bottomLeft="FFFFFFFF" bottomRight="FFAFAFAF" />
191                <VertFormat type="Stretched" />
192                <HorzFormat type="Stretched" />
193            </ImageryComponent>
194        </ImagerySection>
195        <ImagerySection name="disabled">
196            <FrameComponent>
197                <Area>
198                    <Dim type="LeftEdge">
199                        <AbsoluteDim value="0" />
200                    </Dim>
201                    <Dim type="TopEdge">
202                        <AbsoluteDim value="0" />
203                    </Dim>
204                    <Dim type="RightEdge">
205                        <UnifiedDim scale="1" type="RightEdge" />
206                    </Dim>
207                    <Dim type="BottomEdge">
208                        <UnifiedDim scale="1" type="BottomEdge" />
209                    </Dim>
210                </Area>
211                <Image type="TopLeftCorner" imageset="WindowsLook" image="ButtonNormalTopLeft" />
212                <Image type="TopRightCorner" imageset="WindowsLook" image="ButtonNormalTopRight" />
213                <Image type="BottomLeftCorner" imageset="WindowsLook" image="ButtonNormalBottomLeft" />
214                <Image type="BottomRightCorner" imageset="WindowsLook" image="ButtonNormalBottomRight" />
215                <Image type="LeftEdge" imageset="WindowsLook" image="ButtonNormalLeft" />
216                <Image type="TopEdge" imageset="WindowsLook" image="ButtonNormalTop" />
217                <Image type="RightEdge" imageset="WindowsLook" image="ButtonNormalRight" />
218                <Image type="BottomEdge" imageset="WindowsLook" image="ButtonNormalBottom" />
219            </FrameComponent>
220            <ImageryComponent>
221                <Area>
222                    <Dim type="LeftEdge">
223                        <ImageDim imageset="WindowsLook" image="ButtonNormalLeft" dimension="Width" />
224                    </Dim>
225                    <Dim type="TopEdge">
226                        <ImageDim imageset="WindowsLook" image="ButtonNormalTop" dimension="Height" />
227                    </Dim>
228                    <Dim type="RightEdge">
229                        <UnifiedDim scale="1" type="RightEdge">
230                            <DimOperator op="Subtract">
231                                <ImageDim imageset="WindowsLook" image="ButtonNormalRight" dimension="Width" />
232                            </DimOperator>
233                        </UnifiedDim>
234                    </Dim>
235                    <Dim type="BottomEdge">
236                        <UnifiedDim scale="1" type="BottomEdge">
237                            <DimOperator op="Subtract">
238                                <ImageDim imageset="WindowsLook" image="ButtonNormalBottom" dimension="Height" />
239                            </DimOperator>
240                        </UnifiedDim>
241                    </Dim>
242                </Area>
243                <Image imageset="WindowsLook" image="Background" />
244                <VertFormat type="Stretched" />
245                <HorzFormat type="Stretched" />
246            </ImageryComponent>
247        </ImagerySection>
248        <StateImagery name="Normal">
249            <Layer>
250                <Section section="normal" />
251                <Section section="label">
252                    <ColourProperty name="NormalTextColour" />
253                </Section>
254            </Layer>
255        </StateImagery>
256        <StateImagery name="Hover">
257            <Layer>
258                <Section section="hover" />
259                <Section section="label">
260                    <ColourProperty name="HoverTextColour" />
261                </Section>
262            </Layer>
263        </StateImagery>
264        <StateImagery name="Pushed">
265            <Layer>
266                <Section section="pushed" />
267                <Section section="label">
268                    <ColourProperty name="PushedTextColour" />
269                </Section>
270            </Layer>
271        </StateImagery>
272        <StateImagery name="PushedOff">
273            <Layer>
274                <Section section="hover" />
275                <Section section="label">
276                    <ColourProperty name="HoverTextColour" />
277                </Section>
278            </Layer>
279        </StateImagery>
280        <StateImagery name="Disabled">
281            <Layer>
282                <Section section="disabled">
283                    <Colours topLeft="FFDFDFDF" topRight="FFDFDFDF" bottomLeft="FFDFDFDF" bottomRight="FFDFDFDF" />
284                </Section>
285                <Section section="label">
286                    <ColourProperty name="DisabledTextColour" />
287                </Section>
288            </Layer>
289        </StateImagery>
290    </WidgetLook>
291
292
293    <!--
294    ***************************************************
295        WindowsLook/Checkbox
296    ***************************************************
297    -->
298    <WidgetLook name="WindowsLook/Checkbox">
299        <PropertyDefinition name="NormalTextColour" initialValue="FF000000" redrawOnWrite="true" />
300        <PropertyDefinition name="HoverTextColour" initialValue="FF000000" redrawOnWrite="true" />
301        <PropertyDefinition name="PushedTextColour" initialValue="FF000000" redrawOnWrite="true" />
302        <PropertyDefinition name="DisabledTextColour" initialValue="FF888888" redrawOnWrite="true" />
303        <ImagerySection name="label">
304            <TextComponent>
305                <Area>
306                    <Dim type="LeftEdge" >
307                        <ImageDim imageset="WindowsLook" image="CheckboxNormal" dimension="Width">
308                            <DimOperator op="Add">
309                                <AbsoluteDim value="4" />
310                            </DimOperator>
311                        </ImageDim>
312                    </Dim>
313                    <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
314                    <Dim type="RightEdge" ><UnifiedDim scale="1" type="Width" /></Dim>
315                    <Dim type="Height" ><UnifiedDim scale="1" type="Height" /></Dim>
316                </Area>
317                <VertFormat type="CentreAligned" />
318                <HorzFormat type="LeftAligned" />
319            </TextComponent>
320        </ImagerySection>
321        <ImagerySection name="normal">
322            <ImageryComponent>
323                <Area>
324                    <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
325                    <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
326                    <Dim type="Width" ><UnifiedDim scale="1" type="Width" /></Dim>
327                    <Dim type="Height" ><UnifiedDim scale="1" type="Height" /></Dim>
328                </Area>
329                <Image imageset="WindowsLook" image="CheckboxNormal" />
330                <VertFormat type="CentreAligned" />
331                <HorzFormat type="LeftAligned" />
332            </ImageryComponent>
333        </ImagerySection>
334        <ImagerySection name="hover">
335            <ImageryComponent>
336                <Area>
337                    <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
338                    <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
339                    <Dim type="Width" ><UnifiedDim scale="1" type="Width" /></Dim>
340                    <Dim type="Height" ><UnifiedDim scale="1" type="Height" /></Dim>
341                </Area>
342                <Image imageset="WindowsLook" image="CheckboxHover" />
343                <VertFormat type="CentreAligned" />
344                <HorzFormat type="LeftAligned" />
345            </ImageryComponent>
346        </ImagerySection>
347        <ImagerySection name="select_mark">
348            <ImageryComponent>
349                <Area>
350                    <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
351                    <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
352                    <Dim type="Width" ><UnifiedDim scale="1" type="Width" /></Dim>
353                    <Dim type="Height" ><UnifiedDim scale="1" type="Height" /></Dim>
354                </Area>
355                <Image imageset="WindowsLook" image="CheckboxMark" />
356                <VertFormat type="CentreAligned" />
357                <HorzFormat type="LeftAligned" />
358            </ImageryComponent>
359        </ImagerySection>
360        <StateImagery name="Normal">
361            <Layer>
362                <Section section="normal" />
363                <Section section="label">
364                    <ColourProperty name="NormalTextColour" />
365                </Section>
366            </Layer>
367        </StateImagery>
368        <StateImagery name="Hover">
369            <Layer>
370                <Section section="hover" />
371                <Section section="label">
372                    <ColourProperty name="HoverTextColour" />
373                </Section>
374            </Layer>
375        </StateImagery>
376        <StateImagery name="SelectedNormal">
377            <Layer>
378                <Section section="normal" />
379                <Section section="select_mark" />
380                <Section section="label">
381                    <ColourProperty name="NormalTextColour" />
382                </Section>
383            </Layer>
384        </StateImagery>
385        <StateImagery name="SelectedHover">
386            <Layer>
387                <Section section="hover" />
388                <Section section="select_mark" />
389                <Section section="label">
390                    <ColourProperty name="HoverTextColour" />
391                </Section>
392            </Layer>
393        </StateImagery>
394    </WidgetLook>
395
396
397    <!--
398    ***************************************************
399        WindowsLook/SystemButton
400    ***************************************************
401    -->
402    <WidgetLook name="WindowsLook/SystemButton">
403        <PropertyDefinition name="NormalImage" initialValue="" redrawOnWrite="true" />
404        <PropertyDefinition name="HoverImage" initialValue="" redrawOnWrite="true" />
405        <PropertyDefinition name="PushedImage" initialValue="" redrawOnWrite="true" />
406        <Property name="WantsMultiClickEvents" value="False" />
407        <ImagerySection name="normal">
408            <ImageryComponent>
409                <Area>
410                    <Dim type="LeftEdge">
411                        <AbsoluteDim value="0" />
412                    </Dim>
413                    <Dim type="TopEdge">
414                        <AbsoluteDim value="0" />
415                    </Dim>
416                    <Dim type="RightEdge">
417                        <UnifiedDim scale="1" type="RightEdge" />
418                    </Dim>
419                    <Dim type="BottomEdge">
420                        <UnifiedDim scale="1" type="BottomEdge" />
421                    </Dim>
422                </Area>
423                <ImageProperty name="NormalImage" />
424                <VertFormat type="Stretched" />
425                <HorzFormat type="Stretched" />
426            </ImageryComponent>
427        </ImagerySection>
428        <ImagerySection name="hover">
429            <ImageryComponent>
430                <Area>
431                    <Dim type="LeftEdge">
432                        <AbsoluteDim value="0" />
433                    </Dim>
434                    <Dim type="TopEdge">
435                        <AbsoluteDim value="0" />
436                    </Dim>
437                    <Dim type="RightEdge">
438                        <UnifiedDim scale="1" type="RightEdge" />
439                    </Dim>
440                    <Dim type="BottomEdge">
441                        <UnifiedDim scale="1" type="BottomEdge" />
442                    </Dim>
443                </Area>
444                <ImageProperty name="HoverImage" />
445                <VertFormat type="Stretched" />
446                <HorzFormat type="Stretched" />
447            </ImageryComponent>
448        </ImagerySection>
449        <ImagerySection name="pushed">
450            <ImageryComponent>
451                <Area>
452                    <Dim type="LeftEdge">
453                        <AbsoluteDim value="0" />
454                    </Dim>
455                    <Dim type="TopEdge">
456                        <AbsoluteDim value="0" />
457                    </Dim>
458                    <Dim type="RightEdge">
459                        <UnifiedDim scale="1" type="RightEdge" />
460                    </Dim>
461                    <Dim type="BottomEdge">
462                        <UnifiedDim scale="1" type="BottomEdge" />
463                    </Dim>
464                </Area>
465                <ImageProperty name="PushedImage" />
466                <VertFormat type="Stretched" />
467                <HorzFormat type="Stretched" />
468            </ImageryComponent>
469        </ImagerySection>
470        <StateImagery name="Normal">
471            <Layer>
472                <Section section="normal" />
473            </Layer>
474        </StateImagery>
475        <StateImagery name="Hover">
476            <Layer>
477                <Section section="hover" />
478            </Layer>
479        </StateImagery>
480        <StateImagery name="Pushed">
481            <Layer>
482                <Section section="pushed" />
483            </Layer>
484        </StateImagery>
485        <StateImagery name="Disabled">
486            <Layer>
487                <Section section="normal">
488                    <Colours topLeft="FFDFDFDF" topRight="FFDFDFDF" bottomLeft="FFDFDFDF" bottomRight="FFDFDFDF" />
489                </Section>
490            </Layer>
491        </StateImagery>
492    </WidgetLook>
493
494
495    <!--
496    ***************************************************
497        WindowsLook/ComboDropList
498    ***************************************************
499    -->
500    <WidgetLook name="WindowsLook/ComboDropList">
501        <NamedArea name="ItemRenderingArea">
502            <Area>
503                <Dim type="LeftEdge" ><ImageDim imageset="WindowsLook" image="StaticFrameLeft" dimension="Width" /></Dim>
504                <Dim type="TopEdge" ><ImageDim imageset="WindowsLook" image="StaticFrameTop" dimension="Height" /></Dim>
505                <Dim type="RightEdge" >
506                    <UnifiedDim scale="1" type="RightEdge">
507                        <DimOperator op="Subtract">
508                            <ImageDim imageset="WindowsLook" image="StaticFrameRight" dimension="Width" />
509                        </DimOperator>
510                    </UnifiedDim>
511                </Dim>
512                <Dim type="BottomEdge" >
513                    <UnifiedDim scale="1" type="BottomEdge">
514                        <DimOperator op="Subtract">
515                            <ImageDim imageset="WindowsLook" image="StaticFrameBottom" dimension="Height" />
516                        </DimOperator>
517                    </UnifiedDim>
518                </Dim>
519            </Area>
520        </NamedArea>
521        <NamedArea name="ItemRenderingAreaHScroll">
522            <Area>
523                <Dim type="LeftEdge" ><ImageDim imageset="WindowsLook" image="StaticFrameLeft" dimension="Width" /></Dim>
524                <Dim type="TopEdge" ><ImageDim imageset="WindowsLook" image="StaticFrameTop" dimension="Height" /></Dim>
525                <Dim type="RightEdge" >
526                    <UnifiedDim scale="1" type="RightEdge">
527                        <DimOperator op="Subtract">
528                            <ImageDim imageset="WindowsLook" image="StaticFrameRight" dimension="Width" />
529                        </DimOperator>
530                    </UnifiedDim>
531                </Dim>
532                <Dim type="BottomEdge" >
533                    <UnifiedDim scale="1" offset="-16" type="BottomEdge" />
534                </Dim>
535            </Area>
536        </NamedArea>
537        <NamedArea name="ItemRenderingAreaVScroll">
538            <Area>
539                <Dim type="LeftEdge" ><ImageDim imageset="WindowsLook" image="StaticFrameLeft" dimension="Width" /></Dim>
540                <Dim type="TopEdge" ><ImageDim imageset="WindowsLook" image="StaticFrameTop" dimension="Height" /></Dim>
541                <Dim type="RightEdge" >
542                    <UnifiedDim scale="1" offset="-16" type="RightEdge" />
543                </Dim>
544                <Dim type="BottomEdge" >
545                    <UnifiedDim scale="1" type="BottomEdge">
546                        <DimOperator op="Subtract">
547                            <ImageDim imageset="WindowsLook" image="StaticFrameBottom" dimension="Height" />
548                        </DimOperator>
549                    </UnifiedDim>
550                </Dim>
551            </Area>
552        </NamedArea>
553        <NamedArea name="ItemRenderingAreaHVScroll">
554            <Area>
555                <Dim type="LeftEdge" ><ImageDim imageset="WindowsLook" image="StaticFrameLeft" dimension="Width" /></Dim>
556                <Dim type="TopEdge" ><ImageDim imageset="WindowsLook" image="StaticFrameTop" dimension="Height" /></Dim>
557                <Dim type="RightEdge" >
558                    <UnifiedDim scale="1" offset="-16" type="RightEdge" />
559                </Dim>
560                <Dim type="BottomEdge" >
561                    <UnifiedDim scale="1" offset="-16" type="BottomEdge" />
562                </Dim>
563            </Area>
564        </NamedArea>
565        <Child  type="WindowsLook/HorizontalScrollbar" nameSuffix="__auto_hscrollbar__">
566            <Area>
567                <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
568                <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
569                <Dim type="Width" ><UnifiedDim scale="1" offset="-16" type="Width" /></Dim>
570                <Dim type="Height" ><AbsoluteDim value="16" /></Dim>
571            </Area>
572            <VertAlignment type="BottomAligned" />
573        </Child>
574        <Child  type="WindowsLook/VerticalScrollbar" nameSuffix="__auto_vscrollbar__">
575            <Area>
576                <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
577                <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
578                <Dim type="Width" ><AbsoluteDim value="16" /></Dim>
579                <Dim type="Height" ><UnifiedDim scale="1" offset="-16" type="Height" /></Dim>
580            </Area>
581            <HorzAlignment type="RightAligned" />
582        </Child>
583        <ImagerySection name="main">
584            <FrameComponent>
585                <Area>
586                    <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
587                    <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
588                    <Dim type="Width" ><UnifiedDim scale="1" type="Width" /></Dim>
589                    <Dim type="Height" ><UnifiedDim scale="1" type="Height" /></Dim>
590                </Area>
591                <Image type="TopLeftCorner" imageset="WindowsLook" image="StaticFrameTopLeft" />
592                <Image type="TopRightCorner" imageset="WindowsLook" image="StaticFrameTopRight" />
593                <Image type="BottomLeftCorner" imageset="WindowsLook" image="StaticFrameBottomLeft" />
594                <Image type="BottomRightCorner" imageset="WindowsLook" image="StaticFrameBottomRight" />
595                <Image type="LeftEdge" imageset="WindowsLook" image="StaticFrameLeft" />
596                <Image type="RightEdge" imageset="WindowsLook" image="StaticFrameRight" />
597                <Image type="TopEdge" imageset="WindowsLook" image="StaticFrameTop" />
598                <Image type="BottomEdge" imageset="WindowsLook" image="StaticFrameBottom" />
599                <Image type="Background" imageset="WindowsLook" image="Background" />
600            </FrameComponent>
601        </ImagerySection>
602        <StateImagery name="Enabled">
603            <Layer>
604                <Section section="main" />
605            </Layer>
606        </StateImagery>
607        <StateImagery name="Disabled">
608            <Layer>
609                <Section section="main" />
610            </Layer>
611        </StateImagery>
612    </WidgetLook>
613
614
615    <!--
616    ***************************************************
617        WindowsLook/Combobox
618    ***************************************************
619    -->
620    <WidgetLook name="WindowsLook/Combobox">
621        <PropertyLinkDefinition name="NormalEditTextColour" widget="__auto_editbox__" targetProperty="NormalTextColour" initialValue="FF000000" />
622        <PropertyLinkDefinition name="SelectedEditTextColour" widget="__auto_editbox__" targetProperty="SelectedTextColour" initialValue="FFFFFFFF" />
623        <PropertyLinkDefinition name="ActiveEditSelectionColour" widget="__auto_editbox__" targetProperty="ActiveSelectionColour" initialValue="FF607FFF" />
624        <PropertyLinkDefinition name="InactiveEditSelectionColour" widget="__auto_editbox__" targetProperty="InactiveSelectionColour" initialValue="FF808080" />
625        <Child  type="WindowsLook/Editbox" nameSuffix="__auto_editbox__">
626            <Area>
627                <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
628                <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
629                <Dim type="RightEdge" >
630                    <UnifiedDim scale="1" type="RightEdge">
631                        <DimOperator op="Subtract">
632                            <ImageDim imageset="WindowsLook" image="EditFrameTop" dimension="Height">
633                                <DimOperator op="Add">
634                                    <ImageDim imageset="WindowsLook" image="EditFrameBottom" dimension="Height">
635                                        <DimOperator op="Add">
636                                            <FontDim type="LineSpacing">
637                                                <DimOperator op="Multiply">
638                                                    <AbsoluteDim value="1.5" />
639                                                </DimOperator>
640                                            </FontDim>
641                                        </DimOperator>
642                                    </ImageDim>
643                                </DimOperator>
644                            </ImageDim>
645                        </DimOperator>
646                    </UnifiedDim>
647                </Dim>
648                <Dim type="Height" >
649                    <ImageDim imageset="WindowsLook" image="EditFrameTop" dimension="Height">
650                        <DimOperator op="Add">
651                            <ImageDim imageset="WindowsLook" image="EditFrameBottom" dimension="Height">
652                                <DimOperator op="Add">
653                                    <FontDim type="LineSpacing">
654                                        <DimOperator op="Multiply">
655                                            <AbsoluteDim value="1.5" />
656                                        </DimOperator>
657                                    </FontDim>
658                                </DimOperator>
659                            </ImageDim>
660                        </DimOperator>
661                    </ImageDim>
662                </Dim>
663            </Area>
664        </Child>
665        <Child  type="WindowsLook/ComboDropList" nameSuffix="__auto_droplist__">
666            <Area>
667                <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
668                <Dim type="TopEdge" ><WidgetDim widget="__auto_editbox__" dimension="BottomEdge" /></Dim>
669                <Dim type="Width" ><UnifiedDim scale="1" type="Width" /></Dim>
670                <Dim type="BottomEdge" ><UnifiedDim scale="1" type="BottomEdge" /></Dim>
671            </Area>
672        </Child>
673        <Child  type="WindowsLook/IconButton" nameSuffix="__auto_button__">
674            <Area>
675                <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
676                <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
677                <Dim type="Width" ><WidgetDim widget="__auto_editbox__" dimension="Height" /></Dim>
678                <Dim type="Height" ><WidgetDim widget="__auto_editbox__" dimension="Height" /></Dim>
679            </Area>
680            <HorzAlignment type="RightAligned" />
681            <Property name="IconImage" value="set:WindowsLook image:LargeDownArrow" />
682        </Child>
683        <StateImagery name="Enabled" />
684        <StateImagery name="Disabled" />
685    </WidgetLook>
686
687
688    <!--
689    ***************************************************
690        WindowsLook/Editbox
691    ***************************************************
692    -->
693    <WidgetLook name="WindowsLook/Editbox">
694        <PropertyDefinition name="ReadOnlyBGColour" initialValue="FFDFDFDF" redrawOnWrite="true" />
695        <PropertyDefinition name="NormalTextColour" initialValue="FF000000" redrawOnWrite="true" />
696        <PropertyDefinition name="SelectedTextColour" initialValue="FFFFFFFF" redrawOnWrite="true" />
697        <PropertyDefinition name="ActiveSelectionColour" initialValue="FF607FFF" redrawOnWrite="true" />
698        <PropertyDefinition name="InactiveSelectionColour" initialValue="FF808080" redrawOnWrite="true" />
699        <Property name="MouseCursorImage" value="set:WindowsLook image:MouseTextBar" />
700        <NamedArea name="TextArea">
701            <Area>
702                <Dim type="LeftEdge" ><AbsoluteDim value="5" /></Dim>
703                <Dim type="TopEdge" ><AbsoluteDim value="5" /></Dim>
704                <Dim type="RightEdge" ><UnifiedDim scale="1.0" offset="-5" type="RightEdge" /></Dim>
705                <Dim type="BottomEdge" ><UnifiedDim scale="1.0" offset="-5" type="BottomEdge" /></Dim>
706            </Area>
707        </NamedArea>
708        <ImagerySection name="container_normal">
709            <FrameComponent>
710                <Area>
711                    <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
712                    <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
713                    <Dim type="Width" ><UnifiedDim scale="1" type="Width" /></Dim>
714                    <Dim type="Height" ><UnifiedDim scale="1" type="Height" /></Dim>
715                </Area>
716                <Image type="TopLeftCorner" imageset="WindowsLook" image="EditFrameTopLeft" />
717                <Image type="TopRightCorner" imageset="WindowsLook" image="EditFrameTopRight" />
718                <Image type="BottomLeftCorner" imageset="WindowsLook" image="EditFrameBottomLeft" />
719                <Image type="BottomRightCorner" imageset="WindowsLook" image="EditFrameBottomRight" />
720                <Image type="LeftEdge" imageset="WindowsLook" image="EditFrameLeft" />
721                <Image type="TopEdge" imageset="WindowsLook" image="EditFrameTop" />
722                <Image type="RightEdge" imageset="WindowsLook" image="EditFrameRight" />
723                <Image type="BottomEdge" imageset="WindowsLook" image="EditFrameBottom" />
724                <Image type="Background" imageset="WindowsLook" image="Background" />
725            </FrameComponent>
726        </ImagerySection>
727        <ImagerySection name="selection">
728            <ImageryComponent>
729                <Area>
730                    <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
731                    <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
732                    <Dim type="RightEdge" ><UnifiedDim scale="1.0" type="RightEdge" /></Dim>
733                    <Dim type="BottomEdge" ><UnifiedDim scale="1.0" type="BottomEdge" /></Dim>
734                </Area>
735                <Image imageset="WindowsLook" image="Background" />
736                <VertFormat type="Stretched" />
737                <HorzFormat type="Stretched" />
738            </ImageryComponent>
739        </ImagerySection>
740        <ImagerySection name="Carat">
741            <ImageryComponent>
742                <Area>
743                    <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
744                    <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
745                    <Dim type="Width" ><ImageDim imageset="WindowsLook" image="EditBoxCarat" dimension="Width" /></Dim>
746                    <Dim type="BottomEdge" ><UnifiedDim scale="1.0" type="BottomEdge" /></Dim>
747                </Area>
748                <Image imageset="WindowsLook" image="EditBoxCarat" />
749                <VertFormat type="Stretched" />
750                <HorzFormat type="Stretched" />
751            </ImageryComponent>
752        </ImagerySection>
753        <StateImagery name="Enabled">
754            <Layer>
755                <Section section="container_normal" />
756            </Layer>
757        </StateImagery>
758        <StateImagery name="ReadOnly">
759            <Layer>
760                <Section section="container_normal">
761                    <ColourProperty name="ReadOnlyBGColour" />
762                </Section>
763            </Layer>
764        </StateImagery>
765        <StateImagery name="Disabled">
766            <Layer>
767                <Section section="container_normal">
768                    <ColourProperty name="ReadOnlyBGColour" />
769                </Section>
770            </Layer>
771        </StateImagery>
772        <StateImagery name="ActiveSelection">
773            <Layer>
774                <Section section="selection">
775                    <ColourProperty name="ActiveSelectionColour" />
776                </Section>
777            </Layer>
778        </StateImagery>
779        <StateImagery name="InactiveSelection">
780            <Layer>
781                <Section section="selection">
782                    <ColourProperty name="InactiveSelectionColour" />
783                </Section>
784            </Layer>
785        </StateImagery>
786    </WidgetLook>
787
788
789    <!--
790    ***************************************************
791        WindowsLook/FrameWindow
792    ***************************************************
793    -->
794    <WidgetLook name="WindowsLook/FrameWindow">
795        <PropertyLinkDefinition name="CaptionColour" widget="__auto_titlebar__" targetProperty="CaptionColour" initialValue="FF000000" />
796        <PropertyLinkDefinition name="TitlebarFont" widget="__auto_titlebar__" targetProperty="Font" />
797        <Property name="NSSizingCursorImage" value="set:WindowsLook image:MouseNoSoCursor" />
798        <Property name="EWSizingCursorImage" value="set:WindowsLook image:MouseEsWeCursor" />
799        <Property name="NWSESizingCursorImage" value="set:WindowsLook image:MouseNwSeCursor" />
800        <Property name="NESWSizingCursorImage" value="set:WindowsLook image:MouseNeSwCursor" />
801        <Property name="UnifiedMinSize" value="{{0.1,0},{0.1,0}}" />
802        <NamedArea name="ClientWithTitleWithFrame">
803            <Area>
804                <Dim type="LeftEdge">
805                    <ImageDim imageset="WindowsLook" image="WindowFrameLeft" dimension="Width" />
806                </Dim>
807                <Dim type="TopEdge">
808                    <WidgetDim widget="__auto_titlebar__" dimension="BottomEdge" />
809                </Dim>
810                <Dim type="RightEdge">
811                    <UnifiedDim scale="1" type="RightEdge">
812                        <DimOperator op="Subtract">
813                            <ImageDim imageset="WindowsLook" image="WindowFrameRight" dimension="Width" />
814                        </DimOperator>
815                    </UnifiedDim>
816                </Dim>
817                <Dim type="BottomEdge">
818                    <UnifiedDim scale="1" type="BottomEdge">
819                        <DimOperator op="Subtract">
820                            <ImageDim imageset="WindowsLook" image="WindowFrameBottom" dimension="Height" />
821                        </DimOperator>
822                    </UnifiedDim>
823                </Dim>
824            </Area>
825        </NamedArea>
826        <NamedArea name="ClientWithTitleNoFrame">
827            <Area>
828                <Dim type="LeftEdge">
829                    <AbsoluteDim value="0" />
830                </Dim>
831                <Dim type="TopEdge">
832                    <WidgetDim widget="__auto_titlebar__" dimension="BottomEdge" />
833                </Dim>
834                <Dim type="RightEdge">
835                    <UnifiedDim scale="1" type="RightEdge" />
836                </Dim>
837                <Dim type="BottomEdge">
838                    <UnifiedDim scale="1" type="BottomEdge" />
839                </Dim>
840            </Area>
841        </NamedArea>
842        <NamedArea name="ClientNoTitleWithFrame">
843            <Area>
844                <Dim type="LeftEdge">
845                    <ImageDim imageset="WindowsLook" image="WindowFrameLeft" dimension="Width" />
846                </Dim>
847                <Dim type="TopEdge">
848                    <ImageDim imageset="WindowsLook" image="WindowFrameTop" dimension="Height" />
849                </Dim>
850                <Dim type="RightEdge">
851                    <UnifiedDim scale="1" type="RightEdge">
852                        <DimOperator op="Subtract">
853                            <ImageDim imageset="WindowsLook" image="WindowFrameRight" dimension="Width" />
854                        </DimOperator>
855                    </UnifiedDim>
856                </Dim>
857                <Dim type="BottomEdge">
858                    <UnifiedDim scale="1" type="BottomEdge">
859                        <DimOperator op="Subtract">
860                            <ImageDim imageset="WindowsLook" image="WindowFrameBottom" dimension="Height" />
861                        </DimOperator>
862                    </UnifiedDim>
863                </Dim>
864            </Area>
865        </NamedArea>
866        <NamedArea name="ClientNoTitleNoFrame">
867            <Area>
868                <Dim type="LeftEdge">
869                    <AbsoluteDim value="0" />
870                </Dim>
871                <Dim type="TopEdge">
872                    <AbsoluteDim value="0" />
873                </Dim>
874                <Dim type="RightEdge">
875                    <UnifiedDim scale="1" type="RightEdge" />
876                </Dim>
877                <Dim type="BottomEdge">
878                    <UnifiedDim scale="1" type="BottomEdge" />
879                </Dim>
880            </Area>
881        </NamedArea>
882        <Child type="WindowsLook/Titlebar" nameSuffix="__auto_titlebar__">
883            <Area>
884                <Dim type="LeftEdge">
885                    <AbsoluteDim value="0" />
886                </Dim>
887                <Dim type="TopEdge">
888                    <AbsoluteDim value="0" />
889                </Dim>
890                <Dim type="RightEdge">
891                    <UnifiedDim scale="1" type="RightEdge" />
892                </Dim>
893                <Dim type="Height">
894                    <FontDim widget="__auto_titlebar__" type="LineSpacing">
895                        <DimOperator op="Multiply">
896                            <AbsoluteDim value="1.5" />
897                        </DimOperator>
898                    </FontDim>
899                </Dim>
900            </Area>
901            <Property name="AlwaysOnTop" value="False" />
902        </Child>
903        <Child type="WindowsLook/SystemButton" nameSuffix="__auto_closebutton__">
904            <Area>
905                <Dim type="LeftEdge">
906                    <UnifiedDim scale="1" type="LeftEdge">
907                        <DimOperator op="Subtract">
908                            <AbsoluteDim value="0.5">
909                                <DimOperator op="Multiply">
910                                    <ImageDim imageset="WindowsLook" image="CloseButtonNormal" dimension="Width">
911                                        <DimOperator op="Add">
912                                            <WidgetDim widget="__auto_titlebar__" dimension="Height" />
913                                        </DimOperator>
914                                    </ImageDim>
915                                </DimOperator>
916                            </AbsoluteDim>
917                        </DimOperator>
918                    </UnifiedDim>
919                </Dim>
920                <Dim type="TopEdge">
921                    <WidgetDim widget="__auto_titlebar__" dimension="Height">
922                        <DimOperator op="Subtract">
923                            <AbsoluteDim value="0.5">
924                                <DimOperator op="Multiply">
925                                    <WidgetDim widget="__auto_titlebar__" dimension="Height">
926                                        <DimOperator op="Add">
927                                            <ImageDim imageset="WindowsLook" image="CloseButtonNormal" dimension="Height" />
928                                        </DimOperator>
929                                    </WidgetDim>
930                                </DimOperator>
931                            </AbsoluteDim>
932                        </DimOperator>
933                    </WidgetDim>
934                </Dim>
935                <Dim type="Width">
936                    <ImageDim imageset="WindowsLook" image="CloseButtonNormal" dimension="Width" />
937                </Dim>
938                <Dim type="Height">
939                    <ImageDim imageset="WindowsLook" image="CloseButtonNormal" dimension="Height" />
940                </Dim>
941            </Area>
942            <Property name="AlwaysOnTop" value="True" />
943            <Property name="NormalImage" value="set:WindowsLook image:CloseButtonNormal" />
944            <Property name="HoverImage" value="set:WindowsLook image:CloseButtonHover" />
945            <Property name="PushedImage" value="set:WindowsLook image:CloseButtonPushed" />
946        </Child>
947        <ImagerySection name="withtitle_frame">
948            <FrameComponent>
949                <Area>
950                    <Dim type="LeftEdge">
951                        <AbsoluteDim value="0" />
952                    </Dim>
953                    <Dim type="TopEdge">
954                        <WidgetDim widget="__auto_titlebar__" dimension="Height" />
955                    </Dim>
956                    <Dim type="RightEdge">
957                        <UnifiedDim scale="1" type="RightEdge" />
958                    </Dim>
959                    <Dim type="BottomEdge">
960                        <UnifiedDim scale="1" type="BottomEdge" />
961                    </Dim>
962                </Area>
963                <Image type="BottomLeftCorner" imageset="WindowsLook" image="WindowFrameBottomLeft" />
964                <Image type="BottomRightCorner" imageset="WindowsLook" image="WindowFrameBottomRight" />
965                <Image type="LeftEdge" imageset="WindowsLook" image="WindowFrameLeft" />
966                <Image type="RightEdge" imageset="WindowsLook" image="WindowFrameRight" />
967                <Image type="BottomEdge" imageset="WindowsLook" image="WindowFrameBottom" />
968            </FrameComponent>
969        </ImagerySection>
970        <ImagerySection name="notitle_frame">
971            <FrameComponent>
972                <Area>
973                    <Dim type="LeftEdge">
974                        <AbsoluteDim value="0" />
975                    </Dim>
976                    <Dim type="TopEdge">
977                        <AbsoluteDim value="0" />
978                    </Dim>
979                    <Dim type="RightEdge">
980                        <UnifiedDim scale="1" type="RightEdge" />
981                    </Dim>
982                    <Dim type="BottomEdge">
983                        <UnifiedDim scale="1" type="BottomEdge" />
984                    </Dim>
985                </Area>
986                <Image type="TopLeftCorner" imageset="WindowsLook" image="WindowFrameTopLeft" />
987                <Image type="TopRightCorner" imageset="WindowsLook" image="WindowFrameTopRight" />
988                <Image type="BottomLeftCorner" imageset="WindowsLook" image="WindowFrameBottomLeft" />
989                <Image type="BottomRightCorner" imageset="WindowsLook" image="WindowFrameBottomRight" />
990                <Image type="LeftEdge" imageset="WindowsLook" image="WindowFrameLeft" />
991                <Image type="TopEdge" imageset="WindowsLook" image="WindowFrameTop" />
992                <Image type="RightEdge" imageset="WindowsLook" image="WindowFrameRight" />
993                <Image type="BottomEdge" imageset="WindowsLook" image="WindowFrameBottom" />
994            </FrameComponent>
995        </ImagerySection>
996        <ImagerySection name="withtitle_withframe_client_area">
997            <Colours topLeft="FFDFDFF5" topRight="FFDFEFF5" bottomLeft="FFF4F3F5" bottomRight="FFF0F0F5" />
998            <ImageryComponent>
999                <Area>
1000                    <Dim type="LeftEdge">
1001                        <ImageDim imageset="WindowsLook" image="WindowFrameLeft" dimension="Width" />
1002                    </Dim>
1003                    <Dim type="TopEdge">
1004                        <WidgetDim widget="__auto_titlebar__" dimension="Height" />
1005                    </Dim>
1006                    <Dim type="RightEdge">
1007                        <UnifiedDim scale="1" type="RightEdge">
1008                            <DimOperator op="Subtract">
1009                                <ImageDim imageset="WindowsLook" image="WindowFrameRight" dimension="Width" />
1010                            </DimOperator>
1011                        </UnifiedDim>
1012                    </Dim>
1013                    <Dim type="BottomEdge">
1014                        <UnifiedDim scale="1" type="BottomEdge">
1015                            <DimOperator op="Subtract">
1016                                <ImageDim imageset="WindowsLook" image="WindowFrameBottom" dimension="Height" />
1017                            </DimOperator>
1018                        </UnifiedDim>
1019                    </Dim>
1020                </Area>
1021                <Image imageset="WindowsLook" image="Background" />
1022                <VertFormat type="Stretched" />
1023                <HorzFormat type="Stretched" />
1024            </ImageryComponent>
1025        </ImagerySection>
1026        <ImagerySection name="notitle_withframe_client_area">
1027            <Colours topLeft="FFDFDFF5" topRight="FFDFEFF5" bottomLeft="FFF4F3F5" bottomRight="FFF0F0F5" />
1028            <ImageryComponent>
1029                <Area>
1030                    <Dim type="LeftEdge">
1031                        <ImageDim imageset="WindowsLook" image="WindowFrameLeft" dimension="Width" />
1032                    </Dim>
1033                    <Dim type="TopEdge">
1034                        <ImageDim imageset="WindowsLook" image="WindowFrameTop" dimension="Height" />
1035                    </Dim>
1036                    <Dim type="RightEdge">
1037                        <UnifiedDim scale="1" type="RightEdge">
1038                            <DimOperator op="Subtract">
1039                                <ImageDim imageset="WindowsLook" image="WindowFrameRight" dimension="Width" />
1040                            </DimOperator>
1041                        </UnifiedDim>
1042                    </Dim>
1043                    <Dim type="BottomEdge">
1044                        <UnifiedDim scale="1" type="BottomEdge">
1045                            <DimOperator op="Subtract">
1046                                <ImageDim imageset="WindowsLook" image="WindowFrameBottom" dimension="Height" />
1047                            </DimOperator>
1048                        </UnifiedDim>
1049                    </Dim>
1050                </Area>
1051                <Image imageset="WindowsLook" image="Background" />
1052                <VertFormat type="Stretched" />
1053                <HorzFormat type="Stretched" />
1054            </ImageryComponent>
1055        </ImagerySection>
1056        <ImagerySection name="withtitle_noframe_client_area">
1057            <Colours topLeft="FFDFDFF5" topRight="FFDFEFF5" bottomLeft="FFF4F3F5" bottomRight="FFF0F0F5" />
1058            <ImageryComponent>
1059                <Area>
1060                    <Dim type="LeftEdge">
1061                        <AbsoluteDim value="0" />
1062                    </Dim>
1063                    <Dim type="TopEdge">
1064                        <WidgetDim widget="__auto_titlebar__" dimension="Height" />
1065                    </Dim>
1066                    <Dim type="RightEdge">
1067                        <UnifiedDim scale="1" type="RightEdge" />
1068                    </Dim>
1069                    <Dim type="BottomEdge">
1070                        <UnifiedDim scale="1" type="BottomEdge" />
1071                    </Dim>
1072                </Area>
1073                <Image imageset="WindowsLook" image="Background" />
1074                <VertFormat type="Stretched" />
1075                <HorzFormat type="Stretched" />
1076            </ImageryComponent>
1077        </ImagerySection>
1078        <ImagerySection name="notitle_noframe_client_area">
1079            <Colours topLeft="FFDFDFF5" topRight="FFDFEFF5" bottomLeft="FFF4F3F5" bottomRight="FFF0F0F5" />
1080            <ImageryComponent>
1081                <Area>
1082                    <Dim type="LeftEdge">
1083                        <AbsoluteDim value="0" />
1084                    </Dim>
1085                    <Dim type="TopEdge">
1086                        <AbsoluteDim value="0" />
1087                    </Dim>
1088                    <Dim type="RightEdge">
1089                        <UnifiedDim scale="1" type="RightEdge" />
1090                    </Dim>
1091                    <Dim type="BottomEdge">
1092                        <UnifiedDim scale="1" type="BottomEdge" />
1093                    </Dim>
1094                </Area>
1095                <Image imageset="WindowsLook" image="Background" />
1096                <VertFormat type="Stretched" />
1097                <HorzFormat type="Stretched" />
1098            </ImageryComponent>
1099        </ImagerySection>
1100        <StateImagery name="ActiveWithTitleWithFrame">
1101            <Layer>
1102                <Section section="withtitle_frame">
1103                    <Colours topLeft="FFA7C7FF" topRight="FFA7C7FF" bottomLeft="FFA7C7FF" bottomRight="FFA7C7FF" />
1104                </Section>
1105                <Section section="withtitle_withframe_client_area" />
1106            </Layer>
1107        </StateImagery>
1108        <StateImagery name="InactiveWithTitleWithFrame">
1109            <Layer>
1110                <Section section="withtitle_frame">
1111                    <Colours topLeft="FFEFEFEF" topRight="FFEFEFEF" bottomLeft="FFEFEFEF" bottomRight="FFEFEFEF" />
1112                </Section>
1113                <Section section="withtitle_withframe_client_area" />
1114            </Layer>
1115        </StateImagery>
1116        <StateImagery name="DisabledWithTitleWithFrame">
1117            <Layer>
1118                <Section section="withtitle_frame">
1119                    <Colours topLeft="FFEFEFEF" topRight="FFEFEFEF" bottomLeft="FFEFEFEF" bottomRight="FFEFEFEF" />
1120                </Section>
1121                <Section section="withtitle_withframe_client_area" />
1122            </Layer>
1123        </StateImagery>
1124        <StateImagery name="ActiveWithTitleNoFrame">
1125            <Layer>
1126                <Section section="withtitle_noframe_client_area" />
1127            </Layer>
1128        </StateImagery>
1129        <StateImagery name="InactiveWithTitleNoFrame">
1130            <Layer>
1131                <Section section="withtitle_noframe_client_area" />
1132            </Layer>
1133        </StateImagery>
1134        <StateImagery name="DisabledWithTitleNoFrame">
1135            <Layer>
1136                <Section section="withtitle_noframe_client_area" />
1137            </Layer>
1138        </StateImagery>
1139        <StateImagery name="ActiveNoTitleWithFrame">
1140            <Layer>
1141                <Section section="notitle_frame">
1142                    <Colours topLeft="FFA7C7FF" topRight="FFA7C7FF" bottomLeft="FFA7C7FF" bottomRight="FFA7C7FF" />
1143                </Section>
1144                <Section section="notitle_withframe_client_area" />
1145            </Layer>
1146        </StateImagery>
1147        <StateImagery name="InactiveNoTitleWithFrame">
1148            <Layer>
1149                <Section section="notitle_frame">
1150                    <Colours topLeft="FFEFEFEF" topRight="FFEFEFEF" bottomLeft="FFEFEFEF" bottomRight="FFEFEFEF" />
1151                </Section>
1152                <Section section="notitle_withframe_client_area" />
1153            </Layer>
1154        </StateImagery>
1155        <StateImagery name="DisabledNoTitleWithFrame">
1156            <Layer>
1157                <Section section="notitle_frame">
1158                    <Colours topLeft="FFEFEFEF" topRight="FFEFEFEF" bottomLeft="FFEFEFEF" bottomRight="FFEFEFEF" />
1159                </Section>
1160                <Section section="notitle_withframe_client_area" />
1161            </Layer>
1162        </StateImagery>
1163        <StateImagery name="ActiveNoTitleNoFrame">
1164            <Layer>
1165                <Section section="notitle_noframe_client_area" />
1166            </Layer>
1167        </StateImagery>
1168        <StateImagery name="InactiveNoTitleNoFrame">
1169            <Layer>
1170                <Section section="notitle_noframe_client_area" />
1171            </Layer>
1172        </StateImagery>
1173        <StateImagery name="DisabledNoTitleNoFrame">
1174            <Layer>
1175                <Section section="notitle_noframe_client_area" />
1176            </Layer>
1177        </StateImagery>
1178    </WidgetLook>
1179
1180
1181    <!--
1182    ***************************************************
1183        WindowsLook/IconButton
1184    ***************************************************
1185    -->
1186    <WidgetLook name="WindowsLook/IconButton">
1187        <PropertyDefinition name="IconImage" redrawOnWrite="true" />
1188        <PropertyDefinition name="IconColours" initialValue="tl:FFFFFFFF tr:FFFFFFFF bl:FFFFFFFF br:FFFFFFFF" redrawOnWrite="true" />
1189        <Property name="WantsMultiClickEvents" value="False" />
1190        <ImagerySection name="icon">
1191            <ImageryComponent>
1192                <Area>
1193                    <Dim type="TopEdge"><AbsoluteDim value="0" /></Dim>
1194                    <Dim type="LeftEdge"><AbsoluteDim value="0" /></Dim>
1195                    <Dim type="RightEdge"><UnifiedDim scale="1" type="RightEdge" /></Dim>
1196                    <Dim type="BottomEdge"><UnifiedDim scale="1" type="BottomEdge" /></Dim>
1197                </Area>
1198                <ImageProperty name="IconImage" />
1199                <ColourRectProperty name="IconColours" />
1200                <VertFormat type="CentreAligned" />
1201                <HorzFormat type="CentreAligned" />
1202            </ImageryComponent>
1203        </ImagerySection>
1204        <StateImagery name="Normal">
1205            <Layer>
1206                <Section look="WindowsLook/Button" section="normal" />
1207                <Section section="icon" />
1208            </Layer>
1209        </StateImagery>
1210        <StateImagery name="Hover">
1211            <Layer>
1212                <Section look="WindowsLook/Button" section="hover" />
1213                <Section section="icon" />
1214            </Layer>
1215        </StateImagery>
1216        <StateImagery name="Pushed">
1217            <Layer>
1218                <Section look="WindowsLook/Button" section="pushed" />
1219                <Section section="icon" />
1220            </Layer>
1221        </StateImagery>
1222        <StateImagery name="Disabled">
1223            <Layer>
1224                <Section look="WindowsLook/Button" section="disabled">
1225                    <Colours topLeft="FFDFDFDF" topRight="FFDFDFDF" bottomLeft="FFDFDFDF" bottomRight="FFDFDFDF" />
1226                </Section>
1227                <Section section="icon" />
1228            </Layer>
1229        </StateImagery>
1230    </WidgetLook>
1231
1232
1233    <!--
1234    ***************************************************
1235        WindowsLook/Listbox
1236    ***************************************************
1237    -->
1238    <WidgetLook name="WindowsLook/Listbox">
1239        <NamedArea name="ItemRenderingArea">
1240            <Area>
1241                <Dim type="LeftEdge" ><ImageDim imageset="WindowsLook" image="StaticFrameLeft" dimension="Width" /></Dim>
1242                <Dim type="TopEdge" ><ImageDim imageset="WindowsLook" image="StaticFrameTop" dimension="Height" /></Dim>
1243                <Dim type="RightEdge" >
1244                    <UnifiedDim scale="1" type="RightEdge">
1245                        <DimOperator op="Subtract">
1246                            <ImageDim imageset="WindowsLook" image="StaticFrameRight" dimension="Width" />
1247                        </DimOperator>
1248                    </UnifiedDim>
1249                </Dim>
1250                <Dim type="BottomEdge" >
1251                    <UnifiedDim scale="1" type="BottomEdge">
1252                        <DimOperator op="Subtract">
1253                            <ImageDim imageset="WindowsLook" image="StaticFrameBottom" dimension="Height" />
1254                        </DimOperator>
1255                    </UnifiedDim>
1256                </Dim>
1257            </Area>
1258        </NamedArea>
1259        <NamedArea name="ItemRenderingAreaHScroll">
1260            <Area>
1261                <Dim type="LeftEdge" ><ImageDim imageset="WindowsLook" image="StaticFrameLeft" dimension="Width" /></Dim>
1262                <Dim type="TopEdge" ><ImageDim imageset="WindowsLook" image="StaticFrameTop" dimension="Height" /></Dim>
1263                <Dim type="RightEdge" >
1264                    <UnifiedDim scale="1" type="RightEdge">
1265                        <DimOperator op="Subtract">
1266                            <ImageDim imageset="WindowsLook" image="StaticFrameRight" dimension="Width" />
1267                        </DimOperator>
1268                    </UnifiedDim>
1269                </Dim>
1270                <Dim type="BottomEdge" >
1271                    <UnifiedDim scale="1" offset="-16" type="BottomEdge" />
1272                </Dim>
1273            </Area>
1274        </NamedArea>
1275        <NamedArea name="ItemRenderingAreaVScroll">
1276            <Area>
1277                <Dim type="LeftEdge" ><ImageDim imageset="WindowsLook" image="StaticFrameLeft" dimension="Width" /></Dim>
1278                <Dim type="TopEdge" ><ImageDim imageset="WindowsLook" image="StaticFrameTop" dimension="Height" /></Dim>
1279                <Dim type="RightEdge" >
1280                    <UnifiedDim scale="1" offset="-16" type="RightEdge" />
1281                </Dim>
1282                <Dim type="BottomEdge" >
1283                    <UnifiedDim scale="1" type="BottomEdge">
1284                        <DimOperator op="Subtract">
1285                            <ImageDim imageset="WindowsLook" image="StaticFrameBottom" dimension="Height" />
1286                        </DimOperator>
1287                    </UnifiedDim>
1288                </Dim>
1289            </Area>
1290        </NamedArea>
1291        <NamedArea name="ItemRenderingAreaHVScroll">
1292            <Area>
1293                <Dim type="LeftEdge" ><ImageDim imageset="WindowsLook" image="StaticFrameLeft" dimension="Width" /></Dim>
1294                <Dim type="TopEdge" ><ImageDim imageset="WindowsLook" image="StaticFrameTop" dimension="Height" /></Dim>
1295                <Dim type="RightEdge" >
1296                    <UnifiedDim scale="1" offset="-16" type="RightEdge" />
1297                </Dim>
1298                <Dim type="BottomEdge" >
1299                    <UnifiedDim scale="1" offset="-16" type="BottomEdge" />
1300                </Dim>
1301            </Area>
1302        </NamedArea>
1303        <Child  type="WindowsLook/HorizontalScrollbar" nameSuffix="__auto_hscrollbar__">
1304            <Area>
1305                <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
1306                <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
1307                <Dim type="Width" ><UnifiedDim scale="1" offset="-16" type="Width" /></Dim>
1308                <Dim type="Height" ><AbsoluteDim value="16" /></Dim>
1309            </Area>
1310            <VertAlignment type="BottomAligned" />
1311        </Child>
1312        <Child  type="WindowsLook/VerticalScrollbar" nameSuffix="__auto_vscrollbar__">
1313            <Area>
1314                <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
1315                <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
1316                <Dim type="Width" ><AbsoluteDim value="16" /></Dim>
1317                <Dim type="Height" ><UnifiedDim scale="1" offset="-16" type="Height" /></Dim>
1318            </Area>
1319            <HorzAlignment type="RightAligned" />
1320        </Child>
1321        <ImagerySection name="main">
1322            <FrameComponent>
1323                <Area>
1324                    <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
1325                    <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
1326                    <Dim type="Width" ><UnifiedDim scale="1" type="Width" /></Dim>
1327                    <Dim type="Height" ><UnifiedDim scale="1" type="Height" /></Dim>
1328                </Area>
1329                <Image type="TopLeftCorner" imageset="WindowsLook" image="StaticFrameTopLeft" />
1330                <Image type="TopRightCorner" imageset="WindowsLook" image="StaticFrameTopRight" />
1331                <Image type="BottomLeftCorner" imageset="WindowsLook" image="StaticFrameBottomLeft" />
1332                <Image type="BottomRightCorner" imageset="WindowsLook" image="StaticFrameBottomRight" />
1333                <Image type="LeftEdge" imageset="WindowsLook" image="StaticFrameLeft" />
1334                <Image type="RightEdge" imageset="WindowsLook" image="StaticFrameRight" />
1335                <Image type="TopEdge" imageset="WindowsLook" image="StaticFrameTop" />
1336                <Image type="BottomEdge" imageset="WindowsLook" image="StaticFrameBottom" />
1337                <Image type="Background" imageset="WindowsLook" image="Background" />
1338            </FrameComponent>
1339        </ImagerySection>
1340        <StateImagery name="Enabled">
1341            <Layer>
1342                <Section section="main" />
1343            </Layer>
1344        </StateImagery>
1345        <StateImagery name="Disabled">
1346            <Layer>
1347                <Section section="main" />
1348            </Layer>
1349        </StateImagery>
1350    </WidgetLook>
1351
1352
1353    <!--
1354    ***************************************************
1355        WindowsLook/ItemListbox
1356    ***************************************************
1357    -->
1358    <WidgetLook name="WindowsLook/ItemListbox">
1359        <NamedArea name="ItemRenderArea">
1360            <Area>
1361                <Dim type="LeftEdge" ><ImageDim imageset="WindowsLook" image="StaticFrameLeft" dimension="Width" /></Dim>
1362                <Dim type="TopEdge" ><ImageDim imageset="WindowsLook" image="StaticFrameTop" dimension="Height" /></Dim>
1363                <Dim type="RightEdge" >
1364                    <UnifiedDim scale="1" type="RightEdge">
1365                        <DimOperator op="Subtract">
1366                            <ImageDim imageset="WindowsLook" image="StaticFrameRight" dimension="Width" />
1367                        </DimOperator>
1368                    </UnifiedDim>
1369                </Dim>
1370                <Dim type="BottomEdge" >
1371                    <UnifiedDim scale="1" type="BottomEdge">
1372                        <DimOperator op="Subtract">
1373                            <ImageDim imageset="WindowsLook" image="StaticFrameBottom" dimension="Height" />
1374                        </DimOperator>
1375                    </UnifiedDim>
1376                </Dim>
1377            </Area>
1378        </NamedArea>
1379        <NamedArea name="ItemRenderAreaHScroll">
1380            <Area>
1381                <Dim type="LeftEdge" ><ImageDim imageset="WindowsLook" image="StaticFrameLeft" dimension="Width" /></Dim>
1382                <Dim type="TopEdge" ><ImageDim imageset="WindowsLook" image="StaticFrameTop" dimension="Height" /></Dim>
1383                <Dim type="RightEdge" >
1384                    <UnifiedDim scale="1" type="RightEdge">
1385                        <DimOperator op="Subtract">
1386                            <ImageDim imageset="WindowsLook" image="StaticFrameRight" dimension="Width" />
1387                        </DimOperator>
1388                    </UnifiedDim>
1389                </Dim>
1390                <Dim type="BottomEdge" >
1391                    <UnifiedDim scale="1" offset="-16" type="BottomEdge" />
1392                </Dim>
1393            </Area>
1394        </NamedArea>
1395        <NamedArea name="ItemRenderAreaVScroll">
1396            <Area>
1397                <Dim type="LeftEdge" ><ImageDim imageset="WindowsLook" image="StaticFrameLeft" dimension="Width" /></Dim>
1398                <Dim type="TopEdge" ><ImageDim imageset="WindowsLook" image="StaticFrameTop" dimension="Height" /></Dim>
1399                <Dim type="RightEdge" >
1400                    <UnifiedDim scale="1" offset="-16" type="RightEdge" />
1401                </Dim>
1402                <Dim type="BottomEdge" >
1403                    <UnifiedDim scale="1" type="BottomEdge">
1404                        <DimOperator op="Subtract">
1405                            <ImageDim imageset="WindowsLook" image="StaticFrameBottom" dimension="Height" />
1406                        </DimOperator>
1407                    </UnifiedDim>
1408                </Dim>
1409            </Area>
1410        </NamedArea>
1411        <NamedArea name="ItemRenderAreaHVScroll">
1412            <Area>
1413                <Dim type="LeftEdge" ><ImageDim imageset="WindowsLook" image="StaticFrameLeft" dimension="Width" /></Dim>
1414                <Dim type="TopEdge" ><ImageDim imageset="WindowsLook" image="StaticFrameTop" dimension="Height" /></Dim>
1415                <Dim type="RightEdge" >
1416                    <UnifiedDim scale="1" offset="-16" type="RightEdge" />
1417                </Dim>
1418                <Dim type="BottomEdge" >
1419                    <UnifiedDim scale="1" offset="-16" type="BottomEdge" />
1420                </Dim>
1421            </Area>
1422        </NamedArea>
1423        <Child  type="WindowsLook/HorizontalScrollbar" nameSuffix="__auto_hscrollbar__">
1424            <Area>
1425                <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
1426                <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
1427                <Dim type="Width" ><UnifiedDim scale="1" offset="-16" type="Width" /></Dim>
1428                <Dim type="Height" ><AbsoluteDim value="16" /></Dim>
1429            </Area>
1430            <VertAlignment type="BottomAligned" />
1431        </Child>
1432        <Child  type="WindowsLook/VerticalScrollbar" nameSuffix="__auto_vscrollbar__">
1433            <Area>
1434                <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
1435                <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
1436                <Dim type="Width" ><AbsoluteDim value="16" /></Dim>
1437                <Dim type="Height" ><UnifiedDim scale="1" type="Height" /></Dim>
1438            </Area>
1439            <HorzAlignment type="RightAligned" />
1440        </Child>
1441        <ImagerySection name="main">
1442            <FrameComponent>
1443                <Area>
1444                    <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
1445                    <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
1446                    <Dim type="Width" ><UnifiedDim scale="1" type="Width" /></Dim>
1447                    <Dim type="Height" ><UnifiedDim scale="1" type="Height" /></Dim>
1448                </Area>
1449                <Image type="TopLeftCorner" imageset="WindowsLook" image="StaticFrameTopLeft" />
1450                <Image type="TopRightCorner" imageset="WindowsLook" image="StaticFrameTopRight" />
1451                <Image type="BottomLeftCorner" imageset="WindowsLook" image="StaticFrameBottomLeft" />
1452                <Image type="BottomRightCorner" imageset="WindowsLook" image="StaticFrameBottomRight" />
1453                <Image type="LeftEdge" imageset="WindowsLook" image="StaticFrameLeft" />
1454                <Image type="RightEdge" imageset="WindowsLook" image="StaticFrameRight" />
1455                <Image type="TopEdge" imageset="WindowsLook" image="StaticFrameTop" />
1456                <Image type="BottomEdge" imageset="WindowsLook" image="StaticFrameBottom" />
1457                <Image type="Background" imageset="WindowsLook" image="Background" />
1458            </FrameComponent>
1459        </ImagerySection>
1460        <StateImagery name="Enabled">
1461            <Layer>
1462                <Section section="main" />
1463            </Layer>
1464        </StateImagery>
1465        <StateImagery name="Disabled">
1466            <Layer>
1467                <Section section="main" />
1468            </Layer>
1469        </StateImagery>
1470    </WidgetLook>
1471
1472
1473    <!--
1474    ***************************************************
1475        WindowsLook/ListboxItem
1476    ***************************************************
1477    -->
1478    <WidgetLook name="WindowsLook/ListboxItem">
1479                <PropertyDefinition name="TextColour" initialValue="FF000000" redrawOnWrite="true" />
1480                <PropertyDefinition name="SelectedTextColour" initialValue="FFFFFFFF" redrawOnWrite="true" />
1481                <PropertyDefinition name="SelectionBrush" initialValue="set:WindowsLook image:Background" redrawOnWrite="true" />
1482                <PropertyDefinition name="SelectionColour" initialValue="FF3030FF" redrawOnWrite="true" />
1483                <Property name="Selectable" value="True" />
1484                <NamedArea name="ContentSize">
1485                        <Area>
1486                                <Dim type="LeftEdge" >
1487                                        <AbsoluteDim value="0" />
1488                                </Dim>
1489                                <Dim type="TopEdge" >
1490                                        <AbsoluteDim value="0" />
1491                                </Dim>
1492                                <Dim type="Width" >
1493                                        <FontDim type="HorzExtent" padding="6" />
1494                                </Dim>
1495                                <Dim type="Height" >
1496                                        <FontDim type="LineSpacing" />
1497                                </Dim>
1498                        </Area>
1499                </NamedArea>
1500                <ImagerySection name="label">
1501                        <TextComponent>
1502                                <Area>
1503                                        <Dim type="TopEdge">
1504                                                <AbsoluteDim value="0" />
1505                                        </Dim>
1506                                        <Dim type="LeftEdge">
1507                                                <AbsoluteDim value="3" />
1508                                        </Dim>
1509                                        <Dim type="RightEdge">
1510                                                <UnifiedDim scale="1" offset="-3" type="RightEdge" />
1511                                        </Dim>
1512                                        <Dim type="BottomEdge">
1513                                                <UnifiedDim scale="1" type="BottomEdge" />
1514                                        </Dim>
1515                                </Area>
1516                        </TextComponent>
1517                </ImagerySection>
1518                <ImagerySection name="selection">
1519                        <ImageryComponent>
1520                                <Area>
1521                                        <Dim type="TopEdge">
1522                                                <AbsoluteDim value="0" />
1523                                        </Dim>
1524                                        <Dim type="LeftEdge">
1525                                                <AbsoluteDim value="0" />
1526                                        </Dim>
1527                                        <Dim type="RightEdge">
1528                                                <UnifiedDim scale="1" type="RightEdge" />
1529                                        </Dim>
1530                                        <Dim type="BottomEdge">
1531                                                <UnifiedDim scale="1" type="BottomEdge" />
1532                                        </Dim>
1533                                </Area>
1534                                <ImageProperty name="SelectionBrush" />
1535                                <ColourProperty name="SelectionColour" />
1536                                <VertFormat type="Stretched" />
1537                                <HorzFormat type="Stretched" />
1538                        </ImageryComponent>
1539                </ImagerySection>
1540                <StateImagery name="Enabled">
1541                        <Layer>
1542                                <Section section="label">
1543                                        <ColourProperty name="TextColour" />
1544                                </Section>
1545                        </Layer>
1546                </StateImagery>
1547                <StateImagery name="Disabled">
1548                        <Layer>
1549                                <Section section="label">
1550                                        <ColourProperty name="TextColour" />
1551                                </Section>
1552                        </Layer>
1553                </StateImagery>
1554                <StateImagery name="SelectedEnabled">
1555                        <Layer>
1556                                <Section section="selection" />
1557                                <Section section="label">
1558                                        <ColourProperty name="SelectedTextColour" />
1559                                </Section>
1560                        </Layer>
1561                </StateImagery>
1562                <StateImagery name="SelectedDisabled">
1563                        <Layer>
1564                                <Section section="selection" />
1565                                <Section section="label">
1566                                        <ColourProperty name="SelectedTextColour" />
1567                                </Section>
1568                        </Layer>
1569                </StateImagery>
1570    </WidgetLook>
1571
1572
1573    <!--
1574    ***************************************************
1575        WindowsLook/Menubar
1576    ***************************************************
1577    -->
1578    <WidgetLook name="WindowsLook/Menubar">
1579        <PropertyDefinition name="BackgroundColours" initialValue="tl:FFDFEFF5 tr:FFDFDFF5 bl:FFF4F3F5 br:FFF4F3F5" redrawOnWrite="true" />
1580        <PropertyDefinition name="BorderWidth" initialValue="5" layoutOnWrite="true" />
1581        <NamedArea name="ItemRenderArea">
1582            <Area>
1583                <Dim type="LeftEdge" >
1584                    <ImageDim imageset="WindowsLook" image="MenuLeft" dimension="Width">
1585                        <DimOperator op="Add">
1586                            <PropertyDim name="BorderWidth" />
1587                        </DimOperator>
1588                    </ImageDim>
1589                </Dim>
1590                <Dim type="TopEdge" >
1591                    <ImageDim imageset="WindowsLook" image="MenuTop" dimension="Height">
1592                        <DimOperator op="Add">
1593                            <PropertyDim name="BorderWidth" />
1594                        </DimOperator>
1595                    </ImageDim>
1596                </Dim>
1597                <Dim type="RightEdge" >
1598                    <UnifiedDim scale="1" type="RightEdge">
1599                        <DimOperator op="Subtract">
1600                            <ImageDim imageset="WindowsLook" image="MenuRight" dimension="Width">
1601                                <DimOperator op="Add">
1602                                    <PropertyDim name="BorderWidth" />
1603                                </DimOperator>
1604                            </ImageDim>
1605                        </DimOperator>
1606                    </UnifiedDim>
1607                </Dim>
1608                <Dim type="BottomEdge" >
1609                    <UnifiedDim scale="1" type="BottomEdge">
1610                        <DimOperator op="Subtract">
1611                            <ImageDim imageset="WindowsLook" image="MenuBottom" dimension="Height">
1612                                <DimOperator op="Add">
1613                                    <PropertyDim name="BorderWidth" />
1614                                </DimOperator>
1615                            </ImageDim>
1616                        </DimOperator>
1617                    </UnifiedDim>
1618                </Dim>
1619            </Area>
1620        </NamedArea>
1621        <ImagerySection name="frame">
1622            <FrameComponent>
1623                <Area>
1624                    <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
1625                    <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
1626                    <Dim type="Width" ><UnifiedDim scale="1" type="Width" /></Dim>
1627                    <Dim type="Height" ><UnifiedDim scale="1" type="Height" /></Dim>
1628                </Area>
1629                <Image type="TopLeftCorner" imageset="WindowsLook" image="MenuTopLeft" />
1630                <Image type="TopRightCorner" imageset="WindowsLook" image="MenuTopRight" />
1631                <Image type="BottomLeftCorner" imageset="WindowsLook" image="MenuBottomLeft" />
1632                <Image type="BottomRightCorner" imageset="WindowsLook" image="MenuBottomRight" />
1633                <Image type="LeftEdge" imageset="WindowsLook" image="MenuLeft" />
1634                <Image type="RightEdge" imageset="WindowsLook" image="MenuRight" />
1635                <Image type="TopEdge" imageset="WindowsLook" image="MenuTop" />
1636                <Image type="BottomEdge" imageset="WindowsLook" image="MenuBottom" />
1637                <Image type="Background" imageset="WindowsLook" image="Background" />
1638                <ColourRectProperty name="BackgroundColours" />
1639            </FrameComponent>
1640        </ImagerySection>
1641        <StateImagery name="Enabled">
1642            <Layer>
1643                <Section section="frame" />
1644            </Layer>
1645        </StateImagery>
1646        <StateImagery name="Disabled">
1647            <Layer>
1648                <Section section="frame" />
1649            </Layer>
1650        </StateImagery>
1651    </WidgetLook>
1652
1653
1654    <!--
1655    ***************************************************
1656        WindowsLook/MenuItem
1657    ***************************************************
1658    -->
1659    <WidgetLook name="WindowsLook/MenuItem">
1660        <PropertyDefinition name="NormalTextColour" initialValue="FF000000" redrawOnWrite="true" />
1661        <PropertyDefinition name="DisabledTextColour" initialValue="FF7F7F7F" redrawOnWrite="true" />
1662        <PropertyDefinition name="HoverColour" initialValue="FFA7C7FF" redrawOnWrite="true" />
1663        <PropertyDefinition name="PushedColour" initialValue="FF87A7DF" redrawOnWrite="true" />
1664        <PropertyDefinition name="PushedOffColour" initialValue="7F87A7DF" redrawOnWrite="true" />
1665        <PropertyDefinition name="OpenedColour" initialValue="FFEFEFEF" redrawOnWrite="true" />
1666        <Property name="WantsMultiClickEvents" value="False" />
1667        <NamedArea name="ContentSize">
1668            <Area>
1669                <Dim type="LeftEdge"><AbsoluteDim value="0" /></Dim>
1670                <Dim type="TopEdge"><AbsoluteDim value="0" /></Dim>
1671                <Dim type="Width">
1672                    <FontDim type="HorzExtent">
1673                        <DimOperator op="Add">
1674                            <ImageDim imageset="WindowsLook" image="MenuLeft" dimension="Width">
1675                                <DimOperator op="Add">
1676                                    <ImageDim imageset="WindowsLook" image="MenuRight" dimension="Width" />
1677                                </DimOperator>
1678                            </ImageDim>
1679                        </DimOperator>
1680                    </FontDim>
1681                </Dim>
1682                <Dim type="Height">
1683                    <FontDim type="LineSpacing">
1684                        <DimOperator op="Add">
1685                            <ImageDim imageset="WindowsLook" image="MenuTop" dimension="Height">
1686                                <DimOperator op="Add">
1687                                    <ImageDim imageset="WindowsLook" image="MenuBottom" dimension="Height" />
1688                                </DimOperator>
1689                            </ImageDim>
1690                        </DimOperator>
1691                    </FontDim>
1692                </Dim>
1693            </Area>
1694        </NamedArea>
1695        <NamedArea name="HasPopupContentSize">
1696            <Area>
1697                <Dim type="LeftEdge"><AbsoluteDim value="0" /></Dim>
1698                <Dim type="TopEdge"><AbsoluteDim value="0" /></Dim>
1699                <Dim type="Width">
1700                    <FontDim type="HorzExtent">
1701                        <DimOperator op="Add">
1702                            <ImageDim imageset="WindowsLook" image="MenuLeft" dimension="Width">
1703                                <DimOperator op="Add">
1704                                    <ImageDim imageset="WindowsLook" image="MenuRight" dimension="Width">
1705                                        <DimOperator op="Add">
1706                                            <ImageDim imageset="WindowsLook" image="PopupMenuArrowLeft" dimension="Width">
1707                                                <DimOperator op="Multiply">
1708                                                    <AbsoluteDim value="3" />
1709                                                </DimOperator>
1710                                            </ImageDim>
1711                                        </DimOperator>
1712                                    </ImageDim>
1713                                </DimOperator>
1714                            </ImageDim>
1715                        </DimOperator>
1716                    </FontDim>
1717                </Dim>
1718                <Dim type="Height">
1719                    <FontDim type="LineSpacing">
1720                        <DimOperator op="Add">
1721                            <ImageDim imageset="WindowsLook" image="MenuTop" dimension="Height">
1722                                <DimOperator op="Add">
1723                                    <ImageDim imageset="WindowsLook" image="MenuBottom" dimension="Height" />
1724                                </DimOperator>
1725                            </ImageDim>
1726                        </DimOperator>
1727                    </FontDim>
1728                </Dim>
1729            </Area>
1730        </NamedArea>
1731        <ImagerySection name="label">
1732            <TextComponent>
1733                <Area>
1734                    <Dim type="LeftEdge" ><ImageDim imageset="WindowsLook" image="MenuLeft" dimension="Width" /></Dim>
1735                    <Dim type="TopEdge" ><ImageDim imageset="WindowsLook" image="MenuTop" dimension="Height" /></Dim>
1736                    <Dim type="RightEdge" >
1737                        <UnifiedDim scale="1" type="RightEdge">
1738                            <DimOperator op="Subtract">
1739                                <ImageDim imageset="WindowsLook" image="MenuRight" dimension="Width" />
1740                            </DimOperator>
1741                        </UnifiedDim>
1742                    </Dim>
1743                    <Dim type="BottomEdge" >
1744                        <UnifiedDim scale="1" type="BottomEdge">
1745                            <DimOperator op="Subtract">
1746                                <ImageDim imageset="WindowsLook" image="MenuBottom" dimension="Height" />
1747                            </DimOperator>
1748                        </UnifiedDim>
1749                    </Dim>
1750                </Area>
1751                <VertFormat type="CentreAligned" />
1752                <HorzFormat type="LeftAligned" />
1753            </TextComponent>
1754        </ImagerySection>
1755        <ImagerySection name="frame">
1756            <FrameComponent>
1757                <Area>
1758                    <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
1759                    <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
1760                    <Dim type="Width" ><UnifiedDim scale="1" type="Width" /></Dim>
1761                    <Dim type="Height" ><UnifiedDim scale="1" type="Height" /></Dim>
1762                </Area>
1763                <Image type="TopLeftCorner" imageset="WindowsLook" image="MenuTopLeft" />
1764                <Image type="TopRightCorner" imageset="WindowsLook" image="MenuTopRight" />
1765                <Image type="BottomLeftCorner" imageset="WindowsLook" image="MenuBottomLeft" />
1766                <Image type="BottomRightCorner" imageset="WindowsLook" image="MenuBottomRight" />
1767                <Image type="LeftEdge" imageset="WindowsLook" image="MenuLeft" />
1768                <Image type="RightEdge" imageset="WindowsLook" image="MenuRight" />
1769                <Image type="TopEdge" imageset="WindowsLook" image="MenuTop" />
1770                <Image type="BottomEdge" imageset="WindowsLook" image="MenuBottom" />
1771                <Image type="Background" imageset="WindowsLook" image="Background" />
1772            </FrameComponent>
1773        </ImagerySection>
1774        <ImagerySection name="popup_arrow_right">
1775            <ImageryComponent>
1776                <Area>
1777                    <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
1778                    <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
1779                    <Dim type="Width" >
1780                        <UnifiedDim scale="1" type="Width">
1781                            <DimOperator op="Subtract">
1782                                <ImageDim imageset="WindowsLook" image="PopupMenuArrowRight" dimension="Width" />
1783                            </DimOperator>
1784                        </UnifiedDim>
1785                    </Dim>
1786                    <Dim type="Height" ><UnifiedDim scale="1" type="Height" /></Dim>
1787                </Area>
1788                <Image imageset="WindowsLook" image="PopupMenuArrowRight" />
1789                <Colours topLeft="FF000000" topRight="FF000000" bottomLeft="FF000000" bottomRight="FF000000" />
1790                <VertFormat type="CentreAligned" />
1791                <HorzFormat type="RightAligned" />
1792            </ImageryComponent>
1793        </ImagerySection>
1794        <ImagerySection name="popup_arrow_left">
1795            <ImageryComponent>
1796                <Area>
1797                    <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
1798                    <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
1799                    <Dim type="Width" >
1800                        <UnifiedDim scale="1" type="Width">
1801                            <DimOperator op="Subtract">
1802                                <ImageDim imageset="WindowsLook" image="PopupMenuArrowLeft" dimension="Width" />
1803                            </DimOperator>
1804                        </UnifiedDim>
1805                    </Dim>
1806                    <Dim type="Height" ><UnifiedDim scale="1" type="Height" /></Dim>
1807                </Area>
1808                <Image imageset="WindowsLook" image="PopupMenuArrowLeft" />
1809                <Colours topLeft="FF000000" topRight="FF000000" bottomLeft="FF000000" bottomRight="FF000000" />
1810                <VertFormat type="CentreAligned" />
1811                <HorzFormat type="RightAligned" />
1812            </ImageryComponent>
1813        </ImagerySection>
1814        <StateImagery name="EnabledNormal">
1815            <Layer>
1816                <Section section="label">
1817                    <ColourProperty name="NormalTextColour" />
1818                </Section>
1819            </Layer>
1820        </StateImagery>
1821        <StateImagery name="EnabledHover">
1822            <Layer>
1823                <Section section="frame">
1824                    <ColourProperty name="HoverColour" />
1825                </Section>
1826                <Section section="label">
1827                    <ColourProperty name="NormalTextColour" />
1828                </Section>
1829            </Layer>
1830        </StateImagery>
1831        <StateImagery name="EnabledPushed">
1832            <Layer>
1833                <Section section="frame">
1834                    <ColourProperty name="PushedColour" />
1835                </Section>
1836                <Section section="label">
1837                    <ColourProperty name="NormalTextColour" />
1838                </Section>
1839            </Layer>
1840        </StateImagery>
1841        <StateImagery name="EnabledPushedOff">
1842            <Layer>
1843                <Section section="frame">
1844                    <ColourProperty name="PushedOffColour" />
1845                </Section>
1846                <Section section="label">
1847                    <ColourProperty name="NormalTextColour" />
1848                </Section>
1849            </Layer>
1850        </StateImagery>
1851        <StateImagery name="EnabledPopupOpen">
1852            <Layer>
1853                <Section section="frame">
1854                    <ColourProperty name="OpenedColour" />
1855                </Section>
1856                <Section section="label">
1857                    <ColourProperty name="NormalTextColour" />
1858                </Section>
1859            </Layer>
1860        </StateImagery>
1861        <StateImagery name="DisabledNormal">
1862            <Layer>
1863                <Section section="label">
1864                    <ColourProperty name="DisabledTextColour" />
1865                </Section>
1866            </Layer>
1867        </StateImagery>
1868        <StateImagery name="DisabledHover">
1869            <Layer>
1870                <Section section="frame" />
1871                <Section section="label">
1872                    <ColourProperty name="DisabledTextColour" />
1873                </Section>
1874            </Layer>
1875        </StateImagery>
1876        <StateImagery name="DisabledPushed">
1877            <Layer>
1878                <Section section="frame" />
1879                <Section section="label">
1880                    <ColourProperty name="DisabledTextColour" />
1881                </Section>
1882            </Layer>
1883        </StateImagery>
1884        <StateImagery name="DisabledPushedOff">
1885            <Layer>
1886                <Section section="frame" />
1887                <Section section="label">
1888                    <ColourProperty name="DisabledTextColour" />
1889                </Section>
1890            </Layer>
1891        </StateImagery>
1892        <StateImagery name="DisabledPopupOpen">
1893            <Layer>
1894                <Section section="frame" />
1895                <Section section="label">
1896                    <ColourProperty name="DisabledTextColour" />
1897                </Section>
1898            </Layer>
1899        </StateImagery>
1900        <StateImagery name="PopupClosedIcon">
1901            <Layer>
1902                <Section section="popup_arrow_right" />
1903            </Layer>
1904        </StateImagery>
1905        <StateImagery name="PopupOpenIcon">
1906            <Layer>
1907                <Section section="popup_arrow_left" />
1908            </Layer>
1909        </StateImagery>
1910    </WidgetLook>
1911
1912
1913    <!--
1914    ***************************************************
1915        WindowsLook/ListHeaderSegment
1916    ***************************************************
1917    -->
1918    <WidgetLook name="WindowsLook/ListHeaderSegment">
1919        <Property name="SizingCursorImage" value="set:WindowsLook image:MouseEsWeCursor" />
1920        <Property name="MovingCursorImage" value="set:WindowsLook image:MouseMoveCursor" />
1921        <ImagerySection name="segment">
1922            <ImageryComponent>
1923                <Area>
1924                    <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
1925                    <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
1926                    <Dim type="RightEdge" >
1927                        <UnifiedDim scale="1" type="RightEdge">
1928                            <DimOperator op="Subtract">
1929                                <ImageDim imageset="WindowsLook" image="HeaderSplitter" dimension="Width" />
1930                            </DimOperator>
1931                        </UnifiedDim>
1932                    </Dim>
1933                    <Dim type="Height" ><UnifiedDim scale="1" type="Height" /></Dim>
1934                </Area>
1935                <Image imageset="WindowsLook" image="HeaderMainBrush" />
1936                <VertFormat type="Stretched" />
1937                <HorzFormat type="Stretched" />
1938            </ImageryComponent>
1939        </ImagerySection>
1940        <ImagerySection name="splitter">
1941            <ImageryComponent>
1942                <Area>
1943                    <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
1944                    <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
1945                    <Dim type="Width" ><UnifiedDim scale="1" type="Width" /></Dim>
1946                    <Dim type="Height" ><UnifiedDim scale="1" type="Height" /></Dim>
1947                </Area>
1948                <Image imageset="WindowsLook" image="HeaderSplitter" />
1949                <VertFormat type="Stretched" />
1950                <HorzFormat type="RightAligned" />
1951            </ImageryComponent>
1952        </ImagerySection>
1953        <ImagerySection name="ascend_icon">
1954            <ImageryComponent>
1955                <Area>
1956                    <Dim type="LeftEdge" ><AbsoluteDim value="3" /></Dim>
1957                    <Dim type="TopEdge" ><AbsoluteDim value="3" /></Dim>
1958                    <Dim type="Width" ><ImageDim imageset="WindowsLook" image="SmallUpArrow" dimension="Width" /></Dim>
1959                    <Dim type="Height" ><ImageDim imageset="WindowsLook" image="SmallUpArrow" dimension="Height" /></Dim>
1960                </Area>
1961                <Image imageset="WindowsLook" image="SmallUpArrow" />
1962            </ImageryComponent>
1963        </ImagerySection>
1964        <ImagerySection name="descend_icon">
1965            <ImageryComponent>
1966                <Area>
1967                    <Dim type="LeftEdge" ><AbsoluteDim value="3" /></Dim>
1968                    <Dim type="TopEdge" ><AbsoluteDim value="3" /></Dim>
1969                    <Dim type="Width" ><ImageDim imageset="WindowsLook" image="SmallDownArrow" dimension="Width" /></Dim>
1970                    <Dim type="Height" ><ImageDim imageset="WindowsLook" image="SmallDownArrow" dimension="Height" /></Dim>
1971                </Area>
1972                <Image imageset="WindowsLook" image="SmallDownArrow" />
1973            </ImageryComponent>
1974        </ImagerySection>
1975        <ImagerySection name="label">
1976            <TextComponent>
1977                <Area>
1978                    <Dim type="LeftEdge" >
1979                        <ImageDim imageset="WindowsLook" image="SmallUpArrow" dimension="Width">
1980                            <DimOperator op="Add">
1981                                <AbsoluteDim value="5" />
1982                            </DimOperator>
1983                        </ImageDim>
1984                    </Dim>
1985                    <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
1986                    <Dim type="RightEdge" ><UnifiedDim scale="1" type="RightEdge" /></Dim>
1987                    <Dim type="Height" ><UnifiedDim scale="1" type="Height" /></Dim>
1988                </Area>
1989                <VertFormat type="CentreAligned" />
1990            </TextComponent>
1991        </ImagerySection>
1992        <StateImagery name="Normal">
1993            <Layer>
1994                <Section section="segment">
1995                    <Colours topLeft="FFDDDDDD" topRight="FFDDDDDD" bottomLeft="FFDDDDDD" bottomRight="FFDDDDDD" />
1996                </Section>
1997                <Section section="splitter">
1998                    <Colours topLeft="FFDDDDDD" topRight="FFDDDDDD" bottomLeft="FFDDDDDD" bottomRight="FFDDDDDD" />
1999                </Section>
2000                <Section section="label">
2001                    <Colours topLeft="FF000000" topRight="FF000000" bottomLeft="FF000000" bottomRight="FF000000" />
2002                </Section>
2003            </Layer>
2004        </StateImagery>
2005        <StateImagery name="Hover">
2006            <Layer>
2007                <Section section="segment">
2008                    <Colours topLeft="FFEFEFEF" topRight="FFEFEFEF" bottomLeft="FFEFEFEF" bottomRight="FFEFEFEF" />
2009                </Section>
2010                <Section section="splitter">
2011                    <Colours topLeft="FFDDDDDD" topRight="FFDDDDDD" bottomLeft="FFDDDDDD" bottomRight="FFDDDDDD" />
2012                </Section>
2013                <Section section="label">
2014                    <Colours topLeft="FF000000" topRight="FF000000" bottomLeft="FF000000" bottomRight="FF000000" />
2015                </Section>
2016            </Layer>
2017        </StateImagery>
2018        <StateImagery name="SplitterHover">
2019            <Layer>
2020                <Section section="segment">
2021                    <Colours topLeft="FFDDDDDD" topRight="FFDDDDDD" bottomLeft="FFDDDDDD" bottomRight="FFDDDDDD" />
2022                </Section>
2023                <Section section="splitter">
2024                    <Colours topLeft="FFEFEFEF" topRight="FFEFEFEF" bottomLeft="FFEFEFEF" bottomRight="FFEFEFEF" />
2025                </Section>
2026                <Section section="label">
2027                    <Colours topLeft="FF000000" topRight="FF000000" bottomLeft="FF000000" bottomRight="FF000000" />
2028                </Section>
2029            </Layer>
2030        </StateImagery>
2031        <StateImagery name="DragGhost" clipped="false" >
2032            <Layer priority="1" >
2033                <Section section="segment">
2034                    <Colours topLeft="7FEFEFEF" topRight="7FEFEFEF" bottomLeft="7FEFEFEF" bottomRight="7FEFEFEF" />
2035                </Section>
2036                <Section section="splitter">
2037                    <Colours topLeft="7FDDDDDD" topRight="7FDDDDDD" bottomLeft="7FDDDDDD" bottomRight="7FDDDDDD" />
2038                </Section>
2039                <Section section="label">
2040                    <Colours topLeft="7F000000" topRight="7F000000" bottomLeft="7F000000" bottomRight="7F000000" />
2041                </Section>
2042            </Layer>
2043        </StateImagery>
2044        <StateImagery name="AscendingSortIcon">
2045            <Layer>
2046                <Section section="ascend_icon" />
2047            </Layer>
2048        </StateImagery>
2049        <StateImagery name="DescendingSortIcon">
2050            <Layer>
2051                <Section section="descend_icon" />
2052            </Layer>
2053        </StateImagery>
2054        <StateImagery name="GhostAscendingSortIcon" clipped="false">
2055            <Layer priority="1" >
2056                <Section section="ascend_icon">
2057                    <Colours topLeft="90FFFFFF" topRight="90FFFFFF" bottomLeft="90FFFFFF" bottomRight="90FFFFFF" />
2058                </Section>
2059            </Layer>
2060        </StateImagery>
2061        <StateImagery name="GhostDescendingSortIcon" clipped="false">
2062            <Layer priority="1" >
2063                <Section section="descend_icon">
2064                    <Colours topLeft="90FFFFFF" topRight="90FFFFFF" bottomLeft="90FFFFFF" bottomRight="90FFFFFF" />
2065                </Section>
2066            </Layer>
2067        </StateImagery>
2068        <StateImagery name="Disabled" />
2069    </WidgetLook>
2070
2071
2072    <!--
2073    ***************************************************
2074        WindowsLook/ListHeader
2075    ***************************************************
2076    -->
2077    <WidgetLook name="WindowsLook/ListHeader">
2078        <Property name="SegmentWidgetType" value="WindowsLook/ListHeaderSegment" />
2079        <StateImagery name="Enabled" />
2080        <StateImagery name="Disabled" />
2081    </WidgetLook>
2082
2083
2084    <!--
2085    ***************************************************
2086        WindowsLook/MultiColumnList
2087    ***************************************************
2088    -->
2089    <WidgetLook name="WindowsLook/MultiColumnList">
2090        <NamedArea name="ItemRenderingArea">
2091            <Area>
2092                <Dim type="LeftEdge" ><ImageDim imageset="WindowsLook" image="StaticFrameLeft" dimension="Width" /></Dim>
2093                <Dim type="TopEdge" ><WidgetDim widget="__auto_listheader__" dimension="BottomEdge" /></Dim>
2094                <Dim type="RightEdge" >
2095                    <UnifiedDim scale="1" type="RightEdge">
2096                        <DimOperator op="Subtract">
2097                            <ImageDim imageset="WindowsLook" image="StaticFrameRight" dimension="Width" />
2098                        </DimOperator>
2099                    </UnifiedDim>
2100                </Dim>
2101                <Dim type="BottomEdge" >
2102                    <UnifiedDim scale="1" type="BottomEdge">
2103                        <DimOperator op="Subtract">
2104                            <ImageDim imageset="WindowsLook" image="StaticFrameBottom" dimension="Height" />
2105                        </DimOperator>
2106                    </UnifiedDim>
2107                </Dim>
2108            </Area>
2109        </NamedArea>
2110        <NamedArea name="ItemRenderingAreaHScroll">
2111            <Area>
2112                <Dim type="LeftEdge" ><ImageDim imageset="WindowsLook" image="StaticFrameLeft" dimension="Width" /></Dim>
2113                <Dim type="TopEdge" ><WidgetDim widget="__auto_listheader__" dimension="BottomEdge" /></Dim>
2114                <Dim type="RightEdge" >
2115                    <UnifiedDim scale="1" type="RightEdge">
2116                        <DimOperator op="Subtract">
2117                            <ImageDim imageset="WindowsLook" image="StaticFrameRight" dimension="Width" />
2118                        </DimOperator>
2119                    </UnifiedDim>
2120                </Dim>
2121                <Dim type="BottomEdge" >
2122                    <UnifiedDim scale="1" offset="-16" type="BottomEdge" />
2123                </Dim>
2124            </Area>
2125        </NamedArea>
2126        <NamedArea name="ItemRenderingAreaVScroll">
2127            <Area>
2128                <Dim type="LeftEdge" ><ImageDim imageset="WindowsLook" image="StaticFrameLeft" dimension="Width" /></Dim>
2129                <Dim type="TopEdge" ><WidgetDim widget="__auto_listheader__" dimension="BottomEdge" /></Dim>
2130                <Dim type="RightEdge" >
2131                    <UnifiedDim scale="1" offset="-16" type="RightEdge" />
2132                </Dim>
2133                <Dim type="BottomEdge" >
2134                    <UnifiedDim scale="1" type="BottomEdge">
2135                        <DimOperator op="Subtract">
2136                            <ImageDim imageset="WindowsLook" image="StaticFrameBottom" dimension="Height" />
2137                        </DimOperator>
2138                    </UnifiedDim>
2139                </Dim>
2140            </Area>
2141        </NamedArea>
2142        <NamedArea name="ItemRenderingAreaHVScroll">
2143            <Area>
2144                <Dim type="LeftEdge" ><ImageDim imageset="WindowsLook" image="StaticFrameLeft" dimension="Width" /></Dim>
2145                <Dim type="TopEdge" ><WidgetDim widget="__auto_listheader__" dimension="BottomEdge" /></Dim>
2146                <Dim type="RightEdge" >
2147                    <UnifiedDim scale="1" offset="-16" type="RightEdge" />
2148                </Dim>
2149                <Dim type="BottomEdge" >
2150                    <UnifiedDim scale="1" offset="-16" type="BottomEdge" />
2151                </Dim>
2152            </Area>
2153        </NamedArea>
2154        <Child  type="WindowsLook/ListHeader" nameSuffix="__auto_listheader__">
2155            <Area>
2156                <Dim type="LeftEdge" ><ImageDim imageset="WindowsLook" image="StaticFrameLeft" dimension="Width" /></Dim>
2157                <Dim type="TopEdge" ><ImageDim imageset="WindowsLook" image="StaticFrameTop" dimension="Height" /></Dim>
2158                <Dim type="RightEdge" >
2159                    <UnifiedDim scale="1" type="RightEdge">
2160                        <DimOperator op="Subtract">
2161                            <ImageDim imageset="WindowsLook" image="StaticFrameRight" dimension="Width" />
2162                        </DimOperator>
2163                    </UnifiedDim>
2164                </Dim>
2165                <Dim type="Height" >
2166                    <FontDim type="LineSpacing">
2167                        <DimOperator op="Multiply">
2168                            <AbsoluteDim value="1.5" />
2169                        </DimOperator>
2170                    </FontDim>
2171                </Dim>
2172            </Area>
2173        </Child>
2174        <Child  type="WindowsLook/HorizontalScrollbar" nameSuffix="__auto_hscrollbar__">
2175            <Area>
2176                <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
2177                <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
2178                <Dim type="Width" ><UnifiedDim scale="1" offset="-16" type="Width" /></Dim>
2179                <Dim type="Height" ><AbsoluteDim value="16" /></Dim>
2180            </Area>
2181            <VertAlignment type="BottomAligned" />
2182        </Child>
2183        <Child  type="WindowsLook/VerticalScrollbar" nameSuffix="__auto_vscrollbar__">
2184            <Area>
2185                <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
2186                <Dim type="TopEdge" ><WidgetDim widget="__auto_listheader__" dimension="BottomEdge" /></Dim>
2187                <Dim type="Width" ><AbsoluteDim value="16" /></Dim>
2188                <Dim type="BottomEdge" ><UnifiedDim scale="1" offset="-16" type="BottomEdge" /></Dim>
2189            </Area>
2190            <HorzAlignment type="RightAligned" />
2191        </Child>
2192        <ImagerySection name="main">
2193            <FrameComponent>
2194                <Area>
2195                    <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
2196                    <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
2197                    <Dim type="Width" ><UnifiedDim scale="1" type="Width" /></Dim>
2198                    <Dim type="Height" ><UnifiedDim scale="1" type="Height" /></Dim>
2199                </Area>
2200                <Image type="TopLeftCorner" imageset="WindowsLook" image="StaticFrameTopLeft" />
2201                <Image type="TopRightCorner" imageset="WindowsLook" image="StaticFrameTopRight" />
2202                <Image type="BottomLeftCorner" imageset="WindowsLook" image="StaticFrameBottomLeft" />
2203                <Image type="BottomRightCorner" imageset="WindowsLook" image="StaticFrameBottomRight" />
2204                <Image type="LeftEdge" imageset="WindowsLook" image="StaticFrameLeft" />
2205                <Image type="RightEdge" imageset="WindowsLook" image="StaticFrameRight" />
2206                <Image type="TopEdge" imageset="WindowsLook" image="StaticFrameTop" />
2207                <Image type="BottomEdge" imageset="WindowsLook" image="StaticFrameBottom" />
2208                <Image type="Background" imageset="WindowsLook" image="Background" />
2209            </FrameComponent>
2210        </ImagerySection>
2211        <StateImagery name="Enabled">
2212            <Layer>
2213                <Section section="main" />
2214            </Layer>
2215        </StateImagery>
2216        <StateImagery name="Disabled">
2217            <Layer>
2218                <Section section="main" />
2219            </Layer>
2220        </StateImagery>
2221    </WidgetLook>
2222
2223
2224    <!--
2225    ***************************************************
2226        WindowsLook/MultiLineEditbox
2227    ***************************************************
2228    -->
2229    <WidgetLook name="WindowsLook/MultiLineEditbox">
2230        <PropertyDefinition name="ReadOnlyBGColour" initialValue="FFDFDFDF" />
2231        <PropertyDefinition name="NormalTextColour" initialValue="FF000000" redrawOnWrite="true" />
2232        <PropertyDefinition name="SelectedTextColour" initialValue="FFFFFFFF" redrawOnWrite="true" />
2233        <PropertyDefinition name="ActiveSelectionColour" initialValue="FF607FFF" redrawOnWrite="true" />
2234        <PropertyDefinition name="InactiveSelectionColour" initialValue="FF808080" redrawOnWrite="true" />
2235        <Property name="MouseCursorImage" value="set:WindowsLook image:MouseTextBar" />
2236        <Property name="SelectionBrushImage" value="set:WindowsLook image:Background" />
2237        <NamedArea name="TextArea">
2238            <Area>
2239                <Dim type="LeftEdge" ><ImageDim imageset="WindowsLook" image="EditFrameLeft" dimension="Width" /></Dim>
2240                <Dim type="TopEdge" ><ImageDim imageset="WindowsLook" image="EditFrameTop" dimension="Height" /></Dim>
2241                <Dim type="RightEdge" >
2242                    <UnifiedDim scale="1" type="RightEdge">
2243                        <DimOperator op="Subtract">
2244                            <ImageDim imageset="WindowsLook" image="EditFrameRight" dimension="Width" />
2245                        </DimOperator>
2246                    </UnifiedDim>
2247                </Dim>
2248                <Dim type="BottomEdge" >
2249                    <UnifiedDim scale="1" type="BottomEdge">
2250                        <DimOperator op="Subtract">
2251                            <ImageDim imageset="WindowsLook" image="EditFrameBottom" dimension="Height" />
2252                        </DimOperator>
2253                    </UnifiedDim>
2254                </Dim>
2255            </Area>
2256        </NamedArea>
2257        <NamedArea name="TextAreaHScroll">
2258            <Area>
2259                <Dim type="LeftEdge" ><ImageDim imageset="WindowsLook" image="EditFrameLeft" dimension="Width" /></Dim>
2260                <Dim type="TopEdge" ><ImageDim imageset="WindowsLook" image="EditFrameTop" dimension="Height" /></Dim>
2261                <Dim type="RightEdge" >
2262                    <UnifiedDim scale="1" type="RightEdge">
2263                        <DimOperator op="Subtract">
2264                            <ImageDim imageset="WindowsLook" image="EditFrameRight" dimension="Height" />
2265                        </DimOperator>
2266                    </UnifiedDim>
2267                </Dim>
2268                <Dim type="BottomEdge" >
2269                    <UnifiedDim scale="1" offset="-16" type="BottomEdge" />
2270                </Dim>
2271            </Area>
2272        </NamedArea>
2273        <NamedArea name="TextAreaVScroll">
2274            <Area>
2275                <Dim type="LeftEdge" ><ImageDim imageset="WindowsLook" image="EditFrameLeft" dimension="Width" /></Dim>
2276                <Dim type="TopEdge" ><ImageDim imageset="WindowsLook" image="EditFrameTop" dimension="Height" /></Dim>
2277                <Dim type="RightEdge" >
2278                    <UnifiedDim scale="1" offset="-16" type="RightEdge" />
2279                </Dim>
2280                <Dim type="BottomEdge" >
2281                    <UnifiedDim scale="1" type="BottomEdge">
2282                        <DimOperator op="Subtract">
2283                            <ImageDim imageset="WindowsLook" image="EditFrameBottom" dimension="Height" />
2284                        </DimOperator>
2285                    </UnifiedDim>
2286                </Dim>
2287            </Area>
2288        </NamedArea>
2289        <NamedArea name="TextAreaHVScroll">
2290            <Area>
2291                <Dim type="LeftEdge" ><ImageDim imageset="WindowsLook" image="EditFrameLeft" dimension="Width" /></Dim>
2292                <Dim type="TopEdge" ><ImageDim imageset="WindowsLook" image="EditFrameTop" dimension="Height" /></Dim>
2293                <Dim type="RightEdge" >
2294                    <UnifiedDim scale="1" offset="-16" type="RightEdge" />
2295                </Dim>
2296                <Dim type="BottomEdge" >
2297                    <UnifiedDim scale="1" offset="-16" type="BottomEdge" />
2298                </Dim>
2299            </Area>
2300        </NamedArea>
2301        <Child  type="WindowsLook/HorizontalScrollbar" nameSuffix="__auto_hscrollbar__">
2302            <Area>
2303                <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
2304                <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
2305                <Dim type="Width" ><UnifiedDim scale="1" offset="-16" type="Width" /></Dim>
2306                <Dim type="Height" ><AbsoluteDim value="16" /></Dim>
2307            </Area>
2308            <VertAlignment type="BottomAligned" />
2309        </Child>
2310        <Child  type="WindowsLook/VerticalScrollbar" nameSuffix="__auto_vscrollbar__">
2311            <Area>
2312                <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
2313                <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
2314                <Dim type="Width" ><AbsoluteDim value="16" /></Dim>
2315                <Dim type="Height" ><UnifiedDim scale="1" offset="-16" type="Height" /></Dim>
2316            </Area>
2317            <HorzAlignment type="RightAligned" />
2318        </Child>
2319        <ImagerySection name="main">
2320            <FrameComponent>
2321                <Area>
2322                    <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
2323                    <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
2324                    <Dim type="Width" ><UnifiedDim scale="1" type="Width" /></Dim>
2325                    <Dim type="Height" ><UnifiedDim scale="1" type="Height" /></Dim>
2326                </Area>
2327                <Image type="TopLeftCorner" imageset="WindowsLook" image="EditFrameTopLeft" />
2328                <Image type="TopRightCorner" imageset="WindowsLook" image="EditFrameTopRight" />
2329                <Image type="BottomLeftCorner" imageset="WindowsLook" image="EditFrameBottomLeft" />
2330                <Image type="BottomRightCorner" imageset="WindowsLook" image="EditFrameBottomRight" />
2331                <Image type="LeftEdge" imageset="WindowsLook" image="EditFrameLeft" />
2332                <Image type="RightEdge" imageset="WindowsLook" image="EditFrameRight" />
2333                <Image type="TopEdge" imageset="WindowsLook" image="EditFrameTop" />
2334                <Image type="BottomEdge" imageset="WindowsLook" image="EditFrameBottom" />
2335                <Image type="Background" imageset="WindowsLook" image="Background" />
2336            </FrameComponent>
2337        </ImagerySection>
2338        <ImagerySection name="Carat">
2339            <ImageryComponent>
2340                <Area>
2341                    <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
2342                    <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
2343                    <Dim type="Width" ><ImageDim imageset="WindowsLook" image="EditBoxCarat" dimension="Width" /></Dim>
2344                    <Dim type="BottomEdge" ><UnifiedDim scale="1.0" type="BottomEdge" /></Dim>
2345                </Area>
2346                <Image imageset="WindowsLook" image="EditBoxCarat" />
2347                <VertFormat type="Stretched" />
2348                <HorzFormat type="Stretched" />
2349            </ImageryComponent>
2350        </ImagerySection>
2351        <StateImagery name="Enabled">
2352            <Layer>
2353                <Section section="main" />
2354            </Layer>
2355        </StateImagery>
2356        <StateImagery name="ReadOnly">
2357            <Layer>
2358                <Section section="main">
2359                    <ColourProperty name="ReadOnlyBGColour" />
2360                </Section>
2361            </Layer>
2362        </StateImagery>
2363        <StateImagery name="Disabled">
2364            <Layer>
2365                <Section section="main">
2366                    <ColourProperty name="ReadOnlyBGColour" />
2367                </Section>
2368            </Layer>
2369        </StateImagery>
2370    </WidgetLook>
2371
2372
2373    <!--
2374    ***************************************************
2375        WindowsLook/PopupMenu
2376    ***************************************************
2377    -->
2378    <WidgetLook name="WindowsLook/PopupMenu">
2379        <PropertyDefinition name="BackgroundColours" initialValue="tl:FFF4F3F5 tr:FFF2F2FF bl:FFF4F3F5 br:FFF4F3F5" redrawOnWrite="true" />
2380        <PropertyDefinition name="BorderWidth" initialValue="0" layoutOnWrite="true" />
2381        <NamedArea name="ItemRenderArea">
2382            <Area>
2383                <Dim type="LeftEdge" >
2384                    <ImageDim imageset="WindowsLook" image="PopupMenuFrameLeft" dimension="Width">
2385                        <DimOperator op="Add">
2386                            <PropertyDim name="BorderWidth" />
2387                        </DimOperator>
2388                    </ImageDim>
2389                </Dim>
2390                <Dim type="TopEdge" >
2391                    <ImageDim imageset="WindowsLook" image="PopupMenuFrameTop" dimension="Height">
2392                        <DimOperator op="Add">
2393                            <PropertyDim name="BorderWidth" />
2394                        </DimOperator>
2395                    </ImageDim>
2396                </Dim>
2397                <Dim type="RightEdge" >
2398                    <UnifiedDim scale="1" type="RightEdge">
2399                        <DimOperator op="Subtract">
2400                            <ImageDim imageset="WindowsLook" image="PopupMenuFrameRight" dimension="Width">
2401                                <DimOperator op="Add">
2402                                    <PropertyDim name="BorderWidth" />
2403                                </DimOperator>
2404                            </ImageDim>
2405                        </DimOperator>
2406                    </UnifiedDim>
2407                </Dim>
2408                <Dim type="BottomEdge" >
2409                    <UnifiedDim scale="1" type="BottomEdge">
2410                        <DimOperator op="Subtract">
2411                            <ImageDim imageset="WindowsLook" image="PopupMenuFrameBottom" dimension="Height">
2412                                <DimOperator op="Add">
2413                                    <PropertyDim name="BorderWidth" />
2414                                </DimOperator>
2415                            </ImageDim>
2416                        </DimOperator>
2417                    </UnifiedDim>
2418                </Dim>
2419            </Area>
2420        </NamedArea>
2421        <ImagerySection name="frame">
2422            <FrameComponent>
2423                <Area>
2424                    <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
2425                    <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
2426                    <Dim type="Width" ><UnifiedDim scale="1" type="Width" /></Dim>
2427                    <Dim type="Height" ><UnifiedDim scale="1" type="Height" /></Dim>
2428                </Area>
2429                <Image type="TopLeftCorner" imageset="WindowsLook" image="PopupMenuFrameTopLeft" />
2430                <Image type="TopRightCorner" imageset="WindowsLook" image="PopupMenuFrameTopRight" />
2431                <Image type="BottomLeftCorner" imageset="WindowsLook" image="PopupMenuFrameBottomLeft" />
2432                <Image type="BottomRightCorner" imageset="WindowsLook" image="PopupMenuFrameBottomRight" />
2433                <Image type="LeftEdge" imageset="WindowsLook" image="PopupMenuFrameLeft" />
2434                <Image type="RightEdge" imageset="WindowsLook" image="PopupMenuFrameRight" />
2435                <Image type="TopEdge" imageset="WindowsLook" image="PopupMenuFrameTop" />
2436                <Image type="BottomEdge" imageset="WindowsLook" image="PopupMenuFrameBottom" />
2437                <Image type="Background" imageset="WindowsLook" image="Background" />
2438                <ColourRectProperty name="BackgroundColours" />
2439            </FrameComponent>
2440        </ImagerySection>
2441        <StateImagery name="Enabled">
2442            <Layer>
2443                <Section section="frame" />
2444            </Layer>
2445        </StateImagery>
2446        <StateImagery name="Disabled">
2447            <Layer>
2448                <Section section="frame" />
2449            </Layer>
2450        </StateImagery>
2451    </WidgetLook>
2452
2453
2454    <!--
2455    ***************************************************
2456        WindowsLook/ProgressBar
2457    ***************************************************
2458    -->
2459    <WidgetLook name="WindowsLook/ProgressBar">
2460        <NamedArea name="ProgressArea">
2461            <Area>
2462                <Dim type="LeftEdge" >
2463                    <ImageDim imageset="WindowsLook" image="StaticFrameLeft" dimension="Width" />
2464                </Dim>
2465                <Dim type="TopEdge" >
2466                    <ImageDim imageset="WindowsLook" image="StaticFrameTop" dimension="Height" />
2467                </Dim>
2468                <Dim type="RightEdge" >
2469                    <UnifiedDim scale="1.0" type="RightEdge">
2470                        <DimOperator op="Subtract">
2471                            <ImageDim imageset="WindowsLook" image="StaticFrameRight" dimension="Width" />
2472                        </DimOperator>
2473                    </UnifiedDim>
2474                </Dim>
2475                <Dim type="BottomEdge" >
2476                    <UnifiedDim scale="1.0" type="BottomEdge">
2477                        <DimOperator op="Subtract">
2478                            <ImageDim imageset="WindowsLook" image="StaticFrameBottom" dimension="Height" />
2479                        </DimOperator>
2480                    </UnifiedDim>
2481                </Dim>
2482            </Area>
2483        </NamedArea>
2484        <ImagerySection name="frame">
2485            <FrameComponent>
2486                <Area>
2487                    <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
2488                    <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
2489                    <Dim type="Width" ><UnifiedDim scale="1" type="Width" /></Dim>
2490                    <Dim type="Height" ><UnifiedDim scale="1" type="Height" /></Dim>
2491                </Area>
2492                <Image type="TopLeftCorner" imageset="WindowsLook" image="StaticFrameTopLeft" />
2493                <Image type="TopRightCorner" imageset="WindowsLook" image="StaticFrameTopRight" />
2494                <Image type="BottomLeftCorner" imageset="WindowsLook" image="StaticFrameBottomLeft" />
2495                <Image type="BottomRightCorner" imageset="WindowsLook" image="StaticFrameBottomRight" />
2496                <Image type="LeftEdge" imageset="WindowsLook" image="StaticFrameLeft" />
2497                <Image type="TopEdge" imageset="WindowsLook" image="StaticFrameTop" />
2498                <Image type="RightEdge" imageset="WindowsLook" image="StaticFrameRight" />
2499                <Image type="BottomEdge" imageset="WindowsLook" image="StaticFrameBottom" />
2500            </FrameComponent>
2501            <ImageryComponent>
2502                <Area>
2503                    <Dim type="LeftEdge">
2504                        <ImageDim imageset="WindowsLook" image="StaticFrameLeft" dimension="Width" />
2505                    </Dim>
2506                    <Dim type="TopEdge">
2507                        <ImageDim imageset="WindowsLook" image="StaticFrameTop" dimension="Height" />
2508                    </Dim>
2509                    <Dim type="RightEdge">
2510                        <UnifiedDim scale="1" type="RightEdge">
2511                            <DimOperator op="Subtract">
2512                                <ImageDim imageset="WindowsLook" image="StaticFrameRight" dimension="Width" />
2513                            </DimOperator>
2514                        </UnifiedDim>
2515                    </Dim>
2516                    <Dim type="BottomEdge">
2517                        <UnifiedDim scale="1" type="BottomEdge">
2518                            <DimOperator op="Subtract">
2519                                <ImageDim imageset="WindowsLook" image="StaticFrameBottom" dimension="Height" />
2520                            </DimOperator>
2521                        </UnifiedDim>
2522                    </Dim>
2523                </Area>
2524                <Image imageset="WindowsLook" image="Background" />
2525                <Colours topLeft="FFDFDFDF" topRight="FFDFDFDF" bottomLeft="FFDFDFDF" bottomRight="FFDFDFDF" />
2526                <VertFormat type="Stretched" />
2527                <HorzFormat type="Stretched" />
2528            </ImageryComponent>
2529        </ImagerySection>
2530        <ImagerySection name="progress_lights" >
2531            <ImageryComponent>
2532                <Area>
2533                    <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
2534                    <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
2535                    <Dim type="Width" ><UnifiedDim scale="1" type="Width" /></Dim>
2536                    <Dim type="Height" ><UnifiedDim scale="1" type="Height" /></Dim>
2537                </Area>
2538                <Image imageset="WindowsLook" image="Background" />
2539                <VertFormat type="Stretched" />
2540                <HorzFormat type="Stretched" />
2541            </ImageryComponent>
2542        </ImagerySection>
2543        <StateImagery name="Enabled">
2544            <Layer>
2545                <Section section="frame" />
2546            </Layer>
2547        </StateImagery>
2548        <StateImagery name="Disabled">
2549            <Layer>
2550                <Section section="frame" />
2551            </Layer>
2552        </StateImagery>
2553        <StateImagery name="EnabledProgress">
2554            <Layer>
2555                <Section section="progress_lights">
2556                    <Colours topLeft="FF2222FF" topRight="FF2222FF" bottomLeft="FF2222FF" bottomRight="FF2222FF" />
2557                </Section>
2558            </Layer>
2559        </StateImagery>
2560        <StateImagery name="DisabledProgress">
2561            <Layer>
2562                <Section section="progress_lights">
2563                    <Colours topLeft="FF2222FF" topRight="FF2222FF" bottomLeft="FF2222FF" bottomRight="FF2222FF" />
2564                </Section>
2565            </Layer>
2566        </StateImagery>
2567    </WidgetLook>
2568
2569
2570    <!--
2571    ***************************************************
2572        WindowsLook/RadioButton
2573    ***************************************************
2574    -->
2575    <WidgetLook name="WindowsLook/RadioButton">
2576        <PropertyDefinition name="NormalTextColour" initialValue="FF000000" redrawOnWrite="true" />
2577        <PropertyDefinition name="HoverTextColour" initialValue="FF000000" redrawOnWrite="true" />
2578        <PropertyDefinition name="PushedTextColour" initialValue="FF000000" redrawOnWrite="true" />
2579        <PropertyDefinition name="DisabledTextColour" initialValue="FF888888" redrawOnWrite="true" />
2580        <ImagerySection name="label">
2581            <TextComponent>
2582                <Area>
2583                    <Dim type="LeftEdge" >
2584                        <ImageDim imageset="WindowsLook" image="RadioButtonNormal" dimension="Width">
2585                            <DimOperator op="Add">
2586                                <AbsoluteDim value="4" />
2587                            </DimOperator>
2588                        </ImageDim>
2589                    </Dim>
2590                    <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
2591                    <Dim type="RightEdge" ><UnifiedDim scale="1" type="Width" /></Dim>
2592                    <Dim type="Height" ><UnifiedDim scale="1" type="Height" /></Dim>
2593                </Area>
2594                <VertFormat type="CentreAligned" />
2595                <HorzFormat type="LeftAligned" />
2596            </TextComponent>
2597        </ImagerySection>
2598        <ImagerySection name="normal">
2599            <ImageryComponent>
2600                <Area>
2601                    <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
2602                    <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
2603                    <Dim type="Width" ><UnifiedDim scale="1" type="Width" /></Dim>
2604                    <Dim type="Height" ><UnifiedDim scale="1" type="Height" /></Dim>
2605                </Area>
2606                <Image imageset="WindowsLook" image="RadioButtonNormal" />
2607                <VertFormat type="CentreAligned" />
2608                <HorzFormat type="LeftAligned" />
2609            </ImageryComponent>
2610        </ImagerySection>
2611        <ImagerySection name="hover">
2612            <ImageryComponent>
2613                <Area>
2614                    <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
2615                    <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
2616                    <Dim type="Width" ><UnifiedDim scale="1" type="Width" /></Dim>
2617                    <Dim type="Height" ><UnifiedDim scale="1" type="Height" /></Dim>
2618                </Area>
2619                <Image imageset="WindowsLook" image="RadioButtonHover" />
2620                <VertFormat type="CentreAligned" />
2621                <HorzFormat type="LeftAligned" />
2622            </ImageryComponent>
2623        </ImagerySection>
2624        <ImagerySection name="select_mark">
2625            <ImageryComponent>
2626                <Area>
2627                    <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
2628                    <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
2629                    <Dim type="Width" ><UnifiedDim scale="1" type="Width" /></Dim>
2630                    <Dim type="Height" ><UnifiedDim scale="1" type="Height" /></Dim>
2631                </Area>
2632                <Image imageset="WindowsLook" image="RadioButtonMark" />
2633                <VertFormat type="CentreAligned" />
2634                <HorzFormat type="LeftAligned" />
2635            </ImageryComponent>
2636        </ImagerySection>
2637        <StateImagery name="Normal">
2638            <Layer>
2639                <Section section="normal" />
2640                <Section section="label">
2641                    <ColourProperty name="NormalTextColour" />
2642                </Section>
2643            </Layer>
2644        </StateImagery>
2645        <StateImagery name="Hover">
2646            <Layer>
2647                <Section section="hover" />
2648                <Section section="label">
2649                    <ColourProperty name="HoverTextColour" />
2650                </Section>
2651            </Layer>
2652        </StateImagery>
2653        <StateImagery name="SelectedNormal">
2654            <Layer>
2655                <Section section="normal" />
2656                <Section section="select_mark" />
2657                <Section section="label">
2658                    <ColourProperty name="NormalTextColour" />
2659                </Section>
2660            </Layer>
2661        </StateImagery>
2662        <StateImagery name="SelectedHover">
2663            <Layer>
2664                <Section section="hover" />
2665                <Section section="select_mark" />
2666                <Section section="label">
2667                    <ColourProperty name="HoverTextColour" />
2668                </Section>
2669            </Layer>
2670        </StateImagery>
2671    </WidgetLook>
2672
2673
2674    <!--
2675    ***************************************************
2676        WindowsLook/ScrollablePane
2677    ***************************************************
2678    -->
2679    <WidgetLook name="WindowsLook/ScrollablePane">
2680        <NamedArea name="ViewableArea">
2681            <Area>
2682                <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
2683                <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
2684                <Dim type="RightEdge" ><UnifiedDim scale="1.0" type="RightEdge" /></Dim>
2685                <Dim type="BottomEdge" ><UnifiedDim scale="1.0" type="BottomEdge" /></Dim>
2686            </Area>
2687        </NamedArea>
2688        <NamedArea name="ViewableAreaHScroll">
2689            <Area>
2690                <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
2691                <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
2692                <Dim type="RightEdge" ><UnifiedDim scale="1.0" type="RightEdge" /></Dim>
2693                <Dim type="BottomEdge" ><UnifiedDim scale="1.0" offset="-16" type="BottomEdge" /></Dim>
2694            </Area>
2695        </NamedArea>
2696        <NamedArea name="ViewableAreaVScroll">
2697            <Area>
2698                <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
2699                <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
2700                <Dim type="RightEdge" ><UnifiedDim scale="1.0" offset="-16" type="RightEdge" /></Dim>
2701                <Dim type="BottomEdge" ><UnifiedDim scale="1.0" type="BottomEdge" /></Dim>
2702            </Area>
2703        </NamedArea>
2704        <NamedArea name="ViewableAreaHVScroll">
2705            <Area>
2706                <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
2707                <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
2708                <Dim type="RightEdge" ><UnifiedDim scale="1.0" offset="-16" type="RightEdge" /></Dim>
2709                <Dim type="BottomEdge" ><UnifiedDim scale="1.0" offset="-16" type="BottomEdge" /></Dim>
2710            </Area>
2711        </NamedArea>
2712        <Child  type="WindowsLook/HorizontalScrollbar" nameSuffix="__auto_hscrollbar__">
2713            <Area>
2714                <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
2715                <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
2716                <Dim type="Width" ><UnifiedDim scale="1" offset="-16" type="Width" /></Dim>
2717                <Dim type="Height" ><AbsoluteDim value="16" /></Dim>
2718            </Area>
2719            <VertAlignment type="BottomAligned" />
2720        </Child>
2721        <Child  type="WindowsLook/VerticalScrollbar" nameSuffix="__auto_vscrollbar__">
2722            <Area>
2723                <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
2724                <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
2725                <Dim type="Width" ><AbsoluteDim value="16" /></Dim>
2726                <Dim type="Height" ><UnifiedDim scale="1" offset="-16" type="Height" /></Dim>
2727            </Area>
2728            <HorzAlignment type="RightAligned" />
2729        </Child>
2730        <StateImagery name="Enabled" />
2731        <StateImagery name="Disabled" />
2732    </WidgetLook>
2733
2734
2735    <!--
2736    ***************************************************
2737        WindowsLook/VerticalScrollbarThumb
2738    ***************************************************
2739    -->
2740    <WidgetLook name="WindowsLook/VerticalScrollbarThumb">
2741        <Property name="VertFree" value="True" />
2742        <Property name="UnifiedMinSize" value="{{0,0},{0,16}}" />
2743        <ImagerySection name="normal">
2744            <FrameComponent>
2745                <Area>
2746                    <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
2747                    <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
2748                    <Dim type="Width" ><UnifiedDim scale="1.0" type="Width" /></Dim>
2749                    <Dim type="Height" ><UnifiedDim scale="1.0" type="Height" /></Dim>
2750                </Area>
2751                <Image type="TopLeftCorner" imageset="WindowsLook" image="ButtonNormalTopLeft" />
2752                <Image type="TopRightCorner" imageset="WindowsLook" image="ButtonNormalTopRight" />
2753                <Image type="BottomLeftCorner" imageset="WindowsLook" image="ButtonNormalBottomLeft" />
2754                <Image type="BottomRightCorner" imageset="WindowsLook" image="ButtonNormalBottomRight" />
2755                <Image type="LeftEdge" imageset="WindowsLook" image="ButtonNormalLeft" />
2756                <Image type="TopEdge" imageset="WindowsLook" image="ButtonNormalTop" />
2757                <Image type="RightEdge" imageset="WindowsLook" image="ButtonNormalRight" />
2758                <Image type="BottomEdge" imageset="WindowsLook" image="ButtonNormalBottom" />
2759            </FrameComponent>
2760            <ImageryComponent>
2761                <Area>
2762                    <Dim type="LeftEdge">
2763                        <ImageDim imageset="WindowsLook" image="ButtonNormalLeft" dimension="Width" />
2764                    </Dim>
2765                    <Dim type="TopEdge">
2766                        <ImageDim imageset="WindowsLook" image="ButtonNormalTop" dimension="Height" />
2767                    </Dim>
2768                    <Dim type="RightEdge">
2769                        <UnifiedDim scale="1" type="RightEdge">
2770                            <DimOperator op="Subtract">
2771                                <ImageDim imageset="WindowsLook" image="ButtonNormalRight" dimension="Width" />
2772                            </DimOperator>
2773                        </UnifiedDim>
2774                    </Dim>
2775                    <Dim type="BottomEdge">
2776                        <UnifiedDim scale="1" type="BottomEdge">
2777                            <DimOperator op="Subtract">
2778                                <ImageDim imageset="WindowsLook" image="ButtonNormalBottom" dimension="Height" />
2779                            </DimOperator>
2780                        </UnifiedDim>
2781                    </Dim>
2782                </Area>
2783                <Image imageset="WindowsLook" image="Background" />
2784                <Colours topLeft="FFAFAFAF" topRight="FFFFFFFF" bottomLeft="FFFFFFFF" bottomRight="FFAFAFAF" />
2785                <VertFormat type="Stretched" />
2786                <HorzFormat type="Stretched" />
2787            </ImageryComponent>
2788        </ImagerySection>
2789        <ImagerySection name="hover">
2790            <FrameComponent>
2791                <Area>
2792                    <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
2793                    <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
2794                    <Dim type="Width" ><UnifiedDim scale="1.0" type="Width" /></Dim>
2795                    <Dim type="Height" ><UnifiedDim scale="1.0" type="Height" /></Dim>
2796                </Area>
2797                <Image type="TopLeftCorner" imageset="WindowsLook" image="ButtonHoverTopLeft" />
2798                <Image type="TopRightCorner" imageset="WindowsLook" image="ButtonHoverTopRight" />
2799                <Image type="BottomLeftCorner" imageset="WindowsLook" image="ButtonHoverBottomLeft" />
2800                <Image type="BottomRightCorner" imageset="WindowsLook" image="ButtonHoverBottomRight" />
2801                <Image type="LeftEdge" imageset="WindowsLook" image="ButtonHoverLeft" />
2802                <Image type="TopEdge" imageset="WindowsLook" image="ButtonHoverTop" />
2803                <Image type="RightEdge" imageset="WindowsLook" image="ButtonHoverRight" />
2804                <Image type="BottomEdge" imageset="WindowsLook" image="ButtonHoverBottom" />
2805            </FrameComponent>
2806            <ImageryComponent>
2807                <Area>
2808                    <Dim type="LeftEdge">
2809                        <ImageDim imageset="WindowsLook" image="ButtonHoverLeft" dimension="Width" />
2810                    </Dim>
2811                    <Dim type="TopEdge">
2812                        <ImageDim imageset="WindowsLook" image="ButtonHoverTop" dimension="Height" />
2813                    </Dim>
2814                    <Dim type="RightEdge">
2815                        <UnifiedDim scale="1" type="RightEdge">
2816                            <DimOperator op="Subtract">
2817                                <ImageDim imageset="WindowsLook" image="ButtonHoverRight" dimension="Width" />
2818                            </DimOperator>
2819                        </UnifiedDim>
2820                    </Dim>
2821                    <Dim type="BottomEdge">
2822                        <UnifiedDim scale="1" type="BottomEdge">
2823                            <DimOperator op="Subtract">
2824                                <ImageDim imageset="WindowsLook" image="ButtonHoverBottom" dimension="Height" />
2825                            </DimOperator>
2826                        </UnifiedDim>
2827                    </Dim>
2828                </Area>
2829                <Image imageset="WindowsLook" image="Background" />
2830                <Colours topLeft="FFCFD9CF" topRight="FFF2FFF2" bottomLeft="FFF2FFF2" bottomRight="FFCFD9CF" />
2831                <VertFormat type="Stretched" />
2832                <HorzFormat type="Stretched" />
2833            </ImageryComponent>
2834        </ImagerySection>
2835        <ImagerySection name="pushed">
2836            <FrameComponent>
2837                <Area>
2838                    <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
2839                    <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
2840                    <Dim type="Width" ><UnifiedDim scale="1.0" type="Width" /></Dim>
2841                    <Dim type="Height" ><UnifiedDim scale="1.0" type="Height" /></Dim>
2842                </Area>
2843                <Image type="TopLeftCorner" imageset="WindowsLook" image="ButtonPushedTopLeft" />
2844                <Image type="TopRightCorner" imageset="WindowsLook" image="ButtonPushedTopRight" />
2845                <Image type="BottomLeftCorner" imageset="WindowsLook" image="ButtonPushedBottomLeft" />
2846                <Image type="BottomRightCorner" imageset="WindowsLook" image="ButtonPushedBottomRight" />
2847                <Image type="LeftEdge" imageset="WindowsLook" image="ButtonPushedLeft" />
2848                <Image type="TopEdge" imageset="WindowsLook" image="ButtonPushedTop" />
2849                <Image type="RightEdge" imageset="WindowsLook" image="ButtonPushedRight" />
2850                <Image type="BottomEdge" imageset="WindowsLook" image="ButtonPushedBottom" />
2851            </FrameComponent>
2852            <ImageryComponent>
2853                <Area>
2854                    <Dim type="LeftEdge">
2855                        <ImageDim imageset="WindowsLook" image="ButtonPushedLeft" dimension="Width" />
2856                    </Dim>
2857                    <Dim type="TopEdge">
2858                        <ImageDim imageset="WindowsLook" image="ButtonPushedTop" dimension="Height" />
2859                    </Dim>
2860                    <Dim type="RightEdge">
2861                        <UnifiedDim scale="1" type="RightEdge">
2862                            <DimOperator op="Subtract">
2863                                <ImageDim imageset="WindowsLook" image="ButtonPushedRight" dimension="Width" />
2864                            </DimOperator>
2865                        </UnifiedDim>
2866                    </Dim>
2867                    <Dim type="BottomEdge">
2868                        <UnifiedDim scale="1" type="BottomEdge">
2869                            <DimOperator op="Subtract">
2870                                <ImageDim imageset="WindowsLook" image="ButtonPushedBottom" dimension="Height" />
2871                            </DimOperator>
2872                        </UnifiedDim>
2873                    </Dim>
2874                </Area>
2875                <Image imageset="WindowsLook" image="Background" />
2876                <Colours topLeft="FFAFAFAF" topRight="FFFFFFFF" bottomLeft="FFFFFFFF" bottomRight="FFAFAFAF" />
2877                <VertFormat type="Stretched" />
2878                <HorzFormat type="Stretched" />
2879            </ImageryComponent>
2880        </ImagerySection>
2881        <ImagerySection name="gripper">
2882            <ImageryComponent>
2883                <Area>
2884                    <Dim type="LeftEdge">
2885                        <ImageDim imageset="WindowsLook" image="ButtonPushedLeft" dimension="Width" />
2886                    </Dim>
2887                    <Dim type="TopEdge">
2888                        <ImageDim imageset="WindowsLook" image="ButtonPushedTop" dimension="Height" />
2889                    </Dim>
2890                    <Dim type="RightEdge">
2891                        <UnifiedDim scale="1" type="RightEdge">
2892                            <DimOperator op="Subtract">
2893                                <ImageDim imageset="WindowsLook" image="ButtonPushedRight" dimension="Width" />
2894                            </DimOperator>
2895                        </UnifiedDim>
2896                    </Dim>
2897                    <Dim type="BottomEdge">
2898                        <UnifiedDim scale="1" type="BottomEdge">
2899                            <DimOperator op="Subtract">
2900                                <ImageDim imageset="WindowsLook" image="ButtonPushedBottom" dimension="Height" />
2901                            </DimOperator>
2902                        </UnifiedDim>
2903                    </Dim>
2904                </Area>
2905                <Image imageset="WindowsLook" image="VertScrollbarGrip" />
2906                <VertFormat type="CentreAligned" />
2907                <HorzFormat type="Stretched" />
2908            </ImageryComponent>
2909        </ImagerySection>
2910        <StateImagery name="Normal">
2911            <Layer>
2912                <Section section="normal" />
2913                <Section section="gripper">
2914                    <Colours topLeft="FFAFAFAF" topRight="FFFFFFFF" bottomLeft="FFFFFFFF" bottomRight="FFAFAFAF" />
2915                </Section>
2916            </Layer>
2917        </StateImagery>
2918        <StateImagery name="Hover">
2919            <Layer>
2920                <Section section="hover" />
2921                <Section section="gripper">
2922                    <Colours topLeft="FFCFD9CF" topRight="FFF2FFF2" bottomLeft="FFF2FFF2" bottomRight="FFCFD9CF" />
2923                </Section>
2924            </Layer>
2925        </StateImagery>
2926        <StateImagery name="Pushed">
2927            <Layer>
2928                <Section section="pushed" />
2929                <Section section="gripper">
2930                    <Colours topLeft="FFAFAFAF" topRight="FFFFFFFF" bottomLeft="FFFFFFFF" bottomRight="FFAFAFAF" />
2931                </Section>
2932            </Layer>
2933        </StateImagery>
2934    </WidgetLook>
2935
2936
2937    <!--
2938    ***************************************************
2939        WindowsLook/VerticalScrollbar
2940    ***************************************************
2941    -->
2942    <WidgetLook name="WindowsLook/VerticalScrollbar">
2943        <Property name="VerticalScrollbar" value="True" />
2944        <Property name="WantsMultiClickEvents" value="False" />
2945        <NamedArea name="ThumbTrackArea">
2946            <Area>
2947                <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
2948                <Dim type="TopEdge" ><UnifiedDim scale="1" type="Width" /></Dim>
2949                <Dim type="RightEdge" ><UnifiedDim scale="1.0" type="RightEdge" /></Dim>
2950                <Dim type="BottomEdge" >
2951                    <UnifiedDim scale="1.0" type="BottomEdge">
2952                        <DimOperator op="Subtract">
2953                            <UnifiedDim scale="1" type="Width" />
2954                        </DimOperator>
2955                    </UnifiedDim>
2956                </Dim>
2957            </Area>
2958        </NamedArea>
2959        <Child  type="WindowsLook/IconButton" nameSuffix="__auto_incbtn__">
2960            <Area>
2961                <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
2962                <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
2963                <Dim type="Width" ><UnifiedDim scale="1" type="Width" /></Dim>
2964                <Dim type="Height" ><UnifiedDim scale="1" type="Width" /></Dim>
2965            </Area>
2966            <VertAlignment type="BottomAligned" />
2967            <Property name="IconImage" value="set:WindowsLook image:LargeDownArrow" />
2968        </Child>
2969        <Child  type="WindowsLook/IconButton" nameSuffix="__auto_decbtn__">
2970            <Area>
2971                <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
2972                <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
2973                <Dim type="Width" ><UnifiedDim scale="1" type="Width" /></Dim>
2974                <Dim type="Height" ><UnifiedDim scale="1" type="Width" /></Dim>
2975            </Area>
2976            <Property name="IconImage" value="set:WindowsLook image:LargeUpArrow" />
2977        </Child>
2978        <Child  type="WindowsLook/VerticalScrollbarThumb" nameSuffix="__auto_thumb__">
2979            <Area>
2980                <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
2981                <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
2982                <Dim type="Width" ><UnifiedDim scale="1" type="Width" /></Dim>
2983                <Dim type="Height" ><UnifiedDim scale="0.2" type="Height" /></Dim>
2984            </Area>
2985        </Child>
2986        <ImagerySection name="main">
2987            <ImageryComponent>
2988                <Area>
2989                    <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
2990                    <Dim type="TopEdge" ><ImageDim imageset="WindowsLook" image="LargeUpArrow" dimension="Height" /></Dim>
2991                    <Dim type="RightEdge" ><UnifiedDim scale="1.0" type="RightEdge" /></Dim>
2992                    <Dim type="BottomEdge" >
2993                        <UnifiedDim scale="1.0" type="BottomEdge">
2994                            <DimOperator op="Subtract">
2995                                <ImageDim imageset="WindowsLook" image="LargeDownArrow" dimension="Height" />
2996                            </DimOperator>
2997                        </UnifiedDim>
2998                    </Dim>
2999                </Area>
3000                <Image imageset="WindowsLook" image="Background" />
3001                <VertFormat type="Stretched" />
3002                <HorzFormat type="Stretched" />
3003            </ImageryComponent>
3004        </ImagerySection>
3005        <StateImagery name="Enabled">
3006            <Layer>
3007                <Section section="main">
3008                    <Colours topLeft="FFDFDFDF" topRight="FFDFDFDF" bottomLeft="FFDFDFDF" bottomRight="FFDFDFDF" />
3009                </Section>
3010            </Layer>
3011        </StateImagery>
3012        <StateImagery name="Disabled">
3013            <Layer>
3014                <Section section="main">
3015                    <Colours topLeft="FFBFBFBF" topRight="FFBFBFBF" bottomLeft="FFBFBFBF" bottomRight="FFBFBFBF" />
3016                </Section>
3017            </Layer>
3018        </StateImagery>
3019    </WidgetLook>
3020
3021
3022    <!--
3023    ***************************************************
3024        WindowsLook/HorizontalScrollbarThumb
3025    ***************************************************
3026    -->
3027    <WidgetLook name="WindowsLook/HorizontalScrollbarThumb">
3028        <Property name="HorzFree" value="True" />
3029        <Property name="UnifiedMinSize" value="{{0,16},{0,0}}" />
3030        <ImagerySection name="normal">
3031            <FrameComponent>
3032                <Area>
3033                    <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
3034                    <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
3035                    <Dim type="Width" ><UnifiedDim scale="1.0" type="Width" /></Dim>
3036                    <Dim type="Height" ><UnifiedDim scale="1.0" type="Height" /></Dim>
3037                </Area>
3038                <Image type="TopLeftCorner" imageset="WindowsLook" image="ButtonNormalTopLeft" />
3039                <Image type="TopRightCorner" imageset="WindowsLook" image="ButtonNormalTopRight" />
3040                <Image type="BottomLeftCorner" imageset="WindowsLook" image="ButtonNormalBottomLeft" />
3041                <Image type="BottomRightCorner" imageset="WindowsLook" image="ButtonNormalBottomRight" />
3042                <Image type="LeftEdge" imageset="WindowsLook" image="ButtonNormalLeft" />
3043                <Image type="TopEdge" imageset="WindowsLook" image="ButtonNormalTop" />
3044                <Image type="RightEdge" imageset="WindowsLook" image="ButtonNormalRight" />
3045                <Image type="BottomEdge" imageset="WindowsLook" image="ButtonNormalBottom" />
3046            </FrameComponent>
3047            <ImageryComponent>
3048                <Area>
3049                    <Dim type="LeftEdge">
3050                        <ImageDim imageset="WindowsLook" image="ButtonNormalLeft" dimension="Width" />
3051                    </Dim>
3052                    <Dim type="TopEdge">
3053                        <ImageDim imageset="WindowsLook" image="ButtonNormalTop" dimension="Height" />
3054                    </Dim>
3055                    <Dim type="RightEdge">
3056                        <UnifiedDim scale="1" type="RightEdge">
3057                            <DimOperator op="Subtract">
3058                                <ImageDim imageset="WindowsLook" image="ButtonNormalRight" dimension="Width" />
3059                            </DimOperator>
3060                        </UnifiedDim>
3061                    </Dim>
3062                    <Dim type="BottomEdge">
3063                        <UnifiedDim scale="1" type="BottomEdge">
3064                            <DimOperator op="Subtract">
3065                                <ImageDim imageset="WindowsLook" image="ButtonNormalBottom" dimension="Height" />
3066                            </DimOperator>
3067                        </UnifiedDim>
3068                    </Dim>
3069                </Area>
3070                <Image imageset="WindowsLook" image="Background" />
3071                <Colours topLeft="FFAFAFAF" topRight="FFFFFFFF" bottomLeft="FFFFFFFF" bottomRight="FFAFAFAF" />
3072                <VertFormat type="Stretched" />
3073                <HorzFormat type="Stretched" />
3074            </ImageryComponent>
3075        </ImagerySection>
3076        <ImagerySection name="hover">
3077            <FrameComponent>
3078                <Area>
3079                    <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
3080                    <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
3081                    <Dim type="Width" ><UnifiedDim scale="1.0" type="Width" /></Dim>
3082                    <Dim type="Height" ><UnifiedDim scale="1.0" type="Height" /></Dim>
3083                </Area>
3084                <Image type="TopLeftCorner" imageset="WindowsLook" image="ButtonHoverTopLeft" />
3085                <Image type="TopRightCorner" imageset="WindowsLook" image="ButtonHoverTopRight" />
3086                <Image type="BottomLeftCorner" imageset="WindowsLook" image="ButtonHoverBottomLeft" />
3087                <Image type="BottomRightCorner" imageset="WindowsLook" image="ButtonHoverBottomRight" />
3088                <Image type="LeftEdge" imageset="WindowsLook" image="ButtonHoverLeft" />
3089                <Image type="TopEdge" imageset="WindowsLook" image="ButtonHoverTop" />
3090                <Image type="RightEdge" imageset="WindowsLook" image="ButtonHoverRight" />
3091                <Image type="BottomEdge" imageset="WindowsLook" image="ButtonHoverBottom" />
3092            </FrameComponent>
3093            <ImageryComponent>
3094                <Area>
3095                    <Dim type="LeftEdge">
3096                        <ImageDim imageset="WindowsLook" image="ButtonHoverLeft" dimension="Width" />
3097                    </Dim>
3098                    <Dim type="TopEdge">
3099                        <ImageDim imageset="WindowsLook" image="ButtonHoverTop" dimension="Height" />
3100                    </Dim>
3101                    <Dim type="RightEdge">
3102                        <UnifiedDim scale="1" type="RightEdge">
3103                            <DimOperator op="Subtract">
3104                                <ImageDim imageset="WindowsLook" image="ButtonHoverRight" dimension="Width" />
3105                            </DimOperator>
3106                        </UnifiedDim>
3107                    </Dim>
3108                    <Dim type="BottomEdge">
3109                        <UnifiedDim scale="1" type="BottomEdge">
3110                            <DimOperator op="Subtract">
3111                                <ImageDim imageset="WindowsLook" image="ButtonHoverBottom" dimension="Height" />
3112                            </DimOperator>
3113                        </UnifiedDim>
3114                    </Dim>
3115                </Area>
3116                <Image imageset="WindowsLook" image="Background" />
3117                <Colours topLeft="FFCFD9CF" topRight="FFF2FFF2" bottomLeft="FFF2FFF2" bottomRight="FFCFD9CF" />
3118                <VertFormat type="Stretched" />
3119                <HorzFormat type="Stretched" />
3120            </ImageryComponent>
3121        </ImagerySection>
3122        <ImagerySection name="pushed">
3123            <FrameComponent>
3124                <Area>
3125                    <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
3126                    <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
3127                    <Dim type="Width" ><UnifiedDim scale="1.0" type="Width" /></Dim>
3128                    <Dim type="Height" ><UnifiedDim scale="1.0" type="Height" /></Dim>
3129                </Area>
3130                <Image type="TopLeftCorner" imageset="WindowsLook" image="ButtonPushedTopLeft" />
3131                <Image type="TopRightCorner" imageset="WindowsLook" image="ButtonPushedTopRight" />
3132                <Image type="BottomLeftCorner" imageset="WindowsLook" image="ButtonPushedBottomLeft" />
3133                <Image type="BottomRightCorner" imageset="WindowsLook" image="ButtonPushedBottomRight" />
3134                <Image type="LeftEdge" imageset="WindowsLook" image="ButtonPushedLeft" />
3135                <Image type="TopEdge" imageset="WindowsLook" image="ButtonPushedTop" />
3136                <Image type="RightEdge" imageset="WindowsLook" image="ButtonPushedRight" />
3137                <Image type="BottomEdge" imageset="WindowsLook" image="ButtonPushedBottom" />
3138            </FrameComponent>
3139            <ImageryComponent>
3140                <Area>
3141                    <Dim type="LeftEdge">
3142                        <ImageDim imageset="WindowsLook" image="ButtonPushedLeft" dimension="Width" />
3143                    </Dim>
3144                    <Dim type="TopEdge">
3145                        <ImageDim imageset="WindowsLook" image="ButtonPushedTop" dimension="Height" />
3146                    </Dim>
3147                    <Dim type="RightEdge">
3148                        <UnifiedDim scale="1" type="RightEdge">
3149                            <DimOperator op="Subtract">
3150                                <ImageDim imageset="WindowsLook" image="ButtonPushedRight" dimension="Width" />
3151                            </DimOperator>
3152                        </UnifiedDim>
3153                    </Dim>
3154                    <Dim type="BottomEdge">
3155                        <UnifiedDim scale="1" type="BottomEdge">
3156                            <DimOperator op="Subtract">
3157                                <ImageDim imageset="WindowsLook" image="ButtonPushedBottom" dimension="Height" />
3158                            </DimOperator>
3159                        </UnifiedDim>
3160                    </Dim>
3161                </Area>
3162                <Image imageset="WindowsLook" image="Background" />
3163                <Colours topLeft="FFAFAFAF" topRight="FFFFFFFF" bottomLeft="FFFFFFFF" bottomRight="FFAFAFAF" />
3164                <VertFormat type="Stretched" />
3165                <HorzFormat type="Stretched" />
3166            </ImageryComponent>
3167        </ImagerySection>
3168        <ImagerySection name="gripper">
3169            <ImageryComponent>
3170                <Area>
3171                    <Dim type="LeftEdge">
3172                        <ImageDim imageset="WindowsLook" image="ButtonPushedLeft" dimension="Width" />
3173                    </Dim>
3174                    <Dim type="TopEdge">
3175                        <ImageDim imageset="WindowsLook" image="ButtonPushedTop" dimension="Height" />
3176                    </Dim>
3177                    <Dim type="RightEdge">
3178                        <UnifiedDim scale="1" type="RightEdge">
3179                            <DimOperator op="Subtract">
3180                                <ImageDim imageset="WindowsLook" image="ButtonPushedRight" dimension="Width" />
3181                            </DimOperator>
3182                        </UnifiedDim>
3183                    </Dim>
3184                    <Dim type="BottomEdge">
3185                        <UnifiedDim scale="1" type="BottomEdge">
3186                            <DimOperator op="Subtract">
3187                                <ImageDim imageset="WindowsLook" image="ButtonPushedBottom" dimension="Height" />
3188                            </DimOperator>
3189                        </UnifiedDim>
3190                    </Dim>
3191                </Area>
3192                <Image imageset="WindowsLook" image="HorzScrollbarGrip" />
3193                <VertFormat type="Stretched" />
3194                <HorzFormat type="CentreAligned" />
3195            </ImageryComponent>
3196        </ImagerySection>
3197        <StateImagery name="Normal">
3198            <Layer>
3199                <Section section="normal" />
3200                <Section section="gripper">
3201                    <Colours topLeft="FFAFAFAF" topRight="FFFFFFFF" bottomLeft="FFFFFFFF" bottomRight="FFAFAFAF" />
3202                </Section>
3203            </Layer>
3204        </StateImagery>
3205        <StateImagery name="Hover">
3206            <Layer>
3207                <Section section="hover" />
3208                <Section section="gripper">
3209                    <Colours topLeft="FFCFD9CF" topRight="FFF2FFF2" bottomLeft="FFF2FFF2" bottomRight="FFCFD9CF" />
3210                </Section>
3211            </Layer>
3212        </StateImagery>
3213        <StateImagery name="Pushed">
3214            <Layer>
3215                <Section section="pushed" />
3216                <Section section="gripper">
3217                    <Colours topLeft="FFAFAFAF" topRight="FFFFFFFF" bottomLeft="FFFFFFFF" bottomRight="FFAFAFAF" />
3218                </Section>
3219            </Layer>
3220        </StateImagery>
3221    </WidgetLook>
3222
3223
3224    <!--
3225    ***************************************************
3226        WindowsLook/HorizontalScrollbar
3227    ***************************************************
3228    -->
3229    <WidgetLook name="WindowsLook/HorizontalScrollbar">
3230        <Property name="WantsMultiClickEvents" value="False" />
3231        <NamedArea name="ThumbTrackArea">
3232            <Area>
3233                <Dim type="LeftEdge" ><UnifiedDim scale="1" type="Height" /></Dim>
3234                <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
3235                <Dim type="RightEdge" ><UnifiedDim scale="1.0" type="RightEdge">
3236                        <DimOperator op="Subtract">
3237                            <UnifiedDim scale="1" type="Height" />
3238                        </DimOperator>
3239                    </UnifiedDim>
3240                </Dim>
3241                <Dim type="BottomEdge" ><UnifiedDim scale="1.0" type="BottomEdge" /></Dim>
3242            </Area>
3243        </NamedArea>
3244        <Child  type="WindowsLook/IconButton" nameSuffix="__auto_incbtn__">
3245            <Area>
3246                <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
3247                <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
3248                <Dim type="Width" ><UnifiedDim scale="1" type="Height" /></Dim>
3249                <Dim type="Height" ><UnifiedDim scale="1" type="Height" /></Dim>
3250            </Area>
3251            <HorzAlignment type="RightAligned" />
3252            <Property name="IconImage" value="set:WindowsLook image:LargeRightArrow" />
3253        </Child>
3254        <Child  type="WindowsLook/IconButton" nameSuffix="__auto_decbtn__">
3255            <Area>
3256                <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
3257                <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
3258                <Dim type="Width" ><UnifiedDim scale="1" type="Height" /></Dim>
3259                <Dim type="Height" ><UnifiedDim scale="1" type="Height" /></Dim>
3260            </Area>
3261            <Property name="IconImage" value="set:WindowsLook image:LargeLeftArrow" />
3262        </Child>
3263        <Child  type="WindowsLook/HorizontalScrollbarThumb" nameSuffix="__auto_thumb__">
3264            <Area>
3265                <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
3266                <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
3267                <Dim type="Width" ><UnifiedDim scale="0.2" type="Width" /></Dim>
3268                <Dim type="Height" ><UnifiedDim scale="1" type="Height" /></Dim>
3269            </Area>
3270        </Child>
3271        <ImagerySection name="main">
3272            <ImageryComponent>
3273                <Area>
3274                    <Dim type="LeftEdge" ><ImageDim imageset="WindowsLook" image="LargeLeftArrow" dimension="Height" /></Dim>
3275                    <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
3276                    <Dim type="RightEdge" ><UnifiedDim scale="1.0" type="RightEdge">
3277                            <DimOperator op="Subtract">
3278                                <ImageDim imageset="WindowsLook" image="LargeRightArrow" dimension="Height" />
3279                            </DimOperator>
3280                        </UnifiedDim></Dim>
3281                    <Dim type="BottomEdge" ><UnifiedDim scale="1.0" type="BottomEdge" /></Dim>
3282                </Area>
3283                <Image imageset="WindowsLook" image="Background" />
3284                <Colours topLeft="FFDFDFDF" topRight="FFDFDFDF" bottomLeft="FFDFDFDF" bottomRight="FFDFDFDF" />
3285                <VertFormat type="Stretched" />
3286                <HorzFormat type="Stretched" />
3287            </ImageryComponent>
3288        </ImagerySection>
3289        <StateImagery name="Enabled">
3290            <Layer>
3291                <Section section="main" />
3292            </Layer>
3293        </StateImagery>
3294        <StateImagery name="Disabled">
3295            <Layer>
3296                <Section section="main" />
3297            </Layer>
3298        </StateImagery>
3299    </WidgetLook>
3300
3301
3302    <!--
3303    ***************************************************
3304        WindowsLook/SliderThumb
3305    ***************************************************
3306    -->
3307    <WidgetLook name="WindowsLook/SliderThumb">
3308        <Property name="HorzFree" value="True" />
3309        <ImagerySection name="normal">
3310            <ImageryComponent>
3311                <Area>
3312                    <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
3313                    <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
3314                    <Dim type="Width" ><UnifiedDim scale="1.0" type="Width" /></Dim>
3315                    <Dim type="Height" ><UnifiedDim scale="1.0" type="Height" /></Dim>
3316                </Area>
3317                <Image imageset="WindowsLook" image="SliderThumbNormal" />
3318                <VertFormat type="Stretched" />
3319                <HorzFormat type="Stretched" />
3320            </ImageryComponent>
3321        </ImagerySection>
3322        <ImagerySection name="hover">
3323            <ImageryComponent>
3324                <Area>
3325                    <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
3326                    <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
3327                    <Dim type="Width" ><UnifiedDim scale="1.0" type="Width" /></Dim>
3328                    <Dim type="Height" ><UnifiedDim scale="1.0" type="Height" /></Dim>
3329                </Area>
3330                <Image imageset="WindowsLook" image="SliderThumbHover" />
3331                <VertFormat type="Stretched" />
3332                <HorzFormat type="Stretched" />
3333            </ImageryComponent>
3334        </ImagerySection>
3335        <StateImagery name="Normal">
3336            <Layer>
3337                <Section section="normal" />
3338            </Layer>
3339        </StateImagery>
3340        <StateImagery name="Hover">
3341            <Layer>
3342                <Section section="hover" />
3343            </Layer>
3344        </StateImagery>
3345        <StateImagery name="Pushed">
3346            <Layer>
3347                <Section section="hover" />
3348            </Layer>
3349        </StateImagery>
3350        <StateImagery name="Disabled">
3351            <Layer>
3352                <Section section="normal">
3353                    <Colours topLeft="FF7F7F7F" topRight="FF7F7F7F" bottomLeft="FF7F7F7F" bottomRight="FF7F7F7F" />
3354                </Section>
3355            </Layer>
3356        </StateImagery>
3357    </WidgetLook>
3358
3359
3360    <!--
3361    ***************************************************
3362        WindowsLook/Slider
3363    ***************************************************
3364    -->
3365    <WidgetLook name="WindowsLook/Slider">
3366        <Property name="HorizontalSlider" value="True" />
3367        <Property name="MouseButtonDownAutoRepeat" value="True" />
3368        <Property name="WantsMultiClickEvents" value="False" />
3369        <NamedArea name="ThumbTrackArea">
3370            <Area>
3371                <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
3372                <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
3373                <Dim type="RightEdge" ><UnifiedDim scale="1.0" type="RightEdge" /></Dim>
3374                <Dim type="BottomEdge" ><UnifiedDim scale="1.0" type="BottomEdge" /></Dim>
3375            </Area>
3376        </NamedArea>
3377        <Child  type="WindowsLook/SliderThumb" nameSuffix="__auto_thumb__">
3378            <Area>
3379                <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
3380                <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
3381                <Dim type="Width" ><ImageDim imageset="WindowsLook" image="SliderThumbNormal" dimension="Width" /></Dim>
3382                <Dim type="Height" ><ImageDim imageset="WindowsLook" image="SliderThumbNormal" dimension="Height" /></Dim>
3383            </Area>
3384            <VertAlignment type="CentreAligned" />
3385        </Child>
3386        <ImagerySection name="track">
3387            <FrameComponent>
3388                <Area>
3389                    <Dim type="LeftEdge" >
3390                        <ImageDim imageset="WindowsLook" image="SliderThumbNormal" dimension="Width">
3391                            <DimOperator op="Multiply">
3392                                <AbsoluteDim value="0.5" />
3393                            </DimOperator>
3394                        </ImageDim>
3395                    </Dim>
3396                    <Dim type="TopEdge" >
3397                        <UnifiedDim scale="0.5" type="TopEdge">
3398                            <DimOperator op="Subtract">
3399                                <ImageDim imageset="WindowsLook" image="SlidertrackMiddle" dimension="Height">
3400                                    <DimOperator op="Multiply">
3401                                        <AbsoluteDim value="0.5" />
3402                                    </DimOperator>
3403                                </ImageDim>
3404                            </DimOperator>
3405                        </UnifiedDim>
3406                    </Dim>
3407                    <Dim type="RightEdge" >
3408                        <UnifiedDim scale="1.0" type="RightEdge">
3409                            <DimOperator op="Subtract">
3410                                <ImageDim imageset="WindowsLook" image="SliderThumbNormal" dimension="Width">
3411                                    <DimOperator op="Multiply">
3412                                        <AbsoluteDim value="0.5" />
3413                                    </DimOperator>
3414                                </ImageDim>
3415                            </DimOperator>
3416                        </UnifiedDim>
3417                    </Dim>
3418                    <Dim type="Height" ><ImageDim imageset="WindowsLook" image="SlidertrackMiddle" dimension="Height" /></Dim>
3419                </Area>
3420                <Image type="LeftEdge" imageset="WindowsLook" image="SliderTrackLeft" />
3421                <Image type="RightEdge" imageset="WindowsLook" image="SliderTrackRight" />
3422                <Image type="Background" imageset="WindowsLook" image="SlidertrackMiddle" />
3423                <VertFormat type="Stretched" />
3424                <HorzFormat type="Stretched" />
3425            </FrameComponent>
3426        </ImagerySection>
3427        <StateImagery name="Enabled">
3428            <Layer>
3429                <Section section="track" />
3430            </Layer>
3431        </StateImagery>
3432        <StateImagery name="Disabled">
3433            <Layer>
3434                <Section section="track" />
3435            </Layer>
3436        </StateImagery>
3437    </WidgetLook>
3438
3439
3440    <!--
3441    ***************************************************
3442        WindowsLook/Spinner
3443    ***************************************************
3444    -->
3445    <WidgetLook name="WindowsLook/Spinner">
3446        <Child  type="WindowsLook/Editbox" nameSuffix="__auto_editbox__">
3447            <Area>
3448                <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
3449                <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
3450                <Dim type="RightEdge" >
3451                    <UnifiedDim scale="1" type="RightEdge">
3452                        <DimOperator op="Subtract">
3453                            <UnifiedDim scale="0.5" type="Height" />
3454                        </DimOperator>
3455                    </UnifiedDim>
3456                </Dim>
3457                <Dim type="Height" ><UnifiedDim scale="1" type="Height" /></Dim>
3458            </Area>
3459        </Child>
3460        <Child  type="WindowsLook/IconButton" nameSuffix="__auto_incbtn__">
3461            <Area>
3462                <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
3463                <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
3464                <Dim type="Width" ><UnifiedDim scale="0.5" type="Height" /></Dim>
3465                <Dim type="Height" ><UnifiedDim scale="0.5" type="Height" /></Dim>
3466            </Area>
3467            <HorzAlignment type="RightAligned" />
3468            <Property name="IconImage" value="set:WindowsLook image:LargeUpArrow" />
3469        </Child>
3470        <Child  type="WindowsLook/IconButton" nameSuffix="__auto_decbtn__">
3471            <Area>
3472                <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
3473                <Dim type="TopEdge" ><UnifiedDim scale="0.5" type="TopEdge" /></Dim>
3474                <Dim type="Width" ><UnifiedDim scale="0.5" type="Height" /></Dim>
3475                <Dim type="Height" ><UnifiedDim scale="0.5" type="Height" /></Dim>
3476            </Area>
3477            <HorzAlignment type="RightAligned" />
3478            <Property name="IconImage" value="set:WindowsLook image:LargeDownArrow" />
3479        </Child>
3480        <StateImagery name="Enabled" />
3481        <StateImagery name="Disabled" />
3482    </WidgetLook>
3483
3484
3485    <!--
3486    ***************************************************
3487        WindowsLook/StaticShared
3488    ***************************************************
3489    -->
3490    <WidgetLook name="WindowsLook/StaticShared">
3491        <ImagerySection name="frame">
3492            <FrameComponent>
3493                <Area>
3494                    <Dim type="LeftEdge">
3495                        <AbsoluteDim value="0" />
3496                    </Dim>
3497                    <Dim type="TopEdge">
3498                        <AbsoluteDim value="0" />
3499                    </Dim>
3500                    <Dim type="RightEdge">
3501                        <UnifiedDim scale="1" type="RightEdge" />
3502                    </Dim>
3503                    <Dim type="BottomEdge">
3504                        <UnifiedDim scale="1" type="BottomEdge" />
3505                    </Dim>
3506                </Area>
3507                <Image type="TopLeftCorner" imageset="WindowsLook" image="StaticFrameTopLeft" />
3508                <Image type="TopRightCorner" imageset="WindowsLook" image="StaticFrameTopRight" />
3509                <Image type="BottomLeftCorner" imageset="WindowsLook" image="StaticFrameBottomLeft" />
3510                <Image type="BottomRightCorner" imageset="WindowsLook" image="StaticFrameBottomRight" />
3511                <Image type="LeftEdge" imageset="WindowsLook" image="StaticFrameLeft" />
3512                <Image type="TopEdge" imageset="WindowsLook" image="StaticFrameTop" />
3513                <Image type="RightEdge" imageset="WindowsLook" image="StaticFrameRight" />
3514                <Image type="BottomEdge" imageset="WindowsLook" image="StaticFrameBottom" />
3515                <ColourRectProperty name="FrameColours" />
3516            </FrameComponent>
3517        </ImagerySection>
3518        <ImagerySection name="background">
3519            <ImageryComponent>
3520                <Area>
3521                    <Dim type="LeftEdge">
3522                        <ImageDim imageset="WindowsLook" image="StaticFrameLeft" dimension="Width" />
3523                    </Dim>
3524                    <Dim type="TopEdge">
3525                        <ImageDim imageset="WindowsLook" image="StaticFrameTop" dimension="Height" />
3526                    </Dim>
3527                    <Dim type="RightEdge">
3528                        <UnifiedDim scale="1" type="RightEdge">
3529                            <DimOperator op="Subtract">
3530                                <ImageDim imageset="WindowsLook" image="StaticFrameRight" dimension="Width" />
3531                            </DimOperator>
3532                        </UnifiedDim>
3533                    </Dim>
3534                    <Dim type="BottomEdge">
3535                        <UnifiedDim scale="1" type="BottomEdge">
3536                            <DimOperator op="Subtract">
3537                                <ImageDim imageset="WindowsLook" image="StaticFrameBottom" dimension="Height" />
3538                            </DimOperator>
3539                        </UnifiedDim>
3540                    </Dim>
3541                </Area>
3542                <Image imageset="WindowsLook" image="Background" />
3543                <VertFormat type="Stretched" />
3544                <HorzFormat type="Stretched" />
3545            </ImageryComponent>
3546        </ImagerySection>
3547        <ImagerySection name="background_noframe">
3548            <ImageryComponent>
3549                <Area>
3550                    <Dim type="LeftEdge"><AbsoluteDim value="0" /></Dim>
3551                    <Dim type="TopEdge"><AbsoluteDim value="0" /></Dim>
3552                    <Dim type="RightEdge"><UnifiedDim scale="1" type="RightEdge" /></Dim>
3553                    <Dim type="BottomEdge"><UnifiedDim scale="1" type="BottomEdge" /></Dim>
3554                </Area>
3555                <Image imageset="WindowsLook" image="Background" />
3556                <VertFormat type="Stretched" />
3557                <HorzFormat type="Stretched" />
3558            </ImageryComponent>
3559        </ImagerySection>
3560    </WidgetLook>
3561
3562
3563        <!--
3564    ***************************************************
3565        WindowsLook/Static
3566    ***************************************************
3567    -->
3568    <WidgetLook name="WindowsLook/Static">
3569                <PropertyDefinition name="FrameColours" initialValue="tl:FFFFFFFF tr:FFFFFFFF bl:FFFFFFFF br:FFFFFFFF" redrawOnWrite="true" />
3570        <PropertyDefinition name="BackgroundColours" initialValue="tl:FFDFDFDF tr:FFDFDFDF bl:FFDFDFDF br:FFDFDFDF" redrawOnWrite="true" />
3571        <PropertyDefinition name="TextPadding" initialValue="0" redrawOnWrite="true" />
3572        <PropertyDefinition name="HorzFormatting" initialValue="LeftAligned" redrawOnWrite="true" />
3573        <PropertyDefinition name="VertFormatting" initialValue="CentreAligned" redrawOnWrite="true" />
3574        <Property name="BackgroundEnabled" value="True" />
3575        <Property name="FrameEnabled" value="True" />
3576        <ImagerySection name="label">
3577            <TextComponent>
3578                <Area>
3579                    <Dim type="LeftEdge">
3580                        <PropertyDim name="TextPadding" />
3581                    </Dim>
3582                    <Dim type="TopEdge">
3583                        <PropertyDim name="TextPadding" />
3584                    </Dim>
3585                    <Dim type="RightEdge">
3586                        <UnifiedDim scale="1" type="RightEdge">
3587                                                        <DimOperator op="Subtract">
3588                                                                <PropertyDim name="TextPadding" />
3589                                                        </DimOperator>
3590                        </UnifiedDim>
3591                    </Dim>
3592                    <Dim type="BottomEdge">
3593                        <UnifiedDim scale="1" type="BottomEdge">
3594                                                        <DimOperator op="Subtract">
3595                                                                <PropertyDim name="TextPadding" />
3596                                                        </DimOperator>
3597                        </UnifiedDim>
3598                    </Dim>
3599                </Area>
3600                <Colours topLeft="FF000000" topRight="FF000000" bottomLeft="FF000000" bottomRight="FF000000" />
3601                <VertFormatProperty name="VertFormatting" />
3602                <HorzFormatProperty name="HorzFormatting" />
3603            </TextComponent>
3604        </ImagerySection>
3605        <StateImagery name="Enabled">
3606            <Layer>
3607                <Section section="label" />
3608            </Layer>
3609        </StateImagery>
3610        <StateImagery name="Disabled">
3611            <Layer>
3612                <Section section="label" />
3613            </Layer>
3614        </StateImagery>
3615        <StateImagery name="EnabledFrame">
3616            <Layer>
3617                <Section look="WindowsLook/StaticShared" section="frame" />
3618            </Layer>
3619        </StateImagery>
3620        <StateImagery name="DisabledFrame">
3621            <Layer>
3622                <Section look="WindowsLook/StaticShared" section="frame" />
3623            </Layer>
3624        </StateImagery>
3625        <StateImagery name="WithFrameEnabledBackground">
3626            <Layer>
3627                <Section look="WindowsLook/StaticShared" section="background">
3628                                        <ColourRectProperty name="BackgroundColours" />
3629                </Section>
3630            </Layer>
3631        </StateImagery>
3632        <StateImagery name="WithFrameDisabledBackground">
3633            <Layer>
3634                <Section look="WindowsLook/StaticShared" section="background">
3635                                        <ColourRectProperty name="BackgroundColours" />
3636                </Section>
3637            </Layer>
3638        </StateImagery>
3639        <StateImagery name="NoFrameEnabledBackground">
3640            <Layer>
3641                <Section look="WindowsLook/StaticShared" section="background_noframe">
3642                                        <ColourRectProperty name="BackgroundColours" />
3643                </Section>
3644            </Layer>
3645        </StateImagery>
3646        <StateImagery name="NoFrameDisabledBackground">
3647            <Layer>
3648                <Section look="WindowsLook/StaticShared" section="background_noframe">
3649                                        <ColourRectProperty name="BackgroundColours" />
3650                </Section>
3651            </Layer>
3652        </StateImagery>
3653    </WidgetLook>
3654
3655
3656    <!--
3657    ***************************************************
3658        WindowsLook/StaticImage
3659    ***************************************************
3660    -->
3661    <WidgetLook name="WindowsLook/StaticImage">
3662                <PropertyDefinition name="ImageColours" initialValue="tl:FFFFFFFF tr:FFFFFFFF bl:FFFFFFFF br:FFFFFFFF" redrawOnWrite="true" />
3663                <PropertyDefinition name="FrameColours" initialValue="tl:FFFFFFFF tr:FFFFFFFF bl:FFFFFFFF br:FFFFFFFF" redrawOnWrite="true" />
3664        <PropertyDefinition name="BackgroundColours" initialValue="tl:FFDFDFDF tr:FFDFDFDF bl:FFDFDFDF br:FFDFDFDF" redrawOnWrite="true" />
3665        <PropertyDefinition name="VertFormatting" initialValue="Stretched" redrawOnWrite="true" />
3666        <PropertyDefinition name="HorzFormatting" initialValue="Stretched" redrawOnWrite="true" />
3667        <Property name="BackgroundEnabled" value="True" />
3668        <Property name="FrameEnabled" value="True" />
3669        <ImagerySection name="image_withframe">
3670            <ImageryComponent>
3671                <Area>
3672                    <Dim type="LeftEdge" >
3673                        <ImageDim imageset="WindowsLook" image="StaticFrameLeft" dimension="Width" />
3674                    </Dim>
3675                    <Dim type="TopEdge" >
3676                        <ImageDim imageset="WindowsLook" image="StaticFrameTop" dimension="Height" />
3677                    </Dim>
3678                    <Dim type="RightEdge" >
3679                        <UnifiedDim scale="1.0" type="RightEdge">
3680                            <DimOperator op="Subtract">
3681                                <ImageDim imageset="WindowsLook" image="StaticFrameRight" dimension="Width" />
3682                            </DimOperator>
3683                        </UnifiedDim>
3684                    </Dim>
3685                    <Dim type="BottomEdge" >
3686                        <UnifiedDim scale="1.0" type="BottomEdge">
3687                            <DimOperator op="Subtract">
3688                                <ImageDim imageset="WindowsLook" image="StaticFrameBottom" dimension="Height" />
3689                            </DimOperator>
3690                        </UnifiedDim>
3691                    </Dim>
3692                </Area>
3693                <ImageProperty name="Image" />
3694                <ColourRectProperty name="ImageColours" />
3695                <VertFormatProperty name="VertFormatting" />
3696                <HorzFormatProperty name="HorzFormatting" />
3697            </ImageryComponent>
3698        </ImagerySection>
3699        <ImagerySection name="image_noframe">
3700            <ImageryComponent>
3701                <Area>
3702                    <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
3703                    <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
3704                    <Dim type="RightEdge" ><UnifiedDim scale="1.0" type="RightEdge" /></Dim>
3705                    <Dim type="BottomEdge" ><UnifiedDim scale="1.0" type="BottomEdge" /></Dim>
3706                </Area>
3707                <ImageProperty name="Image" />
3708                <ColourRectProperty name="ImageColours" />
3709                <VertFormatProperty name="VertFormatting" />
3710                <HorzFormatProperty name="HorzFormatting" />
3711            </ImageryComponent>
3712        </ImagerySection>
3713        <StateImagery name="Enabled" />
3714        <StateImagery name="Disabled" />
3715        <StateImagery name="EnabledFrame">
3716            <Layer>
3717                <Section look="WindowsLook/StaticShared" section="frame" />
3718            </Layer>
3719        </StateImagery>
3720        <StateImagery name="DisabledFrame">
3721            <Layer>
3722                <Section look="WindowsLook/StaticShared" section="frame" />
3723            </Layer>
3724        </StateImagery>
3725        <StateImagery name="WithFrameEnabledBackground">
3726            <Layer>
3727                <Section look="WindowsLook/StaticShared" section="background">
3728                                        <ColourRectProperty name="BackgroundColours" />
3729                </Section>
3730            </Layer>
3731        </StateImagery>
3732        <StateImagery name="WithFrameDisabledBackground">
3733            <Layer>
3734                <Section look="WindowsLook/StaticShared" section="background">
3735                                        <ColourRectProperty name="BackgroundColours" />
3736                </Section>
3737            </Layer>
3738        </StateImagery>
3739        <StateImagery name="NoFrameEnabledBackground">
3740            <Layer>
3741                <Section look="WindowsLook/StaticShared" section="background_noframe">
3742                                        <ColourRectProperty name="BackgroundColours" />
3743                </Section>
3744            </Layer>
3745        </StateImagery>
3746        <StateImagery name="NoFrameDisabledBackground">
3747            <Layer>
3748                <Section look="WindowsLook/StaticShared" section="background_noframe">
3749                    <ColourRectProperty name="BackgroundColours" />
3750                </Section>
3751            </Layer>
3752        </StateImagery>
3753        <StateImagery name="WithFrameImage">
3754            <Layer>
3755                <Section section="image_withframe" />
3756            </Layer>
3757        </StateImagery>
3758        <StateImagery name="NoFrameImage">
3759            <Layer>
3760                <Section section="image_noframe" />
3761            </Layer>
3762        </StateImagery>
3763    </WidgetLook>
3764
3765
3766    <!--
3767    ***************************************************
3768        WindowsLook/StaticText
3769    ***************************************************
3770    -->
3771    <WidgetLook name="WindowsLook/StaticText">
3772        <PropertyDefinition name="FrameColours" initialValue="tl:FFFFFFFF tr:FFFFFFFF bl:FFFFFFFF br:FFFFFFFF" redrawOnWrite="true" />
3773        <PropertyDefinition name="BackgroundColours" initialValue="tl:FFDFDFDF tr:FFDFDFDF bl:FFDFDFDF br:FFDFDFDF" redrawOnWrite="true" />
3774        <Property name="BackgroundEnabled" value="True" />
3775        <Property name="FrameEnabled" value="True" />
3776        <Property name="TextColours" value="tl:FF000000 tr:FF000000 bl:FF000000 br:FF000000" />
3777        <NamedArea name="WithFrameTextRenderArea">
3778            <Area>
3779                <Dim type="LeftEdge" >
3780                    <ImageDim imageset="WindowsLook" image="StaticFrameLeft" dimension="Width" />
3781                </Dim>
3782                <Dim type="TopEdge" >
3783                    <ImageDim imageset="WindowsLook" image="StaticFrameTop" dimension="Height" />
3784                </Dim>
3785                <Dim type="RightEdge" >
3786                    <UnifiedDim scale="1.0" type="RightEdge">
3787                        <DimOperator op="Subtract">
3788                            <ImageDim imageset="WindowsLook" image="StaticFrameRight" dimension="Width" />
3789                        </DimOperator>
3790                    </UnifiedDim>
3791                </Dim>
3792                <Dim type="BottomEdge" >
3793                    <UnifiedDim scale="1.0" type="BottomEdge">
3794                        <DimOperator op="Subtract">
3795                            <ImageDim imageset="WindowsLook" image="StaticFrameBottom" dimension="Height" />
3796                        </DimOperator>
3797                    </UnifiedDim>
3798                </Dim>
3799            </Area>
3800        </NamedArea>
3801        <NamedArea name="WithFrameTextRenderAreaHScroll">
3802            <Area>
3803                <Dim type="LeftEdge" >
3804                    <ImageDim imageset="WindowsLook" image="StaticFrameLeft" dimension="Width" />
3805                </Dim>
3806                <Dim type="TopEdge" >
3807                    <ImageDim imageset="WindowsLook" image="StaticFrameTop" dimension="Height" />
3808                </Dim>
3809                <Dim type="RightEdge" >
3810                    <UnifiedDim scale="1.0" type="RightEdge">
3811                        <DimOperator op="Subtract">
3812                            <ImageDim imageset="WindowsLook" image="StaticFrameRight" dimension="Width" />
3813                        </DimOperator>
3814                    </UnifiedDim>
3815                </Dim>
3816                <Dim type="BottomEdge" >
3817                    <UnifiedDim scale="1.0" offset="-16" type="BottomEdge" />
3818                </Dim>
3819            </Area>
3820        </NamedArea>
3821        <NamedArea name="WithFrameTextRenderAreaVScroll">
3822            <Area>
3823                <Dim type="LeftEdge" >
3824                    <ImageDim imageset="WindowsLook" image="StaticFrameLeft" dimension="Width" />
3825                </Dim>
3826                <Dim type="TopEdge" >
3827                    <ImageDim imageset="WindowsLook" image="StaticFrameTop" dimension="Height" />
3828                </Dim>
3829                <Dim type="RightEdge" >
3830                    <UnifiedDim scale="1.0" offset="-16" type="RightEdge" />
3831                </Dim>
3832                <Dim type="BottomEdge" >
3833                    <UnifiedDim scale="1.0" type="BottomEdge">
3834                        <DimOperator op="Subtract">
3835                            <ImageDim imageset="WindowsLook" image="StaticFrameBottom" dimension="Height" />
3836                        </DimOperator>
3837                    </UnifiedDim>
3838                </Dim>
3839            </Area>
3840        </NamedArea>
3841        <NamedArea name="WithFrameTextRenderAreaHVScroll">
3842            <Area>
3843                <Dim type="LeftEdge" >
3844                    <ImageDim imageset="WindowsLook" image="StaticFrameLeft" dimension="Width" />
3845                </Dim>
3846                <Dim type="TopEdge" >
3847                    <ImageDim imageset="WindowsLook" image="StaticFrameTop" dimension="Height" />
3848                </Dim>
3849                <Dim type="RightEdge" >
3850                    <UnifiedDim scale="1.0" offset="-16" type="RightEdge" />
3851                </Dim>
3852                <Dim type="BottomEdge" >
3853                    <UnifiedDim scale="1.0" offset="-16" type="BottomEdge" />
3854                </Dim>
3855            </Area>
3856        </NamedArea>
3857        <NamedArea name="NoFrameTextRenderArea">
3858            <Area>
3859                <Dim type="LeftEdge" >
3860                    <AbsoluteDim value="0" />
3861                </Dim>
3862                <Dim type="TopEdge" >
3863                    <AbsoluteDim value="0" />
3864                </Dim>
3865                <Dim type="RightEdge" >
3866                                        <UnifiedDim scale="1.0" type="RightEdge" />
3867                </Dim>
3868                <Dim type="BottomEdge" >
3869                    <UnifiedDim scale="1.0" type="BottomEdge" />
3870                </Dim>
3871            </Area>
3872        </NamedArea>
3873        <NamedArea name="NoFrameTextRenderAreaHScroll">
3874            <Area>
3875                <Dim type="LeftEdge" >
3876                    <AbsoluteDim value="0" />
3877                </Dim>
3878                <Dim type="TopEdge" >
3879                    <AbsoluteDim value="0" />
3880                </Dim>
3881                <Dim type="RightEdge" >
3882                    <UnifiedDim scale="1.0" type="RightEdge" />
3883                </Dim>
3884                <Dim type="BottomEdge" >
3885                    <UnifiedDim scale="1.0" offset="-16" type="BottomEdge" />
3886                </Dim>
3887            </Area>
3888        </NamedArea>
3889        <NamedArea name="NoFrameTextRenderAreaVScroll">
3890            <Area>
3891                <Dim type="LeftEdge" >
3892                    <AbsoluteDim value="0" />
3893                </Dim>
3894                <Dim type="TopEdge" >
3895                    <AbsoluteDim value="0" />
3896                </Dim>
3897                <Dim type="RightEdge" >
3898                    <UnifiedDim scale="1.0" offset="-16" type="RightEdge" />
3899                </Dim>
3900                <Dim type="BottomEdge" >
3901                    <UnifiedDim scale="1.0" type="BottomEdge" />
3902                </Dim>
3903            </Area>
3904        </NamedArea>
3905        <NamedArea name="NoFrameTextRenderAreaHVScroll">
3906            <Area>
3907                <Dim type="LeftEdge" >
3908                    <AbsoluteDim value="0" />
3909                </Dim>
3910                <Dim type="TopEdge" >
3911                    <AbsoluteDim value="0" />
3912                </Dim>
3913                <Dim type="RightEdge" >
3914                    <UnifiedDim scale="1.0" offset="-16" type="RightEdge" />
3915                </Dim>
3916                <Dim type="BottomEdge" >
3917                    <UnifiedDim scale="1.0" offset="-16" type="BottomEdge" />
3918                </Dim>
3919            </Area>
3920        </NamedArea>
3921        <Child type="WindowsLook/HorizontalScrollbar" nameSuffix="__auto_hscrollbar__">
3922            <Area>
3923                <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
3924                <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
3925                <Dim type="Width" ><UnifiedDim scale="1" offset="-16" type="Width" /></Dim>
3926                <Dim type="Height" ><AbsoluteDim value="16" /></Dim>
3927            </Area>
3928            <VertAlignment type="BottomAligned" />
3929        </Child>
3930        <Child type="WindowsLook/VerticalScrollbar" nameSuffix="__auto_vscrollbar__">
3931            <Area>
3932                <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
3933                <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
3934                <Dim type="Width" ><AbsoluteDim value="16" /></Dim>
3935                <Dim type="Height" ><UnifiedDim scale="1" offset="-16" type="Height" /></Dim>
3936            </Area>
3937            <HorzAlignment type="RightAligned" />
3938        </Child>
3939        <StateImagery name="Enabled" />
3940        <StateImagery name="Disabled" />
3941        <StateImagery name="EnabledFrame">
3942            <Layer>
3943                <Section look="WindowsLook/StaticShared" section="frame" />
3944            </Layer>
3945        </StateImagery>
3946        <StateImagery name="DisabledFrame">
3947            <Layer>
3948                <Section look="WindowsLook/StaticShared" section="frame" />
3949            </Layer>
3950        </StateImagery>
3951        <StateImagery name="WithFrameEnabledBackground">
3952            <Layer>
3953                <Section look="WindowsLook/StaticShared" section="background">
3954                                        <ColourRectProperty name="BackgroundColours" />
3955                </Section>
3956            </Layer>
3957        </StateImagery>
3958        <StateImagery name="WithFrameDisabledBackground">
3959            <Layer>
3960                <Section look="WindowsLook/StaticShared" section="background">
3961                                        <ColourRectProperty name="BackgroundColours" />
3962                </Section>
3963            </Layer>
3964        </StateImagery>
3965        <StateImagery name="NoFrameEnabledBackground">
3966            <Layer>
3967                <Section look="WindowsLook/StaticShared" section="background_noframe">
3968                                        <ColourRectProperty name="BackgroundColours" />
3969                </Section>
3970            </Layer>
3971        </StateImagery>
3972        <StateImagery name="NoFrameDisabledBackground">
3973            <Layer>
3974                <Section look="WindowsLook/StaticShared" section="background_noframe">
3975                                        <ColourRectProperty name="BackgroundColours" />
3976                </Section>
3977            </Layer>
3978        </StateImagery>
3979    </WidgetLook>
3980
3981
3982    <!--
3983    ***************************************************
3984        WindowsLook/TabButton
3985    ***************************************************
3986    -->
3987    <WidgetLook name="WindowsLook/TabButton">
3988        <PropertyDefinition name="NormalTextColour" initialValue="FF000000" redrawOnWrite="true" />
3989        <PropertyDefinition name="HoverTextColour" initialValue="FF000000" redrawOnWrite="true" />
3990        <PropertyDefinition name="PushedTextColour" initialValue="FF000000" redrawOnWrite="true" />
3991        <PropertyDefinition name="SelectedTextColour" initialValue="FF000010" redrawOnWrite="true" />
3992        <PropertyDefinition name="DisabledTextColour" initialValue="FF888888" redrawOnWrite="true" />
3993        <ImagerySection name="label">
3994            <TextComponent>
3995                <Area>
3996                    <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
3997                    <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
3998                    <Dim type="Width" ><UnifiedDim scale="1" type="Width" /></Dim>
3999                    <Dim type="Height" ><UnifiedDim scale="1" type="Height" /></Dim>
4000                </Area>
4001                <VertFormat type="CentreAligned" />
4002                <HorzFormat type="CentreAligned" />
4003            </TextComponent>
4004        </ImagerySection>
4005        <ImagerySection name="normal">
4006            <FrameComponent>
4007                <Area>
4008                    <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
4009                    <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
4010                    <Dim type="Width" ><UnifiedDim scale="1" type="Width" /></Dim>
4011                    <Dim type="Height" ><UnifiedDim scale="1" type="Height" /></Dim>
4012                </Area>
4013                <Image type="TopLeftCorner" imageset="WindowsLook" image="TabButtonUpperLeftNormal" />
4014                <Image type="TopRightCorner" imageset="WindowsLook" image="TabButtonUpperRightNormal" />
4015                <Image type="BottomLeftCorner" imageset="WindowsLook" image="TabButtonLowerLeftNormal" />
4016                <Image type="BottomRightCorner" imageset="WindowsLook" image="TabButtonLowerRightNormal" />
4017                <Image type="LeftEdge" imageset="WindowsLook" image="TabButtonLeftNormal" />
4018                <Image type="RightEdge" imageset="WindowsLook" image="TabButtonRightNormal" />
4019                <Image type="TopEdge" imageset="WindowsLook" image="TabButtonUpperNormal" />
4020                <Image type="BottomEdge" imageset="WindowsLook" image="TabButtonLowerNormal" />
4021                <Image type="Background" imageset="WindowsLook" image="TabButtonMiddleNormal" />
4022            </FrameComponent>
4023        </ImagerySection>
4024        <ImagerySection name="top_selected">
4025            <FrameComponent>
4026                <Area>
4027                    <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
4028                    <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
4029                    <Dim type="Width" ><UnifiedDim scale="1" type="Width" /></Dim>
4030                    <Dim type="Height" ><UnifiedDim scale="1" type="Height" /></Dim>
4031                </Area>
4032                <Image type="TopLeftCorner" imageset="WindowsLook" image="TabButtonUpperLeftSelected" />
4033                <Image type="TopEdge" imageset="WindowsLook" image="TabButtonUpperSelected" />
4034                <Image type="TopRightCorner" imageset="WindowsLook" image="TabButtonUpperRightSelected" />
4035                <Image type="LeftEdge" imageset="WindowsLook" image="TabButtonLeftSelected" />
4036                <Image type="Background" imageset="WindowsLook" image="TabButtonMiddleSelected" />
4037                <Image type="RightEdge" imageset="WindowsLook" image="TabButtonRightSelected" />
4038            </FrameComponent>
4039        </ImagerySection>
4040        <ImagerySection name="bot_selected">
4041            <FrameComponent>
4042                <Area>
4043                    <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
4044                    <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
4045                    <Dim type="Width" ><UnifiedDim scale="1" type="Width" /></Dim>
4046                    <Dim type="Height" ><UnifiedDim scale="1" type="Height" /></Dim>
4047                </Area>
4048                <Image type="LeftEdge" imageset="WindowsLook" image="TabButtonLeftSelected" />
4049                <Image type="Background" imageset="WindowsLook" image="TabButtonMiddleSelected" />
4050                <Image type="RightEdge" imageset="WindowsLook" image="TabButtonRightSelected" />
4051                <Image type="BottomLeftCorner" imageset="WindowsLook" image="TabButtonLowerLeftSelected" />
4052                <Image type="BottomEdge" imageset="WindowsLook" image="TabButtonLowerSelected" />
4053                <Image type="BottomRightCorner" imageset="WindowsLook" image="TabButtonLowerRightSelected" />
4054            </FrameComponent>
4055        </ImagerySection>
4056        <StateImagery name="Normal">
4057            <Layer>
4058                <Section section="normal" />
4059                <Section section="label">
4060                    <ColourProperty name="NormalTextColour" />
4061                </Section>
4062            </Layer>
4063        </StateImagery>
4064        <StateImagery name="Hover">
4065            <Layer>
4066                <Section section="selected" />
4067                <Section section="label">
4068                    <ColourProperty name="HoverTextColour" />
4069                </Section>
4070            </Layer>
4071        </StateImagery>
4072        <StateImagery name="TopSelected">
4073            <Layer>
4074                <Section section="top_selected" />
4075                <Section section="label">
4076                    <ColourProperty name="SelectedTextColour" />
4077                </Section>
4078            </Layer>
4079        </StateImagery>
4080        <StateImagery name="BottomSelected">
4081            <Layer>
4082                <Section section="bot_selected" />
4083                <Section section="label">
4084                    <ColourProperty name="SelectedTextColour" />
4085                </Section>
4086            </Layer>
4087        </StateImagery>
4088        <StateImagery name="Disabled">
4089            <Layer>
4090                <Section section="normal" />
4091                <Section section="label">
4092                    <ColourProperty name="DisabledTextColour" />
4093                </Section>
4094            </Layer>
4095        </StateImagery>
4096    </WidgetLook>
4097
4098
4099    <!--
4100    ***************************************************
4101        WindowsLook/TabContentPane
4102    ***************************************************
4103    -->
4104    <WidgetLook name="WindowsLook/TabContentPane">
4105        <PropertyDefinition name="EnableTop" initialValue="0" redrawOnWrite="true" layoutOnWrite="true" />
4106        <PropertyDefinition name="EnableBottom" initialValue="0" redrawOnWrite="true" layoutOnWrite="true" />
4107        <ImagerySection name="normal">
4108            <FrameComponent>
4109                <Area>
4110                    <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
4111                    <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
4112                    <Dim type="Width" ><UnifiedDim scale="1" type="Width" /></Dim>
4113                    <Dim type="BottomEdge" >
4114                        <ImageDim imageset="WindowsLook" image="TabContentPaneUpperLeft" dimension="Height">
4115                            <DimOperator op="Multiply">
4116                                <PropertyDim name="EnableTop" />
4117                            </DimOperator>
4118                        </ImageDim>
4119                    </Dim>
4120                </Area>
4121                <Image type="TopLeftCorner" imageset="WindowsLook" image="TabContentPaneUpperLeft" />
4122                <Image type="TopEdge" imageset="WindowsLook" image="TabContentPaneTop" />
4123                <Image type="TopRightCorner" imageset="WindowsLook" image="TabContentPaneUpperRight" />
4124            </FrameComponent>
4125            <FrameComponent>
4126                <Area>
4127                    <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
4128                    <Dim type="TopEdge" >
4129                        <ImageDim imageset="WindowsLook" image="TabContentPaneUpperLeft" dimension="Height">
4130                            <DimOperator op="Multiply">
4131                                <PropertyDim name="EnableTop" />
4132                            </DimOperator>
4133                        </ImageDim>
4134                    </Dim>
4135                    <Dim type="Width" ><UnifiedDim scale="1" type="Width" /></Dim>
4136                    <Dim type="BottomEdge" >
4137                        <UnifiedDim scale="1" type="Height">
4138                            <DimOperator op="Subtract">
4139                                <ImageDim imageset="WindowsLook" image="TabContentPaneLowerLeft" dimension="Height">
4140                                    <DimOperator op="Multiply">
4141                                        <PropertyDim name="EnableBottom" />
4142                                    </DimOperator>
4143                                </ImageDim>
4144                            </DimOperator>
4145                        </UnifiedDim>
4146                    </Dim>
4147                </Area>
4148                <Image type="LeftEdge" imageset="WindowsLook" image="TabContentPaneLeft" />
4149                <Image type="Background" imageset="WindowsLook" image="TabContentPaneMiddle" />
4150                <Image type="RightEdge" imageset="WindowsLook" image="TabContentPaneRight" />
4151            </FrameComponent>
4152            <FrameComponent>
4153                <Area>
4154                    <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
4155                    <Dim type="TopEdge" >
4156                        <UnifiedDim scale="1" type="Height">
4157                            <DimOperator op="Subtract">
4158                                <ImageDim imageset="WindowsLook" image="TabContentPaneLowerLeft" dimension="Height">
4159                                    <DimOperator op="Multiply">
4160                                        <PropertyDim name="EnableBottom" />
4161                                    </DimOperator>
4162                                </ImageDim>
4163                            </DimOperator>
4164                        </UnifiedDim>
4165                    </Dim>
4166                    <Dim type="Width" ><UnifiedDim scale="1" type="Width" /></Dim>
4167                    <Dim type="BottomEdge" ><UnifiedDim scale="1" type="Height" /></Dim>
4168                </Area>
4169                <Image type="BottomLeftCorner" imageset="WindowsLook" image="TabContentPaneLowerLeft" />
4170                <Image type="BottomEdge" imageset="WindowsLook" image="TabContentPaneLower" />
4171                <Image type="BottomRightCorner" imageset="WindowsLook" image="TabContentPaneLowerRight" />
4172            </FrameComponent>
4173        </ImagerySection>
4174        <StateImagery name="Enabled">
4175            <Layer>
4176                <Section section="normal" />
4177            </Layer>
4178        </StateImagery>
4179        <StateImagery name="Disabled">
4180            <Layer>
4181                <Section section="normal">
4182                    <Colours topLeft="FF7F7F7F" topRight="FF7F7F7F" bottomLeft="FF7F7F7F" bottomRight="FF7F7F7F" />
4183                </Section>
4184            </Layer>
4185        </StateImagery>
4186    </WidgetLook>
4187
4188
4189    <!--
4190    ***************************************************
4191        WindowsLook/TabButtonPane
4192    ***************************************************
4193    -->
4194    <WidgetLook name="WindowsLook/TabButtonPane">
4195        <PropertyDefinition name="EnableTop" initialValue="1" redrawOnWrite="true" layoutOnWrite="true" />
4196        <PropertyDefinition name="EnableBottom" initialValue="1" redrawOnWrite="true" layoutOnWrite="true" />
4197        <ImagerySection name="normal">
4198            <FrameComponent>
4199                <Area>
4200                    <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
4201                    <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
4202                    <Dim type="Width" ><UnifiedDim scale="1" type="Width" /></Dim>
4203                    <Dim type="BottomEdge" >
4204                        <ImageDim imageset="WindowsLook" image="TabHorizontalTopFiller" dimension="Height">
4205                            <DimOperator op="Multiply">
4206                                <PropertyDim name="EnableTop" />
4207                            </DimOperator>
4208                        </ImageDim>
4209                    </Dim>
4210                </Area>
4211                <Image type="TopEdge" imageset="WindowsLook" image="TabHorizontalTopFiller" />
4212            </FrameComponent>
4213            <FrameComponent>
4214                <Area>
4215                    <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
4216                    <Dim type="TopEdge" >
4217                        <ImageDim imageset="WindowsLook" image="TabHorizontalTopFiller" dimension="Height">
4218                            <DimOperator op="Multiply">
4219                                <PropertyDim name="EnableTop" />
4220                            </DimOperator>
4221                        </ImageDim>
4222                    </Dim>
4223                    <Dim type="Width" ><UnifiedDim scale="1" type="Width" /></Dim>
4224                    <Dim type="BottomEdge" >
4225                        <UnifiedDim scale="1" type="Height">
4226                            <DimOperator op="Subtract">
4227                                <ImageDim imageset="WindowsLook" image="TabHorizontalBottomFiller" dimension="Height">
4228                                    <DimOperator op="Multiply">
4229                                        <PropertyDim name="EnableBottom" />
4230                                    </DimOperator>
4231                                </ImageDim>
4232                            </DimOperator>
4233                        </UnifiedDim>
4234                    </Dim>
4235                </Area>
4236            </FrameComponent>
4237            <FrameComponent>
4238                <Area>
4239                    <Dim type="LeftEdge" ><AbsoluteDim value="0" /></Dim>
4240                    <Dim type="TopEdge" >
4241                        <UnifiedDim scale="1" type="Height">
4242                            <DimOperator op="Subtract">
4243                                <ImageDim imageset="WindowsLook" image="TabHorizontalBottomFiller" dimension="Height">
4244                                    <DimOperator op="Multiply">
4245                                        <PropertyDim name="EnableBottom" />
4246                                    </DimOperator>
4247                                </ImageDim>
4248                            </DimOperator>
4249                        </UnifiedDim>
4250                    </Dim>
4251                    <Dim type="Width" ><UnifiedDim scale="1" type="Width" /></Dim>
4252                    <Dim type="BottomEdge" ><UnifiedDim scale="1" type="Height" /></Dim>
4253                </Area>
4254                <Image type="BottomEdge" imageset="WindowsLook" image="TabHorizontalBottomFiller" />
4255            </FrameComponent>
4256        </ImagerySection>
4257        <StateImagery name="Enabled">
4258            <Layer>
4259                <Section section="normal" />
4260            </Layer>
4261        </StateImagery>
4262        <StateImagery name="Disabled">
4263            <Layer>
4264                <Section section="normal">
4265                    <Colours topLeft="FF7F7F7F" topRight="FF7F7F7F" bottomLeft="FF7F7F7F" bottomRight="FF7F7F7F" />
4266                </Section>
4267            </Layer>
4268        </StateImagery>
4269    </WidgetLook>
4270
4271
4272    <!--
4273    ***************************************************
4274        WindowsLook/TabControl
4275    ***************************************************
4276    -->
4277    <WidgetLook name="WindowsLook/TabControl">
4278        <Property name="TabButtonType" value="WindowsLook/TabButton" />
4279        <Property name="TabTextPadding" value="{0,4}" />
4280        <Child  type="WindowsLook/TabContentPane" nameSuffix="__auto_TabPane__">
4281            <Area>
4282                <Dim type="LeftEdge"><AbsoluteDim value="0" /></Dim>
4283                <Dim type="RightEdge"><UnifiedDim scale="1" type="Width" /></Dim>
4284                <Dim type="TopEdge">
4285                    <PropertyDim widget="__auto_TabPane__" name="EnableBottom">
4286                        <DimOperator op="Multiply">
4287                            <PropertyDim name="TabHeight" type="Height" />
4288                        </DimOperator>
4289                    </PropertyDim>
4290                </Dim>
4291                <Dim type="Height">
4292                    <UnifiedDim scale="1" type="Height">
4293                        <DimOperator op="Subtract">
4294                            <PropertyDim name="TabHeight" type="Height" />
4295                        </DimOperator>
4296                    </UnifiedDim>
4297                </Dim>
4298            </Area>
4299        </Child>
4300        <Child  type="WindowsLook/TabButtonPane" nameSuffix="__auto_TabPane__Buttons">
4301            <Area>
4302                <Dim type="LeftEdge"><AbsoluteDim value="0" /></Dim>
4303                <Dim type="RightEdge"><UnifiedDim scale="1" type="Width" /></Dim>
4304                <Dim type="TopEdge">
4305                    <PropertyDim widget="__auto_TabPane__Buttons" name="EnableTop">
4306                        <DimOperator op="Multiply">
4307                            <UnifiedDim scale="1" type="Height">
4308                                <DimOperator op="Subtract">
4309                                    <PropertyDim name="TabHeight" type="Height" />
4310                                </DimOperator>
4311                            </UnifiedDim>
4312                        </DimOperator>
4313                    </PropertyDim>
4314                </Dim>
4315                <Dim type="Height"><PropertyDim name="TabHeight" type="Height" /></Dim>
4316            </Area>
4317        </Child>
4318        <Child type="WindowsLook/SystemButton" nameSuffix="__auto_TabPane__ScrollLeft">
4319            <Area>
4320                <Dim type="LeftEdge"><AbsoluteDim value="6" /></Dim>
4321                <Dim type="TopEdge">
4322                    <WidgetDim widget="__auto_TabPane__" dimension="TopEdge">
4323                        <DimOperator op="Add">
4324                            <AbsoluteDim value="4">
4325                                <DimOperator op="Add">
4326                                    <PropertyDim widget="__auto_TabPane__Buttons" name="EnableTop">
4327                                        <DimOperator op="Multiply">
4328                                            <WidgetDim widget="__auto_TabPane__" dimension="Height">
4329                                                <DimOperator op="Subtract">
4330                                                    <ImageDim imageset="WindowsLook" image="TabButtonScrollLeftNormal" dimension="Width">
4331                                                        <DimOperator op="Add">
4332                                                            <AbsoluteDim value="6" />
4333                                                        </DimOperator>
4334                                                    </ImageDim>
4335                                                </DimOperator>
4336                                            </WidgetDim>
4337                                        </DimOperator>
4338                                    </PropertyDim>
4339                                </DimOperator>
4340                            </AbsoluteDim>
4341                        </DimOperator>
4342                    </WidgetDim>
4343                </Dim>
4344                <Dim type="Width">
4345                    <ImageDim imageset="WindowsLook" image="TabButtonScrollLeftNormal" dimension="Width" />
4346                </Dim>
4347                <Dim type="Height">
4348                    <ImageDim imageset="WindowsLook" image="TabButtonScrollLeftNormal" dimension="Height" />
4349                </Dim>
4350            </Area>
4351            <Property name="AlwaysOnTop" value="True" />
4352            <Property name="NormalImage" value="set:WindowsLook image:TabButtonScrollLeftNormal" />
4353            <Property name="HoverImage" value="set:WindowsLook image:TabButtonScrollLeftHover" />
4354            <Property name="PushedImage" value="set:WindowsLook image:TabButtonScrollLeftHover" />
4355        </Child>
4356        <Child type="WindowsLook/SystemButton" nameSuffix="__auto_TabPane__ScrollRight">
4357            <Area>
4358                <Dim type="LeftEdge">
4359                    <UnifiedDim scale="1" type="Width">
4360                        <DimOperator op="Subtract">
4361                            <ImageDim imageset="WindowsLook" image="TabButtonScrollLeftNormal" dimension="Width">
4362                                <DimOperator op="Add">
4363                                    <AbsoluteDim value="6" />
4364                                </DimOperator>
4365                            </ImageDim>
4366                        </DimOperator>
4367                    </UnifiedDim>
4368                </Dim>
4369                <Dim type="TopEdge">
4370                    <WidgetDim widget="__auto_TabPane__" dimension="TopEdge">
4371                        <DimOperator op="Add">
4372                            <AbsoluteDim value="4">
4373                                <DimOperator op="Add">
4374                                    <PropertyDim widget="__auto_TabPane__Buttons" name="EnableTop">
4375                                        <DimOperator op="Multiply">
4376                                            <WidgetDim widget="__auto_TabPane__" dimension="Height">
4377                                                <DimOperator op="Subtract">
4378                                                    <ImageDim imageset="WindowsLook" image="TabButtonScrollLeftNormal" dimension="Width">
4379                                                        <DimOperator op="Add">
4380                                                            <AbsoluteDim value="6" />
4381                                                        </DimOperator>
4382                                                    </ImageDim>
4383                                                </DimOperator>
4384                                            </WidgetDim>
4385                                        </DimOperator>
4386                                    </PropertyDim>
4387                                </DimOperator>
4388                            </AbsoluteDim>
4389                        </DimOperator>
4390                    </WidgetDim>
4391                </Dim>
4392                <Dim type="Width">
4393                    <ImageDim imageset="WindowsLook" image="TabButtonScrollLeftNormal" dimension="Width" />
4394                </Dim>
4395                <Dim type="Height">
4396                    <ImageDim imageset="WindowsLook" image="TabButtonScrollLeftNormal" dimension="Height" />
4397                </Dim>
4398            </Area>
4399            <Property name="AlwaysOnTop" value="True" />
4400            <Property name="NormalImage" value="set:WindowsLook image:TabButtonScrollRightNormal" />
4401            <Property name="HoverImage" value="set:WindowsLook image:TabButtonScrollRightHover" />
4402            <Property name="PushedImage" value="set:WindowsLook image:TabButtonScrollRightHover" />
4403        </Child>
4404        <StateImagery name="Enabled" />
4405        <StateImagery name="Disabled" />
4406    </WidgetLook>
4407
4408
4409    <!--
4410    ***************************************************
4411        WindowsLook/Titlebar
4412    ***************************************************
4413    -->
4414    <WidgetLook name="WindowsLook/Titlebar">
4415        <PropertyDefinition name="CaptionColour" initialValue="FF000000" redrawOnWrite="true" />
4416        <ImagerySection name="normal">
4417            <FrameComponent>
4418                <Area>
4419                    <Dim type="LeftEdge">
4420                        <AbsoluteDim value="0" />
4421                    </Dim>
4422                    <Dim type="TopEdge">
4423                        <AbsoluteDim value="0" />
4424                    </Dim>
4425                    <Dim type="RightEdge">
4426                        <UnifiedDim scale="1" type="RightEdge" />
4427                    </Dim>
4428                    <Dim type="BottomEdge">
4429                        <UnifiedDim scale="1" type="BottomEdge" />
4430                    </Dim>
4431                </Area>
4432                <Image type="TopLeftCorner" imageset="WindowsLook" image="TitlebarTopLeft" />
4433                <Image type="TopRightCorner" imageset="WindowsLook" image="TitlebarTopRight" />
4434                <Image type="BottomLeftCorner" imageset="WindowsLook" image="TitlebarBottomLeft" />
4435                <Image type="BottomRightCorner" imageset="WindowsLook" image="TitlebarBottomRight" />
4436                <Image type="LeftEdge" imageset="WindowsLook" image="TitlebarLeft" />
4437                <Image type="TopEdge" imageset="WindowsLook" image="TitlebarTop" />
4438                <Image type="RightEdge" imageset="WindowsLook" image="TitlebarRight" />
4439                <Image type="BottomEdge" imageset="WindowsLook" image="TitlebarBottom" />
4440                <Image type="Background" imageset="WindowsLook" image="TitlebarFill" />
4441            </FrameComponent>
4442        </ImagerySection>
4443        <ImagerySection name="caption">
4444            <TextComponent>
4445                <Area>
4446                    <Dim type="LeftEdge" ><AbsoluteDim value="12" /></Dim>
4447                    <Dim type="TopEdge" ><AbsoluteDim value="0" /></Dim>
4448                    <Dim type="RightEdge" >
4449                        <UnifiedDim scale="1" type="RightEdge">
4450                            <DimOperator op="Subtract">
4451                                <WidgetDim dimension="Height" />
4452                            </DimOperator>
4453                        </UnifiedDim>
4454                    </Dim>
4455                    <Dim type="BottomEdge" ><UnifiedDim scale="1" type="BottomEdge" /></Dim>
4456                </Area>
4457                <ColourProperty name="CaptionColour" />
4458                <VertFormat type="CentreAligned" />
4459            </TextComponent>
4460        </ImagerySection>
4461        <StateImagery name="Active">
4462            <Layer>
4463                <Section section="normal">
4464                    <Colours topLeft="FFA7C7FF" topRight="FFA7C7FF" bottomLeft="FFA7C7FF" bottomRight="FFA7C7FF" />
4465                </Section>
4466                <Section section="caption" />
4467            </Layer>
4468        </StateImagery>
4469        <StateImagery name="Inactive">
4470            <Layer>
4471                <Section section="normal">
4472                    <Colours topLeft="FFEFEFEF" topRight="FFEFEFEF" bottomLeft="FFEFEFEF" bottomRight="FFEFEFEF" />
4473                </Section>
4474                <Section section="caption" />
4475            </Layer>
4476        </StateImagery>
4477        <StateImagery name="Disabled">
4478            <Layer>
4479                <Section section="normal">
4480                    <Colours topLeft="FFEFEFEF" topRight="FFEFEFEF" bottomLeft="FFEFEFEF" bottomRight="FFEFEFEF" />
4481                </Section>
4482                <Section section="caption" />
4483            </Layer>
4484        </StateImagery>
4485    </WidgetLook>
4486
4487
4488    <!--
4489    ***************************************************
4490        WindowsLook/Tooltip
4491    ***************************************************
4492    -->
4493    <WidgetLook name="WindowsLook/Tooltip">
4494        <NamedArea name="TextArea">
4495            <Area>
4496                <Dim type="LeftEdge" >
4497                    <ImageDim imageset="WindowsLook" image="TooltipLeftEdge" dimension="Width" />
4498                </Dim>
4499                <Dim type="TopEdge" >
4500                    <ImageDim imageset="WindowsLook" image="TooltipTopEdge" dimension="Height" />
4501                </Dim>
4502                <Dim type="RightEdge" >
4503                    <UnifiedDim scale="1.0" type="RightEdge">
4504                        <DimOperator op="Subtract">
4505                            <ImageDim imageset="WindowsLook" image="TooltipRightEdge" dimension="Width" />
4506                        </DimOperator>
4507                    </UnifiedDim>
4508                </Dim>
4509                <Dim type="BottomEdge" >
4510                    <UnifiedDim scale="1.0" type="BottomEdge">
4511                        <DimOperator op="Subtract">
4512                            <ImageDim imageset="WindowsLook" image="TooltipBottomEdge" dimension="Height" />
4513                        </DimOperator>
4514                    </UnifiedDim>
4515                </Dim>
4516            </Area>
4517        </NamedArea>
4518        <ImagerySection name="main">
4519            <FrameComponent>
4520                <Area>
4521                    <Dim type="LeftEdge">
4522                        <AbsoluteDim value="0" />
4523                    </Dim>
4524                    <Dim type="TopEdge">
4525                        <AbsoluteDim value="0" />
4526                    </Dim>
4527                    <Dim type="RightEdge">
4528                        <UnifiedDim scale="1" type="RightEdge" />
4529                    </Dim>
4530                    <Dim type="BottomEdge">
4531                        <UnifiedDim scale="1" type="BottomEdge" />
4532                    </Dim>
4533                </Area>
4534                <Image type="TopLeftCorner" imageset="WindowsLook" image="TooltipTopLeft" />
4535                <Image type="TopRightCorner" imageset="WindowsLook" image="TooltipTopRight" />
4536                <Image type="BottomLeftCorner" imageset="WindowsLook" image="TooltipBottomLeft" />
4537                <Image type="BottomRightCorner" imageset="WindowsLook" image="TooltipBottomRight" />
4538                <Image type="LeftEdge" imageset="WindowsLook" image="TooltipLeftEdge" />
4539                <Image type="TopEdge" imageset="WindowsLook" image="TooltipTopEdge" />
4540                <Image type="RightEdge" imageset="WindowsLook" image="TooltipRightEdge" />
4541                <Image type="BottomEdge" imageset="WindowsLook" image="TooltipBottomEdge" />
4542                <Image type="Background" imageset="WindowsLook" image="TooltipMiddle" />
4543            </FrameComponent>
4544        </ImagerySection>
4545        <ImagerySection name="label">
4546            <TextComponent>
4547                <Area>
4548                    <Dim type="LeftEdge">
4549                        <AbsoluteDim value="0" />
4550                    </Dim>
4551                    <Dim type="TopEdge">
4552                        <AbsoluteDim value="0" />
4553                    </Dim>
4554                    <Dim type="RightEdge">
4555                        <UnifiedDim scale="1" type="RightEdge" />
4556                    </Dim>
4557                    <Dim type="BottomEdge">
4558                        <UnifiedDim scale="1" type="BottomEdge" />
4559                    </Dim>
4560                </Area>
4561                <Colours topLeft="FF000000" topRight="FF000000" bottomLeft="FF000000" bottomRight="FF000000" />
4562                <VertFormat type="CentreAligned" />
4563                <HorzFormat type="CentreAligned" />
4564            </TextComponent>
4565        </ImagerySection>
4566        <StateImagery name="Enabled">
4567            <Layer>
4568                <Section section="main" />
4569                <Section section="label" />
4570            </Layer>
4571        </StateImagery>
4572        <StateImagery name="Disabled">
4573            <Layer>
4574                <Section section="main" />
4575                <Section section="label" />
4576            </Layer>
4577        </StateImagery>
4578    </WidgetLook>
4579</Falagard>
Note: See TracBrowser for help on using the repository browser.