Initial import of the Matchbox/GTK theme for the GUI elements.
authorDavid-John Willis <John.Willis@Distant-earth.com>
Wed, 20 May 2009 13:01:41 +0000 (14:01 +0100)
committerDavid-John Willis <John.Willis@Distant-earth.com>
Wed, 20 May 2009 13:01:41 +0000 (14:01 +0100)
16 files changed:
gui_theme/gtk-2.0/gtkrc [new file with mode: 0755]
gui_theme/index.theme [new file with mode: 0755]
gui_theme/matchbox/38x38-closebuttonup.png [new file with mode: 0755]
gui_theme/matchbox/38x38-menubutton.png [new file with mode: 0755]
gui_theme/matchbox/38x38-menubuttondown.png [new file with mode: 0755]
gui_theme/matchbox/PandoraWallpaper.png [new file with mode: 0755]
gui_theme/matchbox/bgtile.png [new file with mode: 0755]
gui_theme/matchbox/bottom-left-6x6.png [new file with mode: 0755]
gui_theme/matchbox/bottom-right-6x6.png [new file with mode: 0755]
gui_theme/matchbox/theme.desktop [new file with mode: 0755]
gui_theme/matchbox/theme.xml [new file with mode: 0755]
gui_theme/matchbox/title-bg-tile-16x40.png [new file with mode: 0755]
gui_theme/matchbox/title-left-10x40.png [new file with mode: 0755]
gui_theme/matchbox/title-left-6x40.png [new file with mode: 0755]
gui_theme/matchbox/title-right-10x40.png [new file with mode: 0755]
gui_theme/matchbox/title-right-6x40.png [new file with mode: 0755]

diff --git a/gui_theme/gtk-2.0/gtkrc b/gui_theme/gtk-2.0/gtkrc
new file mode 100755 (executable)
index 0000000..cb32bcd
--- /dev/null
@@ -0,0 +1,290 @@
+gtk-color-scheme = "bg_color: #f6f6f6\nfg_color: #000\nbase_color: #fff\ntext_color: #000\nselected_bg_color: #6484a4\nselected_fg_color: #fff\ntooltip_bg_color: #e5e5e5\ntooltip_fg_color: #000000"
+
+style "industrial-default"
+{
+  xthickness = 1
+  ythickness = 1
+
+
+  GtkWidget::interior_focus = 1
+  GtkButton::default_border = { 3, 3, 3, 3 }
+  GtkButton::default_outside_border = { 3, 3, 3, 3 }
+  GtkRange::trough_border = 0
+
+  GtkWidget::focus_padding = 1
+
+  GtkPaned::handle_size = 7
+  
+  GtkRange::slider_width = 15
+  GtkRange::stepper_size = 15
+  GtkScrollbar::min_slider_length = 30
+  GtkCheckButton::indicator_size = 13
+  GtkRadioButton::indicator_size = 13
+  GtkMenuBar::internal-padding = 0
+  
+  WnckTasklist::fade-opacity = 1
+  WnckTasklist::fade-overlay-rect = 0
+  WnckTasklist::fade-loop-time = 2
+
+  GtkButton::child_displacement_x = 0
+  GtkButton::child_displacement_y = 1
+
+  GtkMenuItem::selected_shadow_type = GTK_SHADOW_IN
+
+  GtkRange::activate-slider = 1
+
+
+  # color definitions
+  bg[NORMAL]           = @bg_color
+  bg[PRELIGHT]         = shade (1.1, @bg_color)
+  bg[ACTIVE]           = shade (0.85, @bg_color)
+  bg[SELECTED]         = mix (0.65, @selected_bg_color, @bg_color)
+  bg[INSENSITIVE]      = shade (0.85, @bg_color)
+
+  fg[NORMAL]           = @fg_color
+  fg[PRELIGHT]         = @fg_color
+  fg[ACTIVE]           = @fg_color
+  fg[SELECTED]         = @selected_fg_color
+  fg[INSENSITIVE]      = mix (0.4, @fg_color, shade (0.85, @bg_color)) #shaded to bg[INSENSITIVE]
+
+  base[NORMAL]         = @base_color
+  base[PRELIGHT]       = @base_color #XXX
+  base[ACTIVE]         = mix (0.45, @selected_bg_color, @base_color) #b6c9cf
+  base[SELECTED]       = @selected_bg_color
+  base[INSENSITIVE]    = mix (0.95, @base_color, @text_color)
+
+  text[NORMAL]         = @text_color
+  text[PRELIGHT]       = @text_color #XXX
+  text[ACTIVE]         = @selected_fg_color
+  text[SELECTED]       = @selected_fg_color
+  text[INSENSITIVE]    = mix (0.5, @text_color, @base_color)
+
+#  bg[NORMAL]        = "#f6f6f6"
+#  bg[PRELIGHT]            = "#ffffff"
+#  fg[PRELIGHT]      = "#202020"
+#  bg[ACTIVE]      = "#d9d9d9"
+#  bg[INSENSITIVE]   = "#d9d9d9"
+#  bg[SELECTED]      = "#99a6bf"
+#
+#  base[SELECTED]    = "#6484a4"
+#  text[SELECTED]    = "#ffffff"
+#      #this is selected item without focus:
+#  base[ACTIVE]      = "#b6c9cf"
+#  text[INSENSITIVE] = "#757575"
+#      
+#      #defaults 
+#  #base[NORMAL]  = "#b6c9cf"
+#  #text[NORMAL]  = "#000000"
+#
+  engine "industrial"
+  {
+    # Set a hint to disable backward compatibility fallbacks.
+    hint = "use-hints"
+  }
+}
+
+# Style to apply an exterior forcus to GtkEntry
+style "industrial-exterior-focus"
+{
+       GtkWidget::interior-focus = 0
+       GtkWidget::focus-line-width = 0
+}
+
+# Add trough side details to GtkScale
+style "industrial-scale"
+{
+       GtkRange::trough-side-details = 1
+}
+
+# generic squared buttons style, used for the tasklist (treeview is in the extra treeview style)
+style "industrial-squared"
+{
+  engine "industrial" 
+  {
+    rounded_buttons = FALSE
+  }
+}
+
+style "industrial-wide"
+{
+  xthickness = 2
+  ythickness = 2
+}
+
+# style to remove the border around the progress bar
+style "industrial-progress"
+{
+  xthickness = 0
+  ythickness = 0
+}
+
+# make scrollbar arrows lighter
+style "industrial-arrows"
+{
+  fg[NORMAL] = mix (0.8, @fg_color, @bg_color)
+}
+
+# menuitems
+style "industrial-menuitem"
+{
+  xthickness = 3
+  ythickness = 3
+
+  bg[PRELIGHT]  = @selected_bg_color
+  bg[SELECTED]  = @selected_bg_color
+  fg[PRELIGHT]  = @selected_fg_color
+  fg[SELECTED]  = @selected_fg_color
+}
+
+style "industrial-menubar"
+{
+  xthickness = 3
+  ythickness = 3
+}
+
+style "industrial-tree-header"
+{
+  engine "industrial" 
+  {
+    hint = "treeview-header"
+  }
+  xthickness = 2
+  ythickness = 2
+}
+
+style "industrial-tooltips"
+{
+  xthickness = 4
+  ythickness = 4
+  bg[NORMAL] = @tooltip_bg_color
+  fg[NORMAL] = @tooltip_fg_color
+}
+
+style "industrial-druid"
+{
+  bg[SELECTED] = @selected_bg_color
+}
+
+style "metacity-frame"
+{
+
+       # Normal base color
+       bg[NORMAL]      = @bg_color
+
+       # Unfocused title background color
+       bg[INSENSITIVE] = @bg_color
+
+       # Unfocused title text color
+       fg[INSENSITIVE] = mix (0.2, @fg_color, @bg_color) # "#808080"
+
+       # Focused icon color
+       fg[NORMAL]      = mix (0.8, @fg_color, @bg_color) # same as scrollbar arrow color
+
+       # Focused title background color
+       bg[SELECTED]    = @selected_bg_color
+       
+       # Focused title text color
+       fg[SELECTED]    = @selected_fg_color
+}
+
+style "industrial-spinbutton"
+{
+       engine "industrial"
+       {
+               hint    = "spinbutton"
+       }
+}
+
+style "industrial-comboboxentry"
+{
+       engine "industrial"
+       {
+               hint    = "comboboxentry"
+       }
+}
+
+# default style
+class "GtkWidget" style "industrial-default"
+
+# wide
+class "GtkNotebook"   style "industrial-wide"
+class "GtkButton"     style "industrial-wide"
+class "GtkRange"      style "industrial-wide"
+class "GtkMenu"       style "industrial-wide"
+class "GtkFrame"      style "industrial-wide"
+class "GtkStatusbar"  style "industrial-wide"
+class "GtkEntry"      style "industrial-wide"
+
+class "GtkEntry"      style "industrial-exterior-focus"
+class "GtkSpinButton" style "industrial-spinbutton"
+class "GtkProgress"   style "industrial-progress"
+class "GtkScale"      style "industrial-scale"
+
+class "GtkVScrollbar" style "industrial-arrows"
+class "GtkHScrollbar" style "industrial-arrows"
+
+widget_class "*<GtkComboBoxEntry>.*" style "industrial-comboboxentry"
+widget_class "*<GtkCombo>.*" style "industrial-comboboxentry"
+
+# treeview
+widget_class "*.<GtkTreeView>.GtkButton" style "industrial-tree-header"
+widget_class "*.<GtkList>.GtkButton"     style "industrial-tree-header"
+widget_class "*.<GtkCList>.GtkButton"    style "industrial-tree-header"
+widget_class "*.<ETree>.*"               style "industrial-tree-header"
+widget_class "*.<ETable>.*"              style "industrial-tree-header"
+
+# menuitems and interior
+widget_class "*<GtkMenuItem>*" style "industrial-menuitem"
+
+# druide
+widget_class "*GnomeDruidPage*" style "industrial-druid"
+
+widget "gtk-tooltip*" style "industrial-tooltips"
+
+widget "*.tasklist-button" style "industrial-squared"
+
+class "MetaFrames" style "metacity-frame"
+
+
+# Work around for http://bugzilla.gnome.org/show_bug.cgi?id=382646
+# Note that the work around assumes that the combobox is _not_ in
+# appears-as-list mode.
+# This style does not affect GtkComboBoxEntry, it does have an effect
+# on comboboxes in appears-as-list mode though.
+style "industrial-text-is-fg-color-workaround"
+{
+       text[NORMAL]        = @fg_color
+       text[PRELIGHT]      = @fg_color
+       text[SELECTED]      = @selected_fg_color
+       text[ACTIVE]        = @fg_color
+       text[INSENSITIVE]   = darker (@bg_color)
+}
+widget_class "*.<GtkComboBox>.<GtkCellView>"   style "industrial-text-is-fg-color-workaround"
+
+style "industrial-menuitem-text-is-fg-color-workaround"
+{
+       text[NORMAL]        = @fg_color
+       text[PRELIGHT]      = @selected_fg_color
+       text[SELECTED]      = @selected_fg_color
+       text[ACTIVE]        = @fg_color
+       text[INSENSITIVE]   = darker (@bg_color)
+}
+widget "*.gtk-combobox-popup-menu.*"   style "industrial-menuitem-text-is-fg-color-workaround"
+
+# Work around the usage of GtkLabel inside GtkListItems to display text.
+# This breaks because the label is shown on a background that is based on the
+# base color set.
+style "industrial-fg-is-text-color-workaround"
+{
+       fg[NORMAL]      = @text_color
+       fg[PRELIGHT]    = @text_color
+       fg[ACTIVE]      = @selected_fg_color
+       fg[SELECTED]    = @selected_fg_color
+       fg[INSENSITIVE] = darker (@bg_color)
+}
+widget_class "*<GtkListItem>*" style "industrial-fg-is-text-color-workaround"
+# The same problem also exists for GtkCList and GtkCTree
+# Only match GtkCList and not the parent widgets, because that would also change the headers.
+widget_class "*<GtkCList>" style "industrial-fg-is-text-color-workaround"
+
+
diff --git a/gui_theme/index.theme b/gui_theme/index.theme
new file mode 100755 (executable)
index 0000000..3c6b04f
--- /dev/null
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Name=Pandora Large
+Type=X-GNOME-Metatheme
+Comment=Standard Look and Feel for the Pandora handheld
+Encoding=UTF-8
+
+[X-GNOME-Metatheme]
+GtkTheme=Pandora-Large
+IconTheme=pandora-large
+
diff --git a/gui_theme/matchbox/38x38-closebuttonup.png b/gui_theme/matchbox/38x38-closebuttonup.png
new file mode 100755 (executable)
index 0000000..c34d867
Binary files /dev/null and b/gui_theme/matchbox/38x38-closebuttonup.png differ
diff --git a/gui_theme/matchbox/38x38-menubutton.png b/gui_theme/matchbox/38x38-menubutton.png
new file mode 100755 (executable)
index 0000000..3d0d1ff
Binary files /dev/null and b/gui_theme/matchbox/38x38-menubutton.png differ
diff --git a/gui_theme/matchbox/38x38-menubuttondown.png b/gui_theme/matchbox/38x38-menubuttondown.png
new file mode 100755 (executable)
index 0000000..6c980cd
Binary files /dev/null and b/gui_theme/matchbox/38x38-menubuttondown.png differ
diff --git a/gui_theme/matchbox/PandoraWallpaper.png b/gui_theme/matchbox/PandoraWallpaper.png
new file mode 100755 (executable)
index 0000000..24995cd
Binary files /dev/null and b/gui_theme/matchbox/PandoraWallpaper.png differ
diff --git a/gui_theme/matchbox/bgtile.png b/gui_theme/matchbox/bgtile.png
new file mode 100755 (executable)
index 0000000..ba58172
Binary files /dev/null and b/gui_theme/matchbox/bgtile.png differ
diff --git a/gui_theme/matchbox/bottom-left-6x6.png b/gui_theme/matchbox/bottom-left-6x6.png
new file mode 100755 (executable)
index 0000000..4618fdf
Binary files /dev/null and b/gui_theme/matchbox/bottom-left-6x6.png differ
diff --git a/gui_theme/matchbox/bottom-right-6x6.png b/gui_theme/matchbox/bottom-right-6x6.png
new file mode 100755 (executable)
index 0000000..f207191
Binary files /dev/null and b/gui_theme/matchbox/bottom-right-6x6.png differ
diff --git a/gui_theme/matchbox/theme.desktop b/gui_theme/matchbox/theme.desktop
new file mode 100755 (executable)
index 0000000..17791dd
--- /dev/null
@@ -0,0 +1,19 @@
+[Desktop Entry]
+Type=MBTheme
+Name=Pandora Large
+
+DockBgColor=#f6f6f6
+TitlebarDockBgColor=#f6f6f6
+PanelFgColor=#9e9e9e
+
+MenuBgColor=#f6f6f6
+MenuFgColor=black
+MenuHlColor=#3e71aa44
+MenuBdColor=#9e9e9e
+
+DesktopBgSpec=img-tiled:./PandoraWallpaper.png
+DesktopHlCol=#3e71aa44
+
+PanelMsgBgCol=#f7be38
+PanelMsgBgUrgentCol=#d75910
+PanelMsgFgCol=black
diff --git a/gui_theme/matchbox/theme.xml b/gui_theme/matchbox/theme.xml
new file mode 100755 (executable)
index 0000000..907aa17
--- /dev/null
@@ -0,0 +1,156 @@
+<?xml version="1.0"?>
+<theme name="Pandora Large" author="EvilDragon - evildragon@openpandora.de"
+       desc="" version="1.0" engine_version="1" >
+
+<color id="black"        def="#000000" />
+<color id="white"        def="#ffffff" />
+<color id="gray"         def="#000000" />
+<color id="grayblue"     def="#A3BAD4" />
+
+<color id="dockcol"      def="#A3BAD4" />
+<color id="darkbluebdr"  def="#00178f" />
+<color id="lightblue"    def="#0063ff" />
+<color id="lightbluebdr" def="#004bff" />
+
+<color id="gtkhlcol"     def="#3e71aa" />
+
+<font id="titlefont"     def="Sans bold 30px" />
+<font id="menufont"     def="Sans bold 40px" />
+<font id="barfont"       def="Sans bold 20px" />
+
+<pixmap id="closebutton" filename="38x38-closebuttonup.png" />
+<pixmap id="menubutton" filename="38x38-menubutton.png" />
+<pixmap id="menubuttondown" filename="38x38-menubuttondown.png" />
+<pixmap id="title-bg"    filename="title-bg-tile-16x40.png" />
+<pixmap id="title-left"  filename="title-left-10x40.png" />
+<pixmap id="title-right" filename="title-right-10x40.png" />
+<pixmap id="bottom-left"  filename="bottom-left-6x6.png" />
+<pixmap id="bottom-right" filename="bottom-right-6x6.png" />
+
+<frame id="main" height="40">
+
+  <layer x="0" y="0" w="100%"  h="100%" 
+   type="plain" color="dockcol" />
+
+  <layer x="0" y="22" w="100%"  h="1" 
+   type="plain" color="grayblue" />
+
+  <layer x="0" y="0" w="object" h="object" 
+   type="pixmap" pixmap="title-left" />
+
+  <layer x="10" y="0" w="100%-10" h="object" 
+   type="pixmap" pixmap="title-bg" />
+
+  <layer x="100%-10" y="0" w="object" h="object" 
+   type="pixmap" pixmap="title-right" />
+
+  <layer x="46" y="6" w="98%-12" h="30" 
+   type="label" color="white" justify="left" font="titlefont" />
+
+  <button x="6" y="3" w="38" h="38" action="menu" >
+   <active pixmap="menubuttondown" />
+   <inactive pixmap="menubutton" />
+  </button>
+
+  <button x="100%-50" y="3" w="38" h="38" action="close" >
+   <active pixmap="closebutton" blend="-150"/>
+   <inactive pixmap="closebutton" />
+  </button>
+
+  <panel x="98%+15" y="2" w="40%-15" h="20" />
+
+</frame>
+
+<frame id="main-east"  width="0" >
+
+</frame>
+
+<frame id="main-west"  width="0" >
+
+</frame>
+
+<frame id="main-south"  height="1" >
+
+  <layer x="0" y="0" w="100%"  h="100%" 
+   type="plain" color="grayblue" />
+
+</frame>
+
+<frame id="dialog" height="23" options="shaped">
+
+  <layer x="0" y="22" w="100%"  h="1" 
+   type="plain" color="black" />
+
+  <layer x="0" y="0" w="object" h="object" 
+   type="pixmap" pixmap="title-left" />
+
+  <layer x="6" y="0" w="100%-12" h="object" 
+   type="pixmap" pixmap="title-bg" />
+
+  <layer x="100%-6" y="0" w="object" h="object" 
+   type="pixmap" pixmap="title-right" />
+
+  <layer x="28" y="3" w="100%-24" h="20" 
+   type="label" color="gray" justify="left" font="titlefont" />
+
+  <button x="100%-45" y="3" w="19" h="40" action="close" >
+   <active pixmap="closebutton" blend="-150"/>
+   <inactive pixmap="closebutton" />
+  </button>
+
+</frame>
+
+<frame id="dialog-east" width="1" >
+
+  <layer x="0" y="0" w="100%"  h="100%" 
+   type="plain" color="black" />
+
+</frame>
+
+<frame id="dialog-west" width="1" >
+
+  <layer x="0" y="0" w="100%"  h="100%" 
+   type="plain" color="black" />
+
+</frame>
+
+<frame id="dialog-south" height="1" >
+
+  <layer x="0" y="0" w="100%"  h="100%" 
+   type="plain" color="black" />
+
+</frame>
+
+<frame id="menu" height="40" 
+       font="menufont" 
+       highlight="gtkhlcol"
+       color="gray" 
+       options="shaped"
+       border_north="3" 
+       border_south="5" 
+       border_east="2"
+       border_west="2"  
+       >
+
+  <layer x="0" y="0" w="100%"  h="100%-6" 
+   type="plain" color="black" />
+
+  <layer x="1" y="1" w="100%-2"  h="100%-7" 
+   type="plain" color="white" />
+
+  <layer x="6" y="100%-6" w="100%-12"  h="6" 
+   type="plain" color="black" />
+
+  <layer x="6" y="100%-6" w="100%-12"  h="5"   
+   type="plain" color="white" />
+
+  <layer x="0" y="100%-7" w="object" h="object" 
+   type="pixmap" pixmap="bottom-left" />
+
+  <layer x="100%-6" y="100%-7" w="object" h="object" 
+   type="pixmap" pixmap="bottom-right" />
+
+
+</frame>
+
+</theme>
diff --git a/gui_theme/matchbox/title-bg-tile-16x40.png b/gui_theme/matchbox/title-bg-tile-16x40.png
new file mode 100755 (executable)
index 0000000..ce7ad51
Binary files /dev/null and b/gui_theme/matchbox/title-bg-tile-16x40.png differ
diff --git a/gui_theme/matchbox/title-left-10x40.png b/gui_theme/matchbox/title-left-10x40.png
new file mode 100755 (executable)
index 0000000..1fa123f
Binary files /dev/null and b/gui_theme/matchbox/title-left-10x40.png differ
diff --git a/gui_theme/matchbox/title-left-6x40.png b/gui_theme/matchbox/title-left-6x40.png
new file mode 100755 (executable)
index 0000000..ec0e3c0
Binary files /dev/null and b/gui_theme/matchbox/title-left-6x40.png differ
diff --git a/gui_theme/matchbox/title-right-10x40.png b/gui_theme/matchbox/title-right-10x40.png
new file mode 100755 (executable)
index 0000000..dd4118f
Binary files /dev/null and b/gui_theme/matchbox/title-right-10x40.png differ
diff --git a/gui_theme/matchbox/title-right-6x40.png b/gui_theme/matchbox/title-right-6x40.png
new file mode 100755 (executable)
index 0000000..ae761f1
Binary files /dev/null and b/gui_theme/matchbox/title-right-6x40.png differ