forked from enlightenment/efl
theme - syscon - power gadget - fix so we have an actual theme for it
this fixes a pretty ugly bug where a bodhi power gadget was ported in without the graphics being fixed up. this does that in the theme.
This commit is contained in:
parent
bf42a63d80
commit
9fde71b0c1
|
@ -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 \
|
||||
|
|
|
@ -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";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 12 KiB |
Binary file not shown.
After Width: | Height: | Size: 14 KiB |
Binary file not shown.
After Width: | Height: | Size: 14 KiB |
Binary file not shown.
Loading…
Reference in New Issue