r3210 - in trunk/src/target/OM-2007.2/artwork/themes/openmoko-standard-2/gtk-2.0: . mokomediaplayer
abraxa at sita.openmoko.org
abraxa at sita.openmoko.org
Wed Oct 17 23:49:32 CEST 2007
Author: abraxa
Date: 2007-10-17 23:49:31 +0200 (Wed, 17 Oct 2007)
New Revision: 3210
Modified:
trunk/src/target/OM-2007.2/artwork/themes/openmoko-standard-2/gtk-2.0/mokomediaplayer/pgbar_background.png
trunk/src/target/OM-2007.2/artwork/themes/openmoko-standard-2/gtk-2.0/mokomediaplayer/pgbar_bar.png
trunk/src/target/OM-2007.2/artwork/themes/openmoko-standard-2/gtk-2.0/openmoko-mediaplayer
Log:
Fix the GtkProgressBar theming
Modified: trunk/src/target/OM-2007.2/artwork/themes/openmoko-standard-2/gtk-2.0/mokomediaplayer/pgbar_background.png
===================================================================
(Binary files differ)
Modified: trunk/src/target/OM-2007.2/artwork/themes/openmoko-standard-2/gtk-2.0/mokomediaplayer/pgbar_bar.png
===================================================================
(Binary files differ)
Modified: trunk/src/target/OM-2007.2/artwork/themes/openmoko-standard-2/gtk-2.0/openmoko-mediaplayer
===================================================================
--- trunk/src/target/OM-2007.2/artwork/themes/openmoko-standard-2/gtk-2.0/openmoko-mediaplayer 2007-10-17 18:30:27 UTC (rev 3209)
+++ trunk/src/target/OM-2007.2/artwork/themes/openmoko-standard-2/gtk-2.0/openmoko-mediaplayer 2007-10-17 21:49:31 UTC (rev 3210)
@@ -90,25 +90,43 @@
style "omp-main-btm-progressbar"
{
- bg[NORMAL] = "#181818"
- bg[PRELIGHT] = "#d66900"
+ # This color must be the same as pgbar_bar.png
+ # The first couple pixels will be drawn with it
+ # Why, you ask? It's GTK...
+ bg[PRELIGHT] = "#b15400"
- xthickness = 5
- ythickness = 5
-# GtkProgressBar::xspacing = 1
-# GtkProgressBar::yspacing = 1
+ xthickness = 6
+ ythickness = 6
engine "pixmap"
{
- image
+ image
{
+ function = BOX
+ detail = "trough"
+ file = "mokomediaplayer/pgbar_background.png"
+ border = { 0, 0, 0, 0 }
+ stretch = TRUE
+ orientation = HORIZONTAL
+ }
+ image
+ {
+ function = BOX
+ detail = "bar"
+ file = "mokomediaplayer/pgbar_bar.png"
+ border = { 0, 0, 0, 0 }
+ stretch = TRUE
+ orientation = HORIZONTAL
+ }
+ image
+ {
function = SHADOW
shadow = IN
file = "mokomediaplayer/frame.png"
- border = { 2, 2, 2, 2 }
+ border = { 0, 0, 0, 0 }
stretch = TRUE
}
- image
+ image
{
function = SHADOW
shadow = OUT
@@ -118,7 +136,7 @@
}
}
}
-widget "*omp-main-btm-progressbar" style "omp-main-btm-progressbar"
+widget "*omp-main-btm-progressbar" style : highest "omp-main-btm-progressbar"
style "omp-main-btm-button-box"
More information about the commitlog
mailing list