diff --git a/legacy/elementary/data/themes/Makefile.am b/legacy/elementary/data/themes/Makefile.am index 59501da3d1..31985a75d6 100644 --- a/legacy/elementary/data/themes/Makefile.am +++ b/legacy/elementary/data/themes/Makefile.am @@ -15,6 +15,7 @@ bt_base1.png \ bt_base2.png \ bt_bases.png \ bt_basew.png \ +bt_glow.png \ bt_hilight.png \ bt_hilightw.png \ bt_shine.png \ diff --git a/legacy/elementary/data/themes/bt_glow.png b/legacy/elementary/data/themes/bt_glow.png new file mode 100644 index 0000000000..b8ed187e19 Binary files /dev/null and b/legacy/elementary/data/themes/bt_glow.png differ diff --git a/legacy/elementary/data/themes/default.edc b/legacy/elementary/data/themes/default.edc index 43087a7e58..4de386e2cc 100644 --- a/legacy/elementary/data/themes/default.edc +++ b/legacy/elementary/data/themes/default.edc @@ -1,3 +1,4 @@ + collections { /////////////////////////////////////////////////////////////////////////////// @@ -443,6 +444,7 @@ collections { image: "bt_base2.png" COMP; image: "bt_hilight.png" COMP; image: "bt_shine.png" COMP; + image: "bt_glow.png" COMP; } parts { part { name: "button_image"; @@ -532,6 +534,22 @@ collections { } } } + part { name: "over3"; + mouse_events: 0; + description { state: "default" 0.0; + visible: 0; + color: 255 255 255 0; + image { + normal: "bt_glow.png"; + border: 12 12 12 12; + } + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + visible: 1; + color: 255 255 255 255; + } + } } programs { program { @@ -540,6 +558,7 @@ collections { source: "over2"; action: STATE_SET "clicked" 0.0; target: "button_image"; + target: "over3"; } program { name: "button_unclick"; @@ -547,6 +566,7 @@ collections { source: "over2"; action: STATE_SET "default" 0.0; target: "button_image"; + target: "over3"; } program { name: "button_unclick2"; @@ -857,7 +877,7 @@ collections { get_drag(PART:"button", dx, dy); if (dx > 0.5) { - set_drag(PART:"button", 100.0, 0.0); + set_drag(PART:"button", 1.0, 0.0); emit("elm,action,toggle,on", ""); } else