/usr/share/themes/blondie/matchbox/theme.xml is in matchbox-window-manager 1.2-7ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 | <?xml version="1.0"?>
<theme name="blondie" author="Matthew Allum - mallum@handhelds.org"
desc="" version="1.0" engine_version="1" >
<!-- List Resources, defined by an id and then a definition -->
<!-- Colors, in the format #rrggbb. <color id="bgcol" def="#d6da7a" /> -->
<color id="bgcol" def="#819cba" />
<color id="dockcol" def="#e2dec6" />
<color id="black" def="#000000cc" />
<color id="lightside" def="#ffffff" />
<color id="darkside" def="#9d9a8a" />
<color id="red" def="#ff0000" />
<color id="lowlightcol" def="#11111166" />
<color id="menuhlcol" def="#9d9a8a" />
<color id="shadowcol" def="#11111166" />
<!-- Fonts, alternate fonts can be listed seperated by a '|'
The first matched will be used. -->
<font id="titlefont" def="Sans bold 16px" />
<font id="barfont" def="Sans bold 10px" />
<!-- Pixmaps. xpm or png ( if support compiled in ) supported.
They are expected to be found in the same location as this file -->
<pixmap id="close" filename="close.png" />
<pixmap id="close-small" filename="close-small.png" />
<pixmap id="menu" filename="menu.png" />
<pixmap id="hide" filename="hide.png" />
<pixmap id="next" filename="next.png" />
<pixmap id="prev" filename="prev.png" />
<pixmap id="accept" filename="accept.png" />
<pixmap id="que" filename="que.png" />
<pixmap id="titleleft" filename="titleleft.png" />
<pixmap id="titleright" filename="titleright.png" />
<pixmap id="titlestrip" filename="titlestrip.png" />
<pixmap id="dialogtopleft" filename="dialogtopleft.png" />
<pixmap id="dialogtopright" filename="dialogtopright.png" />
<pixmap id="dialogtoptile" filename="dialogtoptile.png" />
<pixmap id="dialogbottomleft" filename="dialogbottomleft.png" />
<pixmap id="dialogbottomright" filename="dialogbottomright.png" />
<pixmap id="dialogbottomtile" filename="dialogbottomtile.png" />
<pixmap id="dialogtopleft_notitle" filename="dialogtopleft2.png" />
<pixmap id="dialogtopright_notitle" filename="dialogtopright2.png" />
<pixmap id="dialogtoptile_notitle" filename="dialogtoptile2.png" />
<!-- End resources, now frames ( window title/border decorations ).
We now define each frame, for a particular window type, specified by
the 'id' attribute.
Main and dialog windows can also have the borders defined.
-->
<!-- Main windows title bar. You need to define its height -->
<frame id="main" height="20">
<!-- we then build up a number of layers. They are stacked composite
on top of each other in the order there defined.
They can be of the various types which reference various above resources.
The valid types are;
plain - A rectangle of solid color
pixmap - A pixmap stretched to its defined area.
specify w and h as 'object' to avoid stretching.
pixmap-tiled - As above but the pixmap is tiled
label - This specifys where the title text is to be drawn.
Note: this is always painted last.
gradient-horiz - Horizontaol gradient *
gradient-vert - Vertical gradient *
icon - Window icon *
Each layer have its geometry specified with the x, y, w and h attribues.
They can be;
- Percentages of the total frame size
- Absolute values from each side of the frame ( by using -/+ive values )
- Reference the labels ( titles ) position ( lablex, labelw )
...or simple combinations of a maximum of two of the above. See what is
defined here for examples, and experiment !
* See the 'gorilla' theme for examples of these.
-->
<layer x="0" y="0" w="100%" h="100%"
type="plain" color="bgcol" />
<layer x="5" y="0" w="100%-10" h="100%"
type="pixmap" pixmap="titlestrip" />
<layer x="0" y="0" w="object" h="object"
type="pixmap" pixmap="titleleft" />
<layer x="-5" y="0" w="object" h="object"
type="pixmap" pixmap="titleright" />
<layer x="14" y="2" w="100%-70" h="20"
type="label" color="black" justify="left" font="titlefont" />
<!-- Buttons.
Buttons are defined like layers. Each button has an action associated
with it. Valid actions for a main client are -next, prev, close, hide,
menu, help and accept.
Each button ( except those defined inputonly. ) has an inactive
and optionally active image.
Notes:
- If a button is not defined it will not appear.
- A button with the option 'inputonly' is invisible, but sensitve
to the defined area.
- You cant use 'object' in the geometry params.
- Buttons appear on tope of everything else.
-->
<button x="5" y="5" w="6" h="4" action="menu" >
<active pixmap="menu" blend="-80"/>
<inactive pixmap="menu" />
</button>
<button x="labelx" y="2" w="labelw" h="20"
action="menu" options="inputonly" />
<button x="-28" y="3" w="22" h="16" action="close" >
<active pixmap="close" blend="-80"/>
<inactive pixmap="close" />
</button>
<!-- Advanced functionality, uncomment to enable
<button x="-42" y="2" w="16" h="16" action="hide" >
<active pixmap="hide" blend="-80" />
<inactive pixmap="hide" />
</button>
<button x="-35" y="0" w="8" h="16" action="next" >
<active pixmap="next" blend="-80"/>
<inactive pixmap="next" />
</button>
<button x="-47" y="0" w="8" h="16" action="prev" >
<active pixmap="prev" blend="-80" />
<inactive pixmap="prev" />
</button>
<button x="-59" y="0" w="8" h="16" action="accept" >
<active pixmap="accept" blend="-80" />
<inactive pixmap="accept" />
</button>
<button x="-71" y="0" w="8" h="16" action="help" >
<active pixmap="que" blend="-80" />
<inactive pixmap="que" />
</button>
-->
<!-- support for panel in titlebar - not enabled in this theme
<panel x="100%-160" y="1" w="100" h="14" />
-->
</frame>
<!-- empty border frames, these are empty and will just be black with no
layers. Notice the width/height attributes. -->
<frame id="main-east" width="1" />
<frame id="main-west" width="1" />
<frame id="main-south" height="1" />
<!-- dialog, the option specifys it will be shaped.
Any fully transparent pixels, will be masked to make this shaped
window -->
<frame id="dialog" height="16" options="shaped">
<layer x="5" y="0" w="100%-5" h="100%"
type="pixmap" pixmap="dialogtoptile" />
<layer x="0" y="0" w="object" h="object"
type="pixmap" pixmap="dialogtopleft" />
<layer x="-5" y="0" w="object" h="object"
type="pixmap" pixmap="dialogtopright" />
<layer x="14" y="1" w="100%-60" h="20"
type="label" color="black" justify="left" font="titlefont" />
<!-- only a close, help or accept actioned button is valid -->
<button x="-13" y="0" w="7" h="16" action="close" >
<active pixmap="close-small" blend="-80"/>
<inactive pixmap="close-small" />
</button>
<button x="-24" y="0" w="8" h="16" action="accept" >
<active pixmap="accept" blend="-80" />
<inactive pixmap="accept" />
</button>
<button x="-34" y="0" w="8" h="16" action="help" >
<active pixmap="que" blend="-80" />
<inactive pixmap="que" />
</button>
</frame>
<!-- dialog borders, note they inherit the shaped option.
Do not specify buttons for them! -->
<!-- The north dialog is only used when the dialog specifies it wants
borders only, no title bar -->
<frame id="dialog-north" height="5" options="shaped">
<layer x="5" y="0" w="100%-5" h="100%"
type="pixmap" pixmap="dialogtoptile_notitle" />
<layer x="0" y="0" w="object" h="object"
type="pixmap" pixmap="dialogtopleft_notitle" />
<layer x="-5" y="0" w="object" h="object"
type="pixmap" pixmap="dialogtopright_notitle" />
</frame>
<frame id="dialog-east" width="2" >
<layer x="0" y="0" w="1" h="100%"
type="plain" color="darkside" />
<layer x="1" y="0" w="1" h="100%"
type="plain" color="black" />
</frame>
<frame id="dialog-west" width="2" >
<layer x="0" y="0" w="1" h="100%"
type="plain" color="black" />
<layer x="1" y="0" w="1" h="100%"
type="plain" color="lightside" />
</frame>
<frame id="dialog-south" height="5" >
<layer x="5" y="0" w="100%-5" h="100%"
type="pixmap" pixmap="dialogbottomtile" />
<layer x="0" y="0" w="object" h="object"
type="pixmap" pixmap="dialogbottomleft" />
<layer x="-5" y="0" w="object" h="object"
type="pixmap" pixmap="dialogbottomright" />
</frame>
<!-- message dialogs - only of use if mb is compiled to support these -->
<frame id="message" height="4" >
<layer x="0" y="0" w="100%" h="100%"
type="plain" color="red" />
</frame>
<frame id="message-east" width="4" >
<layer x="0" y="0" w="100%" h="100%"
type="plain" color="red" />
</frame>
<frame id="message-west" width="4" >
<layer x="0" y="0" w="100%" h="100%"
type="plain" color="red" />
</frame>
<frame id="message-south" height="4">
<layer x="0" y="0" w="100%" h="100%"
type="plain" color="red" />
</frame>
<!-- utilities are things like xkbd. You need to define frames for
both minimised and maximised states -->
<frame id="utility-max" width="12">
<layer x="0" y="0" w="100%" h="100%"
type="plain" color="lightside" />
<layer x="1" y="1" w="100%-1" h="100%-1"
type="plain" color="darkside" />
<layer x="1" y="1" w="100%-2" h="100%-2"
type="plain" color="dockcol" />
<!-- Buttons, minimise action only valid here -->
<button x="3" y="1" w="12" h="12" action="minimize" >
<active pixmap="next" blend="-80"/>
<inactive pixmap="next" />
</button>
<button x="0" y="0" w="100%" h="100%" action="minimize" options="inputonly"/>
</frame>
<frame id="utility-min" height="12">
<layer x="0" y="0" w="100%" h="100%"
type="plain" color="lightside" />
<layer x="1" y="1" w="100%-1" h="100%-1"
type="plain" color="darkside" />
<layer x="1" y="1" w="100%-2" h="100%-2"
type="plain" color="dockcol" />
<layer x="14" y="0" w="100%-60" h="20"
type="label" color="black" justify="left" font="barfont" />
<!-- close and maximise button actions valid here -->
<button x="0" y="0" w="100%-20" h="100%"
action="maximize" options="inputonly"/>
<button x="-20" y="0" w="22" h="12" action="close" >
<active pixmap="close" blend="-80"/>
<inactive pixmap="close" />
</button>
</frame>
<!--
menu frames behave slightly differently to other frames and therefore
have extra attributes.
- Size is calculated automatically. You can also optionally specify the
spacing around the rendered menu items. eg;
border_north="0"
border_south="5"
border_east="2"
border_west="2"
You can overide the auto calculated width with the 'fixed_width'
frame attribute. A pixel size is expected.
- The menu will automatically be aligned with the menu button.
You can overide this with the 'fixed_width' frame attribute.
A pixel size is expected.
- No layer type label, for the menu text you need to specify extra
attributes in the frame tag. eg;
font="titlefont"
color="black"
highlight="menuhlcol"
- There are no buttons.
-->
<frame id="menu"
border_north="2"
border_south="5"
border_east="2"
border_west="2"
font="titlefont"
color="black"
highlight="menuhlcol"
options="shaped">
<layer x="0" y="0" w="100%" h="-5"
type="plain" color="black" />
<layer x="1" y="0" w="100%-2" h="-5"
type="plain" color="dockcol" />
<layer x="0" y="0" w="100%" h="1"
type="plain" color="lightside" />
<layer x="2" y="0" w="1" h="-5"
type="plain" color="lightside" />
<layer x="-2" y="0" w="1" h="-5"
type="plain" color="darkside" />
<layer x="5" y="-5" w="100%-10" h="5"
type="pixmap" pixmap="dialogbottomtile" />
<layer x="0" y="-5" w="object" h="object"
type="pixmap" pixmap="dialogbottomleft" />
<layer x="-5" y="-5" w="object" h="object"
type="pixmap" pixmap="dialogbottomright" />
</frame>
<!-- Specific global properties -->
<!-- only takes effect if -use_lowlight switch used
or mb is built with composite -->
<lowlight color="lowlightcol" />
<!-- tweak the shadow style -->
<!-- <shadow style="gaussian" /> -->
<shadow style="simple" dx="3" dy="3" color="shadowcol"/>
<!-- You can specify a character to be replaced by an image in text labels
<subst char=":" pixmap="que" />
-->
<!-- Set cursor theme and size
<cursor theme="foo" size="128" />
-->
</theme>
|