diff --git a/legacy/elementary/data/themes/Makefile.am b/legacy/elementary/data/themes/Makefile.am index e8f3d6eb32..562c56e2ef 100644 --- a/legacy/elementary/data/themes/Makefile.am +++ b/legacy/elementary/data/themes/Makefile.am @@ -184,6 +184,9 @@ img/box_outline.png \ img/bt_base.png \ img/bt_sig_1.png \ img/bt_sig_2.png \ +img/btn_round_0.png \ +img/btn_round_1.png \ +img/btn_round_2.png \ img/bub_base_b0.png \ img/bub_base_b1.png \ img/bub_base_b2.png \ diff --git a/legacy/elementary/data/themes/edc/syscon.edc b/legacy/elementary/data/themes/edc/syscon.edc index 0aa5f40449..32bc51c818 100644 --- a/legacy/elementary/data/themes/edc/syscon.edc +++ b/legacy/elementary/data/themes/edc/syscon.edc @@ -282,3 +282,51 @@ group { name: "e/widgets/syscon/item/button"; } } } + +group { name: "e/modules/syscon/button"; + images.image: "btn_round_0.png" COMP; + images.image: "btn_round_1.png" COMP; + images.image: "btn_round_2.png" COMP; + parts { + part { name: "base"; + description { state: "default" 0.0; + image.normal: "btn_round_0.png"; + aspect: 1.0 1.0; aspect_preference: BOTH; + } + description { state: "hilight" 0.0; + inherit: "default" 0.0; + image.normal: "btn_round_1.png"; + } + description { state: "clicked" 0.0; + inherit: "default" 0.0; + image.normal: "btn_round_2.png"; + } + } + } + programs { + program { + signal: "mouse,down,1"; source: "base"; + action: STATE_SET "clicked" 0.0; + target: "base"; + } + program { + signal: "mouse,up,1"; source: "base"; + action: STATE_SET "hilight" 0.0; + target: "base"; + } + program { + signal: "mouse,in"; source: "base"; + action: STATE_SET "hilight" 0.0; + target: "base"; + } + program { + signal: "mouse,out"; source: "base"; + action: STATE_SET "default" 0.0; + target: "base"; + } + program { + signal: "mouse,clicked,1*"; source: "base"; + action: SIGNAL_EMIT "e,action,shutdown,show" "e"; + } + } +} diff --git a/legacy/elementary/data/themes/img/btn_round_0.png b/legacy/elementary/data/themes/img/btn_round_0.png new file mode 100644 index 0000000000..cdbcf6a380 Binary files /dev/null and b/legacy/elementary/data/themes/img/btn_round_0.png differ diff --git a/legacy/elementary/data/themes/img/btn_round_1.png b/legacy/elementary/data/themes/img/btn_round_1.png new file mode 100644 index 0000000000..0d5c40df24 Binary files /dev/null and b/legacy/elementary/data/themes/img/btn_round_1.png differ diff --git a/legacy/elementary/data/themes/img/btn_round_2.png b/legacy/elementary/data/themes/img/btn_round_2.png new file mode 100644 index 0000000000..1221782d31 Binary files /dev/null and b/legacy/elementary/data/themes/img/btn_round_2.png differ diff --git a/legacy/elementary/data/themes/orig/mock-23.xcf.gz b/legacy/elementary/data/themes/orig/mock-23.xcf.gz new file mode 100644 index 0000000000..8e9560293f Binary files /dev/null and b/legacy/elementary/data/themes/orig/mock-23.xcf.gz differ