From 0326f950dfb4457bf3e3044cd17aeaa46e56bdac Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Wed, 31 Aug 2016 11:34:40 +0300 Subject: [PATCH] Add a border around the focused widget in the basic skin --- basic.skin | 46 ++++++++++++++++++++++++++++++++++++++++++++++ basic_skin.png | Bin 1180 -> 1445 bytes 2 files changed, 46 insertions(+) diff --git a/basic.skin b/basic.skin index 92da832..82a683e 100644 --- a/basic.skin +++ b/basic.skin @@ -21,10 +21,23 @@ graphic "dark_grey_sunken" border { vertical 3; horizontal 3; }; }; +graphic "blue_border" +{ + texture "basic_skin.png"; + slice 13 0 12 12; + border { vertical 2; horizontal 2; }; + shadow { vertical 1; horizontal 1; }; +}; + style "button" { font_color 0.0 0.0 0.0; + part + { + graphic FOCUS "blue_border"; + }; + part { graphic NORMAL "grey_raised"; @@ -68,6 +81,14 @@ style "toggle" graphic HOVER "light_grey_flat"; }; + part + { + graphic FOCUS "blue_border"; + align 0.0 0.5; + fill 0.0 0.0; + size 12 12; + }; + part { graphic NORMAL "white_sunken"; @@ -103,6 +124,13 @@ graphic "option_dot" slice 29 49 6 6; }; +graphic "blue_round_border" +{ + texture "basic_skin.png"; + slice 49 0 14 14; + shadow { vertical 1; horizontal 1; }; +}; + style "toggle-option" { font_color 0.0 0.0 0.0; @@ -112,6 +140,13 @@ style "toggle-option" graphic HOVER "light_grey_flat"; }; + part + { + graphic FOCUS "blue_round_border"; + align 0.0 0.5; + fill 0.0 0.0; + }; + part { graphic NORMAL "white_circle_sunken"; @@ -274,6 +309,11 @@ style "list" style "listitem" { + part + { + graphic FOCUS "blue_border"; + }; + part { graphic ACTIVE "blue_flat"; @@ -308,6 +348,12 @@ style "dropdown" { font_color 0.0 0.0 0.0; + part + { + graphic FOCUS "blue_border"; + graphic ACTIVE ""; + }; + part { graphic NORMAL "grey_raised"; diff --git a/basic_skin.png b/basic_skin.png index f4dbdcb117cdeffb550dcf1ab81f4d5f1c5c54b7..329c377f29bac9e37bf76f8302580c99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