calc: on editing invalidation of view with different zoom is wrong
[LibreOffice.git] / vcl / uiconfig / theme_definitions / ios / definition.xml
blob958c85600e15ae27554eaa0557602ccc938240d0
1 <?xml version="1.0" encoding="UTF-8"?>
3 <widgets>
4     <style>
5         <faceColor value="#F7F7F7"/>
6         <checkedColor value="#C0C0C0"/>
7         <lightColor value="#FFFFFF"/>
8         <lightBorderColor value="#F7F7F7"/>
9         <shadowColor value="#808080"/>
10         <darkShadowColor value="#000000"/>
11         <buttonTextColor value="#007AFF"/>
12         <defaultActionButtonTextColor value="#007AFF"/>
13         <actionButtonTextColor value="#007AFF"/>
14         <actionButtonRolloverTextColor value="#007AFF"/>
15         <buttonRolloverTextColor value="#FFFFFF"/>
16         <radioCheckTextColor value="#000000"/>
17         <groupTextColor value="#000000"/>
18         <labelTextColor value="#000000"/>
19         <windowColor value="#FFFFFF"/>
20         <windowTextColor value="#000000"/>
21         <dialogColor value="#FFFFFF"/>
22         <dialogTextColor value="#000000"/>
23         <workspaceColor value="#F7F7F7"/>
24         <monoColor value="#000000"/>
25         <fieldColor value="#FFFFFF"/>
26         <fieldTextColor value="#000000"/>
27         <fieldRolloverTextColor value="#000000"/>
28         <activeColor value="#007AFF"/>
29         <activeTextColor value="#FFFFFF"/>
30         <activeBorderColor value="#C0C0C0"/>
31         <deactiveColor value="#808080"/>
32         <deactiveTextColor value="#C0C0C0"/>
33         <deactiveBorderColor value="#C0C0C0"/>
34         <menuColor value="#FFFFFF"/>
35         <menuBarColor value="#FFFFFF"/>
36         <menuBarRolloverColor value="#007AFF"/>
37         <menuBorderColor value="#C0C0C0"/>
38         <menuTextColor value="#000000"/>
39         <menuBarTextColor value="#000000"/>
40         <menuBarRolloverTextColor value="#000000"/>
41         <menuBarHighlightTextColor value="#000000"/>
42         <menuHighlightColor value="#007AFF"/>
43         <menuHighlightTextColor value="#FFFFFF"/>
44         <highlightColor value="#007AFF"/>
45         <highlightTextColor value="#FFFFFF"/>
46         <activeTabColor value="#FFFFFF"/>
47         <inactiveTabColor value="#C0C0C0"/>
48         <tabTextColor value="#007AFF"/>
49         <tabRolloverTextColor value="#007AFF"/>
50         <tabHighlightTextColor value="#FFFFFF"/>
51         <disableColor value="#808080"/>
52         <helpColor value="#FFFFE0"/>
53         <helpTextColor value="#000000"/>
54         <linkColor value="#007AFF"/>
55         <visitedLinkColor value="#0464AA"/>
56         <toolTextColor value="#000000"/>
57         <fontColor value="#000000"/>
58     </style>
60     <!--
61         Various setting for controls that aren't style colors.
62         Empty "value" attribute or if setting is not present means default will be used.
63     -->
65     <settings>
66         <noActiveTabTextRaise value="true"/>
67         <centeredTabs value="true"/>
68         <listBoxEntryMargin value="20"/>
69         <defaultFontSize value="10"/>
70         <titleHeight value="16"/>
71         <floatTitleHeight value="12"/>
72         <listBoxPreviewDefaultLogicWidth value="16"/>
73         <listBoxPreviewDefaultLogicHeight value="16"/>
74     </settings>
76     <!--
77     Follows the definitions od various controls.
78     The definition is always in form:
80     <{ControlType} attributes...>
81         <{ControlPart} attributes...>
82             <state attributes...>
83                 {draw commands}
84                 ...
85             </state>
86         </{ControlPart}>
87     </{ControlType}>
89     Supported <state> attributes are:
90         enabled="true|false|any"
91         focused="true|false|any"
92         pressed="true|false|any"
93         rollover="true|false|any"
94         default="true|false|any"
95         selected="true|false|any"
96         button-value="true|false|any"
97         extra="{various}"
99     control specific:
100     <spinbox> attributes:
101         - orientation: stacked (default), edit-decrease-increase, decrease-edit-increase
103     -->
105     <pushbutton>
106         <part value="Entire">
107             <state enabled="true">
108                 <external source="pushbutton-default.svg" />
109             </state>
110             <state enabled="true" rollover="true">
111                 <external source="pushbutton-rollover.svg" />
112             </state>
113             <state enabled="false">
114                 <external source="pushbutton-disabled.svg" />
115             </state>
116         </part>
117         <part value="Focus">
118             <state>
119                 <external source="common-rect-focus.svg" />
120             </state>
121         </part>
122     </pushbutton>
124     <radiobutton>
125         <part value="Entire" width="26" height="26">
126            <state enabled="true" pressed="false" button-value="true">
127                 <image source="tick-on.svg" />
128             </state>
129             <state enabled="true" pressed="true" button-value="true">
130                 <image source="tick-on-pressed.svg" />
131             </state>
132             <state enabled="false" button-value="true">
133                 <image source="tick-on-disabled.svg" />
134             </state>
135             <state enabled="true" pressed="false" button-value="false">
136                 <image source="tick-off.svg" />
137             </state>
138             <state enabled="true" pressed="true" button-value="false">
139                 <image source="tick-off-pressed.svg" />
140             </state>
141             <state enabled="false" button-value="false">
142                 <image source="tick-off-disabled.svg" />
143             </state>
144         </part>
145         <part value="Focus">
146             <state>
147                 <external source="common-rect-focus-slim.svg" />
148             </state>
149         </part>
150     </radiobutton>
152     <checkbox>
153         <part value="Entire" width="46" height="32">
154            <state enabled="true" pressed="false" button-value="true">
155                 <image source="switch-on.svg" />
156             </state>
157             <state enabled="true" pressed="true" button-value="true">
158                 <image source="switch-on-pressed.svg" />
159             </state>
160             <state enabled="false" button-value="true">
161                 <image source="switch-on-disabled.svg" />
162             </state>
163             <state enabled="true" pressed="false" button-value="false">
164                 <image source="switch-off.svg" />
165             </state>
166             <state enabled="true" pressed="true" button-value="false">
167                 <image source="switch-off-pressed.svg" />
168             </state>
169             <state enabled="false" button-value="false">
170                 <image source="switch-off-disabled.svg" />
171             </state>
172         </part>
173         <part value="Focus">
174             <state>
175                 <external source="common-rect-focus-slim.svg" />
176             </state>
177         </part>
178     </checkbox>
180     <combobox>
181         <part value="Entire">
182             <state enabled="true">
183                 <external source="combobox.svg" />
184             </state>
185             <state enabled="false">
186                 <external source="combobox-disabled.svg" />
187             </state>
188         </part>
189         <part value="SubEdit">
190             <state>
191             </state>
192         </part>
193         <part value="ButtonDown" width="35" height="36">
194             <state enabled="true">
195                 <image source="combobox-button.svg" />
196             </state>
197             <state enabled="false">
198                 <image source="combobox-button-disabled.svg" />
199             </state>
200         </part>
201         <part value="Focus">
202             <state>
203                 <external source="common-rect-focus.svg" />
204             </state>
205         </part>
206     </combobox>
208     <editbox>
209         <part value="Entire" height="32">
210             <state enabled="true">
211                 <external source="common-rect.svg" />
212             </state>
213             <state enabled="false">
214                 <external source="common-rect-disabled.svg" />
215             </state>
216             <state focused="true">
217                 <external source="common-rect-focus.svg" />
218             </state>
219         </part>
220     </editbox>
222     <listbox>
223         <part value="Entire">
224             <state enabled="true">
225                 <external source="combobox.svg" />
226             </state>
227             <state enabled="false">
228                 <external source="combobox-disabled.svg" />
229             </state>
230         </part>
231         <part value="SubEdit">
232             <state/> <!-- Intentional empty - don't draw anything -->
233         </part>
234         <part value="ButtonDown" width="35" height="36">
235             <state enabled="true">
236                 <image source="combobox-button.svg" />
237             </state>
238             <state enabled="false">
239                 <image source="combobox-button-disabled.svg" />
240             </state>
241         </part>
242         <part value="Focus">
243             <state>
244                 <external source="common-rect-focus.svg" />
245             </state>
246         </part>
247     </listbox>
249     <spinbox>
250         <part value="Entire" orientation="decrease-edit-increase">
251             <state>
252                 <rect stroke="#ffffff" fill="#ffffff" stroke-width="0" />
253             </state>
254         </part>
255         <part value="SubEdit">
256             <state/> <!-- Intentional empty - don't draw anything -->
257         </part>
258         <part value="ButtonDown" width="44" height="26">
259             <state enabled="true">
260                 <external source="spinbox-left.svg" />
261             </state>
262             <state enabled="true" pressed="true">
263                 <external source="spinbox-left-pressed.svg" />
264             </state>
265             <state enabled="false">
266                 <external source="spinbox-left-disabled.svg" />
267             </state>
268         </part>
269         <part value="ButtonUp" width="44" height="26">
270             <state enabled="true">
271                 <external source="spinbox-right.svg" />
272             </state>
273             <state enabled="true" pressed="true">
274                 <external source="spinbox-right-pressed.svg" />
275             </state>
276             <state enabled="false">
277                 <external source="spinbox-right-disabled.svg" />
278             </state>
279         </part>
280         <part value="Focus">
281             <state>
282                 <external source="common-rect-focus-slim.svg" />
283             </state>
284         </part>
285     </spinbox>
287     <scrollbar>
288         <part value="ThumbHorz">
289             <state>
290                 <external source="scrollbar-horizontal.svg" />
291             </state>
292         </part>
293         <part value="ThumbVert">
294             <state>
295                 <external source="scrollbar-vertical.svg" />
296             </state>
297         </part>
298         <part value="ButtonUp">
299         </part>
300         <part value="ButtonDown">
301         </part>
302         <part value="ButtonLeft">
303         </part>
304         <part value="ButtonRight">
305         </part>
306         <part value="TrackHorzLeft">
307             <state>
308                 <rect stroke="#8e8e93" fill="#ffffff" stroke-width="0" />
309             </state>
310         </part>
311         <part value="TrackHorzRight">
312             <state>
313                 <rect stroke="#8e8e93" fill="#ffffff" stroke-width="0" />
314             </state>
315         </part>
316         <part value="TrackVertUpper">
317             <state>
318                 <rect stroke="#8e8e93" fill="#ffffff" stroke-width="0" />
319             </state>
320         </part>
321         <part value="TrackVertLower">
322             <state>
323                 <rect stroke="#8e8e93" fill="#ffffff" stroke-width="0" />
324             </state>
325         </part>
326     </scrollbar>
328     <slider>
329         <part value="Button">
330             <state enabled="true">
331                 <image source="slider-button.svg" />
332             </state>
333             <state enabled="false">
334                 <image source="slider-button-disabled.svg" />
335             </state>
336         </part>
337         <part value="TrackHorzLeft">
338             <state enabled="true">
339                 <line stroke="#007AFF" stroke-width="6" x1="0.0" y1="0.5" x2="1.0" y2="0.5"/>
340             </state>
341             <state enabled="false">
342                 <line stroke="#8e8e93" stroke-width="6" x1="0.0" y1="0.5" x2="1.0" y2="0.5"/>
343             </state>
344         </part>
345         <part value="TrackHorzRight">
346             <state>
347                 <line stroke="#8e8e93" stroke-width="6" x1="0.0" y1="0.5" x2="1.0" y2="0.5"/>
348             </state>
349         </part>
350         <part value="TrackVertUpper">
351             <state enabled="true">
352                 <line stroke="#007AFF" stroke-width="6" x1="0.5" y1="0.0" x2="0.5" y2="1.0"/>
353             </state>
354             <state enabled="false">
355                 <line stroke="#8e8e93" stroke-width="6" x1="0.5" y1="0.0" x2="0.5" y2="1.0"/>
356             </state>
357         </part>
358         <part value="TrackVertLower">
359             <state>
360                 <line stroke="#8e8e93" stroke-width="6" x1="0.5" y1="0.0" x2="0.5" y2="1.0"/>
361             </state>
362         </part>
363     </slider>
365     <fixedline>
366         <part value="SeparatorHorz">
367             <state>
368                 <line stroke="#007AFF" fill="#007AFF" stroke-width="2" x1="0.0" y1="0.5" x2="1.0" y2="0.5"/>
369             </state>
370         </part>
371         <part value="SeparatorVert">
372             <state>
373                 <line stroke="#007AFF" fill="#007AFF" stroke-width="2" x1="0.5" y1="0.0" x2="0.5" y2="1.0"/>
374             </state>
375         </part>
376     </fixedline>
378     <progress>
379         <part value="Entire">
380             <state>
381                 <rect stroke="#007AFF" fill="#007AFF" stroke-width="1" rx="7" ry="7"/>
382             </state>
383         </part>
384     </progress>
386     <tabitem>
387         <part value="Entire" margin-width="8" height="32">
388             <state selected="false" extra="first">
389                 <external source="tabitem-first.svg" />
390             </state>
391             <state selected="false" extra="middle">
392                 <external source="tabitem-middle.svg" />
393             </state>
394             <state selected="false" extra="last">
395                 <external source="tabitem-last.svg" />
396             </state>
397             <state selected="true" extra="first">
398                 <external source="tabitem-first-selected.svg" />
399             </state>
400             <state selected="true" extra="middle">
401                 <external source="tabitem-middle-selected.svg" />
402             </state>
403             <state selected="true" extra="last">
404                 <external source="tabitem-last-selected.svg" />
405             </state>
406         </part>
407     </tabitem>
409     <tabheader>
410         <part value="Entire">
411             <state>
412                 <rect stroke="#FFFFFF" fill="#FFFFFF" stroke-width="1" rx="1" ry="1"/>
413             </state>
414         </part>
415     </tabheader>
417     <tabpane>
418         <part value="Entire">
419             <state>
420                 <rect stroke="#FFFFFF" fill="#FFFFFF" stroke-width="1" rx="1" ry="1"/>
421             </state>
422         </part>
423     </tabpane>
425     <tabbody>
426         <part value="Entire">
427             <state>
428                 <rect stroke="#f4f5f5" fill="#FFFFFF" stroke-width="1" rx="1" ry="1"/>
429             </state>
430         </part>
431     </tabbody>
433     <windowbackground>
434         <part value="BackgroundWindow">
435             <state>
436                 <rect stroke="#f4f5f5" fill="#FFFFFF" stroke-width="1" rx="1" ry="1"/>
437             </state>
438         </part>
439         <part value="BackgroundDialog">
440             <state>
441                 <rect stroke="#f4f5f5" fill="#FFFFFF" stroke-width="1" rx="1" ry="1"/>
442             </state>
443         </part>
444     </windowbackground>
446     <frame>
447         <part value="Border">
448             <state>
449                 <rect stroke="#FFFFFF" fill="#FFFFFF" stroke-width="1" rx="1" ry="1"/>
450             </state>
451         </part>
452     </frame>
454     <toolbar>
455         <part value="DrawBackgroundHorz">
456             <state>
457                 <rect stroke="#FFFFFF" fill="#FFFFFF" stroke-width="1" rx="1" ry="1"/>
458             </state>
459         </part>
461         <part value="DrawBackgroundVert">
462             <state>
463                 <rect stroke="#FFFFFF" fill="#FFFFFF" stroke-width="1" rx="1" ry="1"/>
464             </state>
465         </part>
467         <part value="ThumbHorz">
468             <state/> <!-- Intentional empty - don't draw anything -->
469         </part>
471         <part value="ThumbVert">
472             <state/> <!-- Intentional empty - don't draw anything -->
473         </part>
475         <part value="SeparatorVert">
476             <state>
477                 <line stroke="#007AFF" fill="#007AFF" stroke-width="2" x1="0.5" y1="0.0" x2="0.5" y2="1.0"/>
478             </state>
479         </part>
481         <part value="SeparatorHorz">
482             <state>
483                 <line stroke="#007AFF" fill="#007AFF" stroke-width="2" x1="0.0" y1="0.5" x2="1.0" y2="0.5"/>
484             </state>
485         </part>
487         <part value="Button">
488             <state enabled="true" button-value="true">
489                 <rect stroke="#c0c0c0" fill="#c0c0c0" stroke-width="1" rx="4" ry="4"/>
490             </state>
491             <state enabled="true" button-value="false">
492                 <rect stroke="#f4f5f5" fill="#f4f5f5" stroke-width="1" rx="4" ry="4"/>
493             </state>
494             <state enabled="false">
495                 <rect stroke="#007AFF" fill="#00FF00" stroke-width="1" rx="4" ry="4"/>
496             </state>
497         </part>
498     </toolbar>
500     <listnode>
501     </listnode>
503     <listnet>
504     </listnet>
506     <listheader>
507          <part value="Button">
508             <state>
509                 <rect stroke="#8e8e93" fill="#f4f5f5" stroke-width="1" rx="1" ry="1"/>
510             </state>
511         </part>
512         <part value="Arrow">
513             <state extra="up">
514                 <image source="arrow-up.svg"/>
515             </state>
516             <state extra="down">
517                 <image source="arrow-down.svg"/>
518             </state>
519         </part>
520     </listheader>
522     <menubar>
523     </menubar>
525     <menupopup>
526     </menupopup>
528     <tooltip>
529     </tooltip>
530 </widgets>