forked from enlightenment/enventor
template: revise basic
This commit is contained in:
parent
b0ce2bda44
commit
3ebfc09e61
|
@ -13,10 +13,6 @@ collections {
|
||||||
aspect: 1 1;
|
aspect: 1 1;
|
||||||
aspect_preference: BOTH;
|
aspect_preference: BOTH;
|
||||||
}
|
}
|
||||||
description { state: "hide" 0.0;
|
|
||||||
inherit: "default" 0.0;
|
|
||||||
color: 255 255 255 127;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
part { name: "rect";
|
part { name: "rect";
|
||||||
type: RECT;
|
type: RECT;
|
||||||
|
@ -25,6 +21,11 @@ collections {
|
||||||
rel2.relative: 1.0 0.5;
|
rel2.relative: 1.0 0.5;
|
||||||
color: 0 136 170 255;
|
color: 0 136 170 255;
|
||||||
}
|
}
|
||||||
|
description { state: "clicked" 0.0;
|
||||||
|
rel1.relative: 0.65 0.15;
|
||||||
|
rel2.relative: 0.85 0.35;
|
||||||
|
color: 170 136 0 255;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
part { name: "text";
|
part { name: "text";
|
||||||
type: TEXT;
|
type: TEXT;
|
||||||
|
@ -57,15 +58,15 @@ collections {
|
||||||
programs {
|
programs {
|
||||||
program { name: "mouse_down";
|
program { name: "mouse_down";
|
||||||
signal: "mouse,down,1";
|
signal: "mouse,down,1";
|
||||||
source: "logo";
|
source: "rect";
|
||||||
action: STATE_SET "hide" 0.0;
|
action: STATE_SET "clicked" 0.0;
|
||||||
target: "logo";
|
target: "rect";
|
||||||
}
|
}
|
||||||
program { name: "mouse_up";
|
program { name: "mouse_up";
|
||||||
signal: "mouse,up,1";
|
signal: "mouse,up,1";
|
||||||
source: "logo";
|
source: "rect";
|
||||||
action: STATE_SET "default" 0.0;
|
action: STATE_SET "default" 0.0;
|
||||||
target: "logo";
|
target: "rect";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue