From bdb577079097c17e842a40fa0de8b4bea1ce8c16 Mon Sep 17 00:00:00 2001 From: bionel Date: Sun, 2 Aug 2015 16:36:07 +0300 Subject: preparing for pixmap check/radio --- .../Check-Radio/checkbox-checked-insensitive.svg | 234 +++++++++++ .../gtk-2.0/Check-Radio/checkbox-checked.svg | 430 ++++++++++++++++++++ .../Check-Radio/checkbox-unchecked-insensitive.svg | 194 +++++++++ .../gtk-2.0/Check-Radio/checkbox-unchecked.svg | 420 ++++++++++++++++++++ .../Check-Radio/option-checked-insensitive.svg | 258 ++++++++++++ .../gtk-2.0/Check-Radio/option-checked.svg | 433 +++++++++++++++++++++ .../Check-Radio/option-unchecked-insensitive.svg | 248 ++++++++++++ .../gtk-2.0/Check-Radio/option-unchecked.svg | 423 ++++++++++++++++++++ Kogaion-nighttime/gtk-2.0/gtkrc | 210 +++++++++- 9 files changed, 2836 insertions(+), 14 deletions(-) create mode 100755 Kogaion-nighttime/gtk-2.0/Check-Radio/checkbox-checked-insensitive.svg create mode 100755 Kogaion-nighttime/gtk-2.0/Check-Radio/checkbox-checked.svg create mode 100755 Kogaion-nighttime/gtk-2.0/Check-Radio/checkbox-unchecked-insensitive.svg create mode 100755 Kogaion-nighttime/gtk-2.0/Check-Radio/checkbox-unchecked.svg create mode 100755 Kogaion-nighttime/gtk-2.0/Check-Radio/option-checked-insensitive.svg create mode 100755 Kogaion-nighttime/gtk-2.0/Check-Radio/option-checked.svg create mode 100755 Kogaion-nighttime/gtk-2.0/Check-Radio/option-unchecked-insensitive.svg create mode 100755 Kogaion-nighttime/gtk-2.0/Check-Radio/option-unchecked.svg (limited to 'Kogaion-nighttime') diff --git a/Kogaion-nighttime/gtk-2.0/Check-Radio/checkbox-checked-insensitive.svg b/Kogaion-nighttime/gtk-2.0/Check-Radio/checkbox-checked-insensitive.svg new file mode 100755 index 0000000..1362e02 --- /dev/null +++ b/Kogaion-nighttime/gtk-2.0/Check-Radio/checkbox-checked-insensitive.svg @@ -0,0 +1,234 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + diff --git a/Kogaion-nighttime/gtk-2.0/Check-Radio/checkbox-checked.svg b/Kogaion-nighttime/gtk-2.0/Check-Radio/checkbox-checked.svg new file mode 100755 index 0000000..3bbf3bb --- /dev/null +++ b/Kogaion-nighttime/gtk-2.0/Check-Radio/checkbox-checked.svg @@ -0,0 +1,430 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + diff --git a/Kogaion-nighttime/gtk-2.0/Check-Radio/checkbox-unchecked-insensitive.svg b/Kogaion-nighttime/gtk-2.0/Check-Radio/checkbox-unchecked-insensitive.svg new file mode 100755 index 0000000..a7e534a --- /dev/null +++ b/Kogaion-nighttime/gtk-2.0/Check-Radio/checkbox-unchecked-insensitive.svg @@ -0,0 +1,194 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + diff --git a/Kogaion-nighttime/gtk-2.0/Check-Radio/checkbox-unchecked.svg b/Kogaion-nighttime/gtk-2.0/Check-Radio/checkbox-unchecked.svg new file mode 100755 index 0000000..a9c741a --- /dev/null +++ b/Kogaion-nighttime/gtk-2.0/Check-Radio/checkbox-unchecked.svg @@ -0,0 +1,420 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + diff --git a/Kogaion-nighttime/gtk-2.0/Check-Radio/option-checked-insensitive.svg b/Kogaion-nighttime/gtk-2.0/Check-Radio/option-checked-insensitive.svg new file mode 100755 index 0000000..72d58ce --- /dev/null +++ b/Kogaion-nighttime/gtk-2.0/Check-Radio/option-checked-insensitive.svg @@ -0,0 +1,258 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + diff --git a/Kogaion-nighttime/gtk-2.0/Check-Radio/option-checked.svg b/Kogaion-nighttime/gtk-2.0/Check-Radio/option-checked.svg new file mode 100755 index 0000000..8188537 --- /dev/null +++ b/Kogaion-nighttime/gtk-2.0/Check-Radio/option-checked.svg @@ -0,0 +1,433 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + diff --git a/Kogaion-nighttime/gtk-2.0/Check-Radio/option-unchecked-insensitive.svg b/Kogaion-nighttime/gtk-2.0/Check-Radio/option-unchecked-insensitive.svg new file mode 100755 index 0000000..4c31e0d --- /dev/null +++ b/Kogaion-nighttime/gtk-2.0/Check-Radio/option-unchecked-insensitive.svg @@ -0,0 +1,248 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + diff --git a/Kogaion-nighttime/gtk-2.0/Check-Radio/option-unchecked.svg b/Kogaion-nighttime/gtk-2.0/Check-Radio/option-unchecked.svg new file mode 100755 index 0000000..5008b39 --- /dev/null +++ b/Kogaion-nighttime/gtk-2.0/Check-Radio/option-unchecked.svg @@ -0,0 +1,423 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + diff --git a/Kogaion-nighttime/gtk-2.0/gtkrc b/Kogaion-nighttime/gtk-2.0/gtkrc index 13e5e0f..20c1851 100755 --- a/Kogaion-nighttime/gtk-2.0/gtkrc +++ b/Kogaion-nighttime/gtk-2.0/gtkrc @@ -659,20 +659,202 @@ style "checkradio" { text[PRELIGHT] = shade (1.4, @selected_bg_color) # indicador hover text[ACTIVE] = @selected_bg_color # indicador click - bg[ACTIVE] = @base_color # toggle button selected - bg[SELECTED] = @base_color # radiocheck color checked - bg[PRELIGHT] = @base_color # toggle button prelight - bg[INSENSITIVE] = @base_color # toggle button disabled + bg[ACTIVE] = shade (0.70, @base_color) # toggle button selected + bg[NORMAL] = shade (0.91, @base_color) # toggle button normal + bg[PRELIGHT] = shade (1.00, @theme_bg_color) # toggle button prelight + bg[INSENSITIVE] = shade (0.97, @theme_bg_color) # toggle button disabled engine "murrine" { - border_shades = {1.4, 1.0} - contrast = 1.2 -# gradient_shades = {0.90, 0.95, 0.95, 1.00} -# lightborderstyle = 0 -# lightborder_shade = 0.90 - textstyle = 2 - text_shade = 0.1 - + border_shades = {0.9, 1.0} + contrast = 1.20 + gradient_shades = {1.1,1.0,1.0,1.1} + lightborderstyle = 0 + lightborder_shade = 0.90 + textstyle = 0 + } +} + +#Add pixmap style for check/radiobuttons + +style "checkradio-pixmap" { + engine "pixmap" + { + + # Check Buttons + + image + { + function = CHECK + recolorable = TRUE + state = NORMAL + shadow = OUT + overlay_file = "Check-Radio/checkbox-unchecked.svg" + overlay_stretch = FALSE + } + image + { + function = CHECK + recolorable = TRUE + state = PRELIGHT + shadow = OUT + overlay_file = "Check-Radio/checkbox-unchecked.svg" + overlay_stretch = FALSE + } + image + { + function = CHECK + recolorable = TRUE + state = ACTIVE + shadow = OUT + overlay_file = "Check-Radio/checkbox-unchecked.svg" + overlay_stretch = FALSE + } + image + { + function = CHECK + recolorable = TRUE + state = SELECTED + shadow = OUT + overlay_file = "Check-Radio/checkbox-unchecked.svg" + overlay_stretch = FALSE + } + image + { + function = CHECK + recolorable = TRUE + state = INSENSITIVE + shadow = OUT + overlay_file = "Check-Radio/checkbox-unchecked-insensitive.svg" + overlay_stretch = FALSE + } + image + { + function = CHECK + recolorable = TRUE + state = NORMAL + shadow = IN + overlay_file = "Check-Radio/checkbox-checked.svg" + overlay_stretch = FALSE + } + image + { + function = CHECK + recolorable = TRUE + state = PRELIGHT + shadow = IN + overlay_file = "Check-Radio/checkbox-checked.svg" + overlay_stretch = FALSE + } + image + { + function = CHECK + recolorable = TRUE + state = ACTIVE + shadow = IN + overlay_file = "Check-Radio/checkbox-checked.svg" + overlay_stretch = FALSE + } + image + { + function = CHECK + recolorable = TRUE + state = SELECTED + shadow = IN + overlay_file = "Check-Radio/checkbox-checked.svg" + overlay_stretch = FALSE + } + image + { + function = CHECK + recolorable = TRUE + state = INSENSITIVE + shadow = IN + overlay_file = "Check-Radio/checkbox-checked-insensitive.svg" + overlay_stretch = FALSE + } + + # Radio Buttons + + image + { + function = OPTION + state = NORMAL + shadow = OUT + overlay_file = "Check-Radio/option-unchecked.svg" + overlay_stretch = FALSE + } + image + { + function = OPTION + state = PRELIGHT + shadow = OUT + overlay_file = "Check-Radio/option-unchecked.svg" + overlay_stretch = FALSE + } + image + { + function = OPTION + state = ACTIVE + shadow = OUT + overlay_file = "Check-Radio/option-unchecked.svg" + overlay_stretch = FALSE + } + image + { + function = OPTION + state = SELECTED + shadow = OUT + overlay_file = "Check-Radio/option-unchecked.svg" + overlay_stretch = FALSE + } + image + { + function = OPTION + state = INSENSITIVE + shadow = OUT + overlay_file = "Check-Radio/option-unchecked-insensitive.svg" + overlay_stretch = FALSE + } + image + { + function = OPTION + state = NORMAL + shadow = IN + overlay_file = "Check-Radio/option-checked.svg" + overlay_stretch = FALSE + } + image + { + function = OPTION + state = PRELIGHT + shadow = IN + overlay_file = "Check-Radio/option-checked.svg" + overlay_stretch = FALSE + } + image + { + function = OPTION + state = ACTIVE + shadow = IN + overlay_file = "Check-Radio/option-checked.svg" + overlay_stretch = FALSE + } + image + { + function = OPTION + state = SELECTED + shadow = IN + overlay_file = "Check-Radio/option-checked.svg" + overlay_stretch = FALSE + } + image + { + function = OPTION + state = INSENSITIVE + shadow = IN + overlay_file = "Check-Radio/option-checked-insensitive.svg" + overlay_stretch = FALSE + } } } @@ -793,8 +975,8 @@ widget_class "*.." style "treeview_header" widget "gtk-tooltip*" style "tooltips" -widget_class "**" style "checkradio" -widget_class "**" style "checkradio" +widget_class "**" style "checkradio-pixmap" +widget_class "**" style "checkradio-pixmap" widget_class "**" style:highest "checkradio_label" widget_class "**" style:highest "checkradio_label" -- cgit v1.2.3