r4307 - in trunk/src/target/OM-2007.2/libraries/moko-gtk-engine: . data data/matchbox

thomas at sita.openmoko.org thomas at sita.openmoko.org
Thu Apr 3 18:37:22 CEST 2008


Author: thomas
Date: 2008-04-03 18:37:21 +0200 (Thu, 03 Apr 2008)
New Revision: 4307

Added:
   trunk/src/target/OM-2007.2/libraries/moko-gtk-engine/data/matchbox/
   trunk/src/target/OM-2007.2/libraries/moko-gtk-engine/data/matchbox/closebutton.xpm
   trunk/src/target/OM-2007.2/libraries/moko-gtk-engine/data/matchbox/menubutton.xpm
   trunk/src/target/OM-2007.2/libraries/moko-gtk-engine/data/matchbox/theme.desktop
   trunk/src/target/OM-2007.2/libraries/moko-gtk-engine/data/matchbox/theme.xml
Modified:
   trunk/src/target/OM-2007.2/libraries/moko-gtk-engine/ChangeLog
   trunk/src/target/OM-2007.2/libraries/moko-gtk-engine/data/
Log:
2008-04-03  Thomas Wood  <thomas at openedhand.com>

	* data/matchbox/closebutton.xpm:
	* data/matchbox/menubutton.xpm:
	* data/matchbox/theme.desktop:
	* data/matchbox/theme.xml:

	Import OpenMoko matchbox theme and remove use of gradients


Modified: trunk/src/target/OM-2007.2/libraries/moko-gtk-engine/ChangeLog
===================================================================
--- trunk/src/target/OM-2007.2/libraries/moko-gtk-engine/ChangeLog	2008-04-03 16:22:46 UTC (rev 4306)
+++ trunk/src/target/OM-2007.2/libraries/moko-gtk-engine/ChangeLog	2008-04-03 16:37:21 UTC (rev 4307)
@@ -1,5 +1,14 @@
 2008-04-03  Thomas Wood  <thomas at openedhand.com>
 
+	* data/matchbox/closebutton.xpm:
+	* data/matchbox/menubutton.xpm:
+	* data/matchbox/theme.desktop:
+	* data/matchbox/theme.xml:
+
+	Import OpenMoko matchbox theme and remove use of gradients
+
+2008-04-03  Thomas Wood  <thomas at openedhand.com>
+
 	* autogen.sh: Allow autotools 1.10
 
 2008-04-03  Thomas Wood  <thomas at openedhand.com>


Property changes on: trunk/src/target/OM-2007.2/libraries/moko-gtk-engine/data
___________________________________________________________________
Name: svn:externals
   - matchbox http://svn.openmoko.org/trunk/src/target/OM-2007.2/artwork/themes/openmoko-standard-2/matchbox

   + 


Added: trunk/src/target/OM-2007.2/libraries/moko-gtk-engine/data/matchbox/closebutton.xpm
===================================================================
--- trunk/src/target/OM-2007.2/libraries/moko-gtk-engine/data/matchbox/closebutton.xpm	2008-04-03 16:22:46 UTC (rev 4306)
+++ trunk/src/target/OM-2007.2/libraries/moko-gtk-engine/data/matchbox/closebutton.xpm	2008-04-03 16:37:21 UTC (rev 4307)
@@ -0,0 +1,47 @@
+/* XPM */
+static char * closebutton_xpm[] = {
+"32 40 4 1",
+" 	c None",
+".	c #FDFDFD",
+"+	c #FFFFFF",
+"@	c #FEFEFE",
+"                                ",
+"                                ",
+"                                ",
+"                                ",
+"                                ",
+"                                ",
+"                                ",
+"                                ",
+"                                ",
+"                                ",
+"         ...         ...        ",
+"        .....       .....       ",
+"       + at .....     .......      ",
+"      ++ at ......   .........     ",
+"      ++ at ....... ..........     ",
+"      ++ at ..................     ",
+"       + at .................      ",
+"        .................       ",
+"         ...............        ",
+"          .............         ",
+"           ...........          ",
+"          .............         ",
+"         ...............        ",
+"        .................       ",
+"       ...................      ",
+"      .....................     ",
+"      .......... ..........     ",
+"      .........   .........     ",
+"       .......     .......      ",
+"        .....       .....       ",
+"         ...         ...        ",
+"                                ",
+"                                ",
+"                                ",
+"                                ",
+"                                ",
+"                                ",
+"                                ",
+"                                ",
+"                                "};

Added: trunk/src/target/OM-2007.2/libraries/moko-gtk-engine/data/matchbox/menubutton.xpm
===================================================================
--- trunk/src/target/OM-2007.2/libraries/moko-gtk-engine/data/matchbox/menubutton.xpm	2008-04-03 16:22:46 UTC (rev 4306)
+++ trunk/src/target/OM-2007.2/libraries/moko-gtk-engine/data/matchbox/menubutton.xpm	2008-04-03 16:37:21 UTC (rev 4307)
@@ -0,0 +1,47 @@
+/* XPM */
+static char * menubutton_xpm[] = {
+"32 40 4 1",
+" 	c None",
+".	c #FFFFFF",
+"+	c #FDFDFD",
+"@	c #FEFEFE",
+"                                ",
+"                                ",
+"                                ",
+"                                ",
+"                                ",
+"                                ",
+"                                ",
+"                                ",
+"                                ",
+"                                ",
+"                                ",
+"                                ",
+"                                ",
+"                                ",
+"         ...         +++        ",
+"        .....       +++++       ",
+"       +@@@@@+     +++++++      ",
+"      +++++++++   +++++++++     ",
+"      ++++++++++ ++++++++++     ",
+"      +++++++++++++++++++++     ",
+"       +++++++++++++++++++      ",
+"        +++++++++++++++++       ",
+"         +++++++++++++++        ",
+"          +++++++++++++         ",
+"           +++++++++++          ",
+"            +++++++++           ",
+"             +++++++            ",
+"              +++++             ",
+"               +++              ",
+"                                ",
+"                                ",
+"                                ",
+"                                ",
+"                                ",
+"                                ",
+"                                ",
+"                                ",
+"                                ",
+"                                ",
+"                                "};

Added: trunk/src/target/OM-2007.2/libraries/moko-gtk-engine/data/matchbox/theme.desktop
===================================================================
--- trunk/src/target/OM-2007.2/libraries/moko-gtk-engine/data/matchbox/theme.desktop	2008-04-03 16:22:46 UTC (rev 4306)
+++ trunk/src/target/OM-2007.2/libraries/moko-gtk-engine/data/matchbox/theme.desktop	2008-04-03 16:37:21 UTC (rev 4307)
@@ -0,0 +1,20 @@
+[Desktop Entry]
+Type=MBTheme
+Name=OpenMoko-Standard-2
+Preview=XXX
+Comment=OpenMoko theme
+ThemePath=@prefix@/themes/openmoko-standard-2
+
+MenuBgColor=#000000
+MenuFgColor=#ffffff
+MenuBdColor=#ff7f00
+MenuHlColor=#2c2c2c
+
+PanelFgColor=#ffffff
+PanelBgColor=#00000000
+DesktopBgSpec=col-solid:#000000
+DesktopHlCol=#2c2c2c
+
+PanelMsgBgCol=#000000 
+PanelMsgBgUrgentCol=#2c2c2c
+PanelMsgFgCol=#ffffff

Added: trunk/src/target/OM-2007.2/libraries/moko-gtk-engine/data/matchbox/theme.xml
===================================================================
--- trunk/src/target/OM-2007.2/libraries/moko-gtk-engine/data/matchbox/theme.xml	2008-04-03 16:22:46 UTC (rev 4306)
+++ trunk/src/target/OM-2007.2/libraries/moko-gtk-engine/data/matchbox/theme.xml	2008-04-03 16:37:21 UTC (rev 4307)
@@ -0,0 +1,95 @@
+<?xml version="1.0"?>
+<theme name="OpenMoko-Standard-2" author="Chris Lord - chris at openedhand.com"
+       desc="The default OpenMoko theme" version="1.0" engine_version="1" >
+
+<color id="white" def="#ffffff" />
+<color id="black" def="#000000ff" />
+<color id="orange" def="#ff7f00ff" />
+<color id="transparent" def="#00000000" />
+
+<color id="dark" def="#000000" />
+<color id="darkmid" def="#161616" />
+<color id="light" def="#858585" />
+<color id="lightmid" def="#2c2c2c" />
+
+<font id="titlefont" def="Sans bold 30px" />
+<font id="menufont" def="Sans bold 32px" />
+
+<pixmap id="closebutton" filename="closebutton.xpm" />  
+<pixmap id="menubutton"  filename="menubutton.xpm" />  
+
+<frame id="main" height="50">
+
+  <layer x="0" y="0" w="100%"  h="47" 
+   type="plain" color="black" />
+
+  <layer x="10" y="10" w="33%" h="37" 
+   type="label" color="white" justify="left" font="titlefont" />
+
+  <button x="5" y="0" w="33%" h="47" action="menu" options="inputonly" />
+
+  <button x="33%+5" y="0" w="32" h="50" action="custom">
+   <active pixmap="menubutton" blend="-150"/>
+   <inactive pixmap="menubutton" />
+  </button>
+
+   <panel x="33%+37" y="0" w="67%-37" h="40" />
+
+</frame>
+
+<frame id="dialog" height="50">
+
+  <layer x="0" y="0" w="100%"  h="25" 
+   type="gradient-vert" startcol="light" endcol="lightmid" />
+
+  <layer x="0" y="20" w="100%"  h="25" 
+   type="gradient-vert" startcol="darkmid" endcol="dark" />
+
+  <layer x="36" y="9" w="100%" h="37" 
+   type="label" color="white" justify="left" font="titlefont" />
+
+  <button x="0" y="0" w="32" h="50" action="close" >
+   <active pixmap="closebutton" blend="-150"/>
+   <inactive pixmap="closebutton" />
+  </button>
+
+</frame>
+
+<frame id="dialog-north" height="0"/>
+
+<frame id="dialog-south" height="1">
+  <layer x="0" y="0" w="100%" h="100%"
+   type="plain" color="dark" />
+</frame>
+
+<frame id="dialog-east" width="1">
+  <layer x="0" y="0" w="100%" h="100%"
+   type="plain" color="dark" />
+</frame>
+
+<frame id="dialog-west" width="1">
+  <layer x="0" y="0" w="100%" h="100%"
+   type="plain" color="dark" />
+</frame>
+
+<frame id="menu"
+    border_north="0"
+    border_south="4"
+    border_west="4"
+    border_east="4"
+    fixed_width="320"
+    font="menufont" highlight="lightmid" color="white" options="shaped">
+
+  <layer x="0" y="0" w="100%" h="100%"
+   type="plain" color="orange" />
+
+  <layer x="3" y="0" w="100%-6"  h="100%-3" 
+   type="plain" color="black" />
+
+</frame>
+
+<lowlight color="black" /> 
+<shadow style="gaussian" />
+
+</theme>
+





More information about the commitlog mailing list