From 54700ec66c1e1727329abc3a3c27baa504163492 Mon Sep 17 00:00:00 2001
From: Horst3180
Date: Thu, 24 Sep 2015 00:54:50 +0200
Subject: gtk2 improvements
---
common/gtk-2.0/assets-dark.svg | 54 +++++++++++++++++--
.../assets-dark/trough-horizontal-active.png | Bin 0 -> 243 bytes
.../gtk-2.0/assets-dark/trough-vertical-active.png | Bin 0 -> 264 bytes
common/gtk-2.0/assets.svg | 58 +++++++++++++++++++--
common/gtk-2.0/assets.txt | 2 +
common/gtk-2.0/assets/trough-horizontal-active.png | Bin 0 -> 243 bytes
common/gtk-2.0/assets/trough-vertical-active.png | Bin 0 -> 264 bytes
common/gtk-2.0/main.rc | 27 +++++++++-
8 files changed, 131 insertions(+), 10 deletions(-)
create mode 100644 common/gtk-2.0/assets-dark/trough-horizontal-active.png
create mode 100644 common/gtk-2.0/assets-dark/trough-vertical-active.png
create mode 100644 common/gtk-2.0/assets/trough-horizontal-active.png
create mode 100644 common/gtk-2.0/assets/trough-vertical-active.png
diff --git a/common/gtk-2.0/assets-dark.svg b/common/gtk-2.0/assets-dark.svg
index 03f4f96..ec74a71 100644
--- a/common/gtk-2.0/assets-dark.svg
+++ b/common/gtk-2.0/assets-dark.svg
@@ -566,11 +566,11 @@
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="11.313708"
- inkscape:cx="247.42082"
- inkscape:cy="280.79196"
+ inkscape:cx="258.94404"
+ inkscape:cy="123.52013"
inkscape:document-units="px"
inkscape:current-layer="layer1"
- showgrid="false"
+ showgrid="true"
showborder="false"
inkscape:window-width="1366"
inkscape:window-height="720"
@@ -5220,5 +5220,53 @@
id="focus-line"
style="display:inline;opacity:1;fill:none;fill-opacity:1;stroke:#cfd6e6;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.14492753"
inkscape:label="#rect6176-4-2" />
+
+
+
+
+
+
+
+
diff --git a/common/gtk-2.0/assets-dark/trough-horizontal-active.png b/common/gtk-2.0/assets-dark/trough-horizontal-active.png
new file mode 100644
index 0000000..eb9a0b0
Binary files /dev/null and b/common/gtk-2.0/assets-dark/trough-horizontal-active.png differ
diff --git a/common/gtk-2.0/assets-dark/trough-vertical-active.png b/common/gtk-2.0/assets-dark/trough-vertical-active.png
new file mode 100644
index 0000000..3c5938f
Binary files /dev/null and b/common/gtk-2.0/assets-dark/trough-vertical-active.png differ
diff --git a/common/gtk-2.0/assets.svg b/common/gtk-2.0/assets.svg
index 1b44f6e..940d4c4 100644
--- a/common/gtk-2.0/assets.svg
+++ b/common/gtk-2.0/assets.svg
@@ -565,12 +565,12 @@
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
- inkscape:zoom="4"
- inkscape:cx="403.8686"
- inkscape:cy="386.55985"
+ inkscape:zoom="11.313708"
+ inkscape:cx="263.61274"
+ inkscape:cy="122.03206"
inkscape:document-units="px"
- inkscape:current-layer="layer1"
- showgrid="false"
+ inkscape:current-layer="layer3"
+ showgrid="true"
showborder="false"
inkscape:window-width="1366"
inkscape:window-height="720"
@@ -5187,5 +5187,53 @@
id="focus-line"
style="display:inline;opacity:1;fill:none;fill-opacity:1;stroke:#cfd6e6;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.67346936"
inkscape:label="#rect6176-4-2" />
+
+
+
+
+
+
+
+
diff --git a/common/gtk-2.0/assets.txt b/common/gtk-2.0/assets.txt
index f1b7a1c..6acfe2c 100644
--- a/common/gtk-2.0/assets.txt
+++ b/common/gtk-2.0/assets.txt
@@ -95,6 +95,8 @@ slider-insensitive
slider-prelight
trough-horizontal
trough-vertical
+trough-horizontal-active
+trough-vertical-active
slider-horiz
slider-horiz-active
slider-horiz-insens
diff --git a/common/gtk-2.0/assets/trough-horizontal-active.png b/common/gtk-2.0/assets/trough-horizontal-active.png
new file mode 100644
index 0000000..eb9a0b0
Binary files /dev/null and b/common/gtk-2.0/assets/trough-horizontal-active.png differ
diff --git a/common/gtk-2.0/assets/trough-vertical-active.png b/common/gtk-2.0/assets/trough-vertical-active.png
new file mode 100644
index 0000000..3c5938f
Binary files /dev/null and b/common/gtk-2.0/assets/trough-vertical-active.png differ
diff --git a/common/gtk-2.0/main.rc b/common/gtk-2.0/main.rc
index 665be9b..c850de1 100644
--- a/common/gtk-2.0/main.rc
+++ b/common/gtk-2.0/main.rc
@@ -42,6 +42,11 @@ style "default" {
GtkHScale::slider_length = 15
GtkHScale::slider_width = 15
+ GtkScale::trough-side-details = 1
+
+ GtkProgressBar::min-horizontal-bar-height = 8
+ GtkProgressBar::min-vertical-bar-width = 8
+
GtkStatusbar::shadow_type = GTK_SHADOW_NONE
GtkSpinButton::shadow_type = GTK_SHADOW_NONE
GtkMenuBar::shadow-type = GTK_SHADOW_NONE
@@ -1871,7 +1876,7 @@ style "range" {
image {
function = BOX
- detail = "trough"
+ detail = "trough-upper"
file = "assets/trough-horizontal.png"
border = { 4, 4, 0, 0 }
stretch = TRUE
@@ -1880,13 +1885,31 @@ style "range" {
image {
function = BOX
- detail = "trough"
+ detail = "trough-lower"
+ file = "assets/trough-horizontal-active.png"
+ border = { 4, 4, 0, 0 }
+ stretch = TRUE
+ orientation = HORIZONTAL
+ }
+
+ image {
+ function = BOX
+ detail = "trough-upper"
file = "assets/trough-vertical.png"
border = { 0, 0, 4, 4 }
stretch = TRUE
orientation = VERTICAL
}
+ image {
+ function = BOX
+ detail = "trough-lower"
+ file = "assets/trough-vertical-active.png"
+ border = { 0, 0, 4, 4 }
+ stretch = TRUE
+ orientation = VERTICAL
+ }
+
# Horizontal
image {
--
cgit v1.2.3