<?xml version="1.0"?>
<theme name="Default" author="Matthew Allum - mallum@handhelds.org"
       desc="" version="1.0" engine_version="1" >

<color id="white" def="#ffffff" />
<color id="black" def="#000000" />

<color id="borderdark" def="#acaaa5" />
<color id="borderlight" def="#fcfaf5" />
<color id="bordermid" def="#bcbab5" />

<color id="grad1" def="#dadad5" />
<color id="grad2" def="#dadad5" />
<color id="grad3" def="#dadad5" />

<color id="menuborder" def="#acaaa5" />
<color id="menubg" def="#dadad5" />
<color id="menutext" def="#000000C8" />

<!-- below is menu highlight and highlighted titlebar color -->
<color id="menuhl" def="#486880" />

<color id="trans" def="#ffffff00" />
<color id="textcol" def="#ffffff" />

<color id="shadowcol"   def="#11111166" />

<font id="titlefont" def="Sans bold 16px" />
<font id="menufont" def="Sans bold 16px" />

<pixmap id="closebutton" filename="closebutton.xpm" />  
<pixmap id="menubutton"  filename="menubutton.xpm" />  

<frame id="main" height="20">

  <layer x="0" y="0" w="100%"  h="100%" 
   type="plain" color="borderdark" />

  <layer x="1" y="1" w="100%-2"  h="1" 
   type="plain" color="borderlight" />

  <layer x="1" y="2" w="100%-2"  h="13" 
   type="gradient-vert" startcol="grad1" endcol="grad2"/>

  <layer x="1" y="2" w="100%-2"  h="17" 
   type="plain" color="grad3"/>

  <layer x="22" y="3" w="100%-44"  h="14" 
   type="plain" color="menuhl"/>

  <layer x="22" y="3" w="1"  h="1" type="plain" color="grad3"/>
  <layer x="22" y="16" w="1"  h="1" type="plain" color="grad3"/>
  <layer x="100%-23" y="3" w="1"  h="1" type="plain" color="grad3"/>
  <layer x="100%-23" y="16" w="1"  h="1" type="plain" color="grad3"/>

  <layer x="1" y="19" w="2"  h="1" 
   type="plain" color="grad3" />

  <layer x="100%-3" y="19" w="2"  h="1" 
   type="plain" color="grad3" />

  <!-- <layer x="6" y="2" w="16"  h="16" type="icon" />-->

  <layer x="26" y="3" w="100%-60" h="20" 
   type="label" color="textcol" justify="left" font="titlefont" />


  <button x="100%-20" y="0" w="16" h="20" action="close" >
   <active pixmap="closebutton" blend="-150"/>
   <inactive pixmap="closebutton" />
  </button>

  <button x="4" y="0" w="16" h="20" action="menu" >
   <active pixmap="menubutton" blend="-150"/>
   <inactive pixmap="menubutton" />
  </button>

  <button x="labelx" y="0" w="labelw" h="20" 
   action="menu" options="inputonly" /> -

</frame>

<frame id="main-east" width="4" >

  <layer x="0" y="0" w="100%"  h="100%" 
   type="plain" color="bordermid" />

  <layer x="1" y="0" w="2"  h="100%" 
   type="plain" color="grad3" />

</frame>

<frame id="main-west"  width="4" >

  <layer x="0" y="0" w="100%"  h="100%" 
   type="plain" color="bordermid" />

  <layer x="1" y="0" w="2"  h="100%" 
   type="plain" color="grad3" />

</frame>

<frame id="main-south" height="4" >

  <layer x="0" y="0" w="100%"  h="100%" 
   type="plain" color="bordermid" />

  <layer x="1" y="1" w="100%-2"  h="100%-2" 
   type="plain" color="grad3" />

  <layer x="1" y="0" w="2"  h="1" 
   type="plain" color="grad3" />

  <layer x="100%-3" y="0" w="2"  h="1" 
   type="plain" color="grad3" />

  <layer x="3" y="1" w="100%-6"  h="1" 
   type="plain" color="borderlight" />

</frame>

<frame id="dialog" height="20" >

  <layer x="0" y="0" w="100%"  h="100%" 
   type="plain" color="borderdark" />

  <layer x="1" y="1" w="100%-2"  h="1" 
   type="plain" color="borderlight" />

  <layer x="1" y="2" w="100%-2"  h="13" 
   type="gradient-vert" startcol="grad1" endcol="grad2"/>

  <layer x="1" y="15" w="100%-2"  h="4" 
   type="gradient-vert" startcol="grad2" endcol="grad3"/>

  <layer x="1" y="1" w="1"  h="100%-1" 
   type="gradient-vert" startcol="borderlight" endcol="grad3"/>

  <layer x="100%-2" y="1" w="1"  h="100%-1" 
   type="gradient-vert" startcol="borderlight" endcol="grad3"/>

  <layer x="2" y="19" w="1"  h="1" 
   type="plain" color="grad3" />

  <layer x="100%-3" y="19" w="1"  h="1" 
   type="plain" color="grad3" />

  <layer x="5" y="3" w="100%-60" h="20" 
   type="label" color="black" justify="left" font="titlefont" />

  <button x="-20" y="0" w="16" h="20" action="close" >
   <active pixmap="closebutton" blend="-150"/>
   <inactive pixmap="closebutton" />
  </button>

</frame>


<frame id="dialog-north" height="4">

  <layer x="0" y="0" w="100%"  h="100%" 
   type="plain" color="borderdark" />

  <layer x="1" y="1" w="100%-2"  h="1" 
   type="plain" color="borderlight" />

  <layer x="1" y="2" w="100%-2"  h="2" 
   type="plain" color="grad3"/>

  <layer x="1" y="1" w="1"  h="100%-1" 
   type="gradient-vert" startcol="borderlight" endcol="grad3"/>

  <layer x="100%-2" y="1" w="1"  h="100%-1" 
   type="gradient-vert" startcol="borderlight" endcol="grad3"/>

  <layer x="2" y="19" w="1"  h="1" 
   type="plain" color="grad3" />

  <layer x="100%-3" y="19" w="1"  h="1" 
   type="plain" color="grad3" />
  
</frame>

<frame id="dialog-east" width="4" >

  <layer x="0" y="0" w="100%"  h="100%" 
   type="plain" color="bordermid" />

  <layer x="1" y="0" w="2"  h="100%" 
   type="plain" color="grad3" />

</frame>

<frame id="dialog-west" width="4" >

  <layer x="0" y="0" w="100%"  h="100%" 
   type="plain" color="bordermid" />

  <layer x="1" y="0" w="2"  h="100%" 
   type="plain" color="grad3" />

</frame>

<frame id="dialog-south" height="4" >

  <layer x="0" y="0" w="100%"  h="100%" 
   type="plain" color="bordermid" />

  <layer x="1" y="1" w="100%-2"  h="100%-2" 
   type="plain" color="grad3" />

  <layer x="1" y="0" w="2"  h="1" 
   type="plain" color="grad3" />

  <layer x="100%-3" y="0" w="2"  h="1" 
   type="plain" color="grad3" />

  <layer x="3" y="1" w="100%-6"  h="1" 
   type="plain" color="borderlight" />

</frame>

<!-- below frames are likely not needed, legacy stuff -->

<frame id="utility-max" width="20">

  <layer x="0" y="0" w="100%"  h="100%" 
   type="plain" color="borderdark" />

  <layer x="1" y="1" w="100%-2"  h="1" 
   type="plain" color="borderlight" />

  <layer x="1" y="2" w="100%-2"  h="100%-2" 
   type="gradient-vert" startcol="grad1" endcol="grad2"/>

  <button x="0" y="0" w="100%" h="100%" action="minimize" options="inputonly"/>

</frame>

<frame id="utility-min" height="20">

  <layer x="0" y="0" w="100%"  h="100%" 
   type="plain" color="borderdark" />

  <layer x="1" y="1" w="100%-2"  h="1" 
   type="plain" color="borderlight" />

  <layer x="1" y="2" w="100%-2"  h="100%-2" 
   type="gradient-vert" startcol="grad1" endcol="grad2"/>

  <layer x="5" y="3" w="100%-60" h="20" 
   type="label" color="black" justify="left" font="titlefont" />

  <button x="0" y="0" w="100%-20" h="100%" 
  action="maximize" options="inputonly"/>

  <button x="-20" y="0" w="16" h="20" action="close" >
   <active pixmap="closebutton" blend="-150"/>
   <inactive pixmap="closebutton" />
  </button>

</frame>


<frame id="menu" 
        border_north="2" 
	border_south="3" 
	border_west="2" 
        border_east="2"
        font="menufont" 
	highlight="menuhl"
        color="black" 
	options="shaped" >

  <layer x="0" y="0" w="100%"  h="100%" 
   type="plain" color="menuborder" />

  <layer x="1" y="0" w="100%-2"  h="100%-1" 
   type="plain" color="menubg" />

  <layer x="0" y="-1" w="1"  h="1" 
   type="plain" color="trans" />

  <layer x="-1" y="-1" w="1"  h="1" 
   type="plain" color="trans" />

</frame>

<shadow style="simple" dx="3" dy="3" color="shadowcol"/>

</theme>