r1815 - in trunk/src/target/OM-2007/artwork/themes: openmoko-standard/gtk-2.0 openmoko-standard-qvga/gtk-2.0

mickey at sita.openmoko.org mickey at sita.openmoko.org
Tue Apr 24 01:44:44 CEST 2007


Author: mickey
Date: 2007-04-24 01:44:43 +0200 (Tue, 24 Apr 2007)
New Revision: 1815

Added:
   trunk/src/target/OM-2007/artwork/themes/openmoko-standard-qvga/gtk-2.0/mokoscrolledpane
   trunk/src/target/OM-2007/artwork/themes/openmoko-standard/gtk-2.0/mokoscrolledpane
Modified:
   trunk/src/target/OM-2007/artwork/themes/openmoko-standard-qvga/gtk-2.0/gtkrc
   trunk/src/target/OM-2007/artwork/themes/openmoko-standard/gtk-2.0/gtkrc
Log:
themes: add support for mokoscrolledpane (successor to mokodetailswindow)


Modified: trunk/src/target/OM-2007/artwork/themes/openmoko-standard/gtk-2.0/gtkrc
===================================================================
--- trunk/src/target/OM-2007/artwork/themes/openmoko-standard/gtk-2.0/gtkrc	2007-04-23 22:03:25 UTC (rev 1814)
+++ trunk/src/target/OM-2007/artwork/themes/openmoko-standard/gtk-2.0/gtkrc	2007-04-23 23:44:43 UTC (rev 1815)
@@ -111,6 +111,7 @@
 include "gtktreeview"
 
 include "mokodetailswindow"
+include "mokoscrolledpane"
 include "mokodialogwindow"
 include "mokofingerbutton"
 include "mokofingertoolbox"

Added: trunk/src/target/OM-2007/artwork/themes/openmoko-standard/gtk-2.0/mokoscrolledpane
===================================================================
--- trunk/src/target/OM-2007/artwork/themes/openmoko-standard/gtk-2.0/mokoscrolledpane	2007-04-23 22:03:25 UTC (rev 1814)
+++ trunk/src/target/OM-2007/artwork/themes/openmoko-standard/gtk-2.0/mokoscrolledpane	2007-04-23 23:44:43 UTC (rev 1815)
@@ -0,0 +1,72 @@
+style "mokoscrolledpane-fullscreen-button" {
+    engine "pixmap" {
+        image {
+            function        = BOX
+            recolorable     = TRUE
+            state           = NORMAL
+            file            = "openmoko-scroll-fullscreen-btn-off.png"
+            border          = { 0, 0, 0, 0 }
+            stretch         = TRUE
+        }
+        image {
+            function        = BOX
+            recolorable     = TRUE
+            state           = PRELIGHT
+            file            = "openmoko-scroll-fullscreen-btn-off.png"
+            border          = { 0, 0, 0, 0 }
+            stretch         = TRUE
+        }
+        image {
+            function        = BOX
+            recolorable     = TRUE
+            state           = ACTIVE
+            file            = "openmoko-scroll-fullscreen-btn-off-pressed.png"
+            border          = { 0, 0, 0, 0 }
+            stretch         = TRUE
+        }
+    }
+    MokoPixmapButton::size-request = { 0, 37, 0, 26 }
+    GtkButton::focus-line-width = 0
+}
+widget "*.mokoscrolledpane-fullscreen-button" style "mokoscrolledpane-fullscreen-button"
+
+style "mokoscrolledpane-fullscreen-button-on" {
+    engine "pixmap" {
+        image {
+            function        = BOX
+            recolorable     = TRUE
+            state           = NORMAL
+            shadow          = OUT
+            file            = "openmoko-scroll-fullscreen-btn-on.png"
+            border          = { 0, 0, 0, 0 }
+            stretch         = TRUE
+        }
+        image {
+            function        = BOX
+            recolorable     = TRUE
+            state           = PRELIGHT
+            file            = "openmoko-scroll-fullscreen-btn-on.png"
+            border          = { 0, 0, 0, 0 }
+            stretch         = TRUE
+        }
+        image {
+            function        = BOX
+            recolorable     = TRUE
+            state           = ACTIVE
+            file            = "openmoko-scroll-fullscreen-btn-on-pressed.png"
+            border          = { 0, 0, 0, 0 }
+            stretch         = TRUE
+        }
+    }
+    MokoPixmapButton::size-request = { 0, 37, 0, 26 }
+    GtkButton::focus-line-width = 0
+}
+widget "*.mokoscrolledpane-fullscreen-button-on" style "mokoscrolledpane-fullscreen-button-on"
+
+style "mokoscrolledpane" {
+    bg[NORMAL] = "#e5e5e5"
+    fg[NORMAL] = "#000"
+    bg_pixmap[NORMAL] = ""
+}
+widget "*.MokoScrolledPane.*" style "mokoscrolledpane"
+

Modified: trunk/src/target/OM-2007/artwork/themes/openmoko-standard-qvga/gtk-2.0/gtkrc
===================================================================
--- trunk/src/target/OM-2007/artwork/themes/openmoko-standard-qvga/gtk-2.0/gtkrc	2007-04-23 22:03:25 UTC (rev 1814)
+++ trunk/src/target/OM-2007/artwork/themes/openmoko-standard-qvga/gtk-2.0/gtkrc	2007-04-23 23:44:43 UTC (rev 1815)
@@ -111,6 +111,7 @@
 include "gtktreeview"
 
 include "mokodetailswindow"
+include "mokoscrolledpane"
 include "mokodialogwindow"
 include "mokofingerbutton"
 include "mokofingertoolbox"

Added: trunk/src/target/OM-2007/artwork/themes/openmoko-standard-qvga/gtk-2.0/mokoscrolledpane
===================================================================
--- trunk/src/target/OM-2007/artwork/themes/openmoko-standard-qvga/gtk-2.0/mokoscrolledpane	2007-04-23 22:03:25 UTC (rev 1814)
+++ trunk/src/target/OM-2007/artwork/themes/openmoko-standard-qvga/gtk-2.0/mokoscrolledpane	2007-04-23 23:44:43 UTC (rev 1815)
@@ -0,0 +1,72 @@
+style "mokoscrolledpane-fullscreen-button" {
+    engine "pixmap" {
+        image {
+            function        = BOX
+            recolorable     = TRUE
+            state           = NORMAL
+            file            = "openmoko-scroll-fullscreen-btn-off.png"
+            border          = { 0, 0, 0, 0 }
+            stretch         = TRUE
+        }
+        image {
+            function        = BOX
+            recolorable     = TRUE
+            state           = PRELIGHT
+            file            = "openmoko-scroll-fullscreen-btn-off.png"
+            border          = { 0, 0, 0, 0 }
+            stretch         = TRUE
+        }
+        image {
+            function        = BOX
+            recolorable     = TRUE
+            state           = ACTIVE
+            file            = "openmoko-scroll-fullscreen-btn-off-pressed.png"
+            border          = { 0, 0, 0, 0 }
+            stretch         = TRUE
+        }
+    }
+    MokoPixmapButton::size-request = { 0, 19, 0, 13 }
+    GtkButton::focus-line-width = 0
+}
+widget "*.mokoscrolledpane-fullscreen-button" style "mokoscrolledpane-fullscreen-button"
+
+style "mokoscrolledpane-fullscreen-button-on" {
+    engine "pixmap" {
+        image {
+            function        = BOX
+            recolorable     = TRUE
+            state           = NORMAL
+            shadow          = OUT
+            file            = "openmoko-scroll-fullscreen-btn-on.png"
+            border          = { 0, 0, 0, 0 }
+            stretch         = TRUE
+        }
+        image {
+            function        = BOX
+            recolorable     = TRUE
+            state           = PRELIGHT
+            file            = "openmoko-scroll-fullscreen-btn-on.png"
+            border          = { 0, 0, 0, 0 }
+            stretch         = TRUE
+        }
+        image {
+            function        = BOX
+            recolorable     = TRUE
+            state           = ACTIVE
+            file            = "openmoko-scroll-fullscreen-btn-on-pressed.png"
+            border          = { 0, 0, 0, 0 }
+            stretch         = TRUE
+        }
+    }
+    MokoPixmapButton::size-request = { 0, 19, 0, 13 }
+    GtkButton::focus-line-width = 0
+}
+widget "*.mokoscrolledpane-fullscreen-button-on" style "mokoscrolledpane-fullscreen-button-on"
+
+style "mokoscrolledpane" {
+    bg[NORMAL] = "#e5e5e5"
+    fg[NORMAL] = "#000"
+    bg_pixmap[NORMAL] = ""
+}
+widget "*.MokoScrolledPane.*" style "mokoscrolledpane"
+





More information about the commitlog mailing list