forked from enlightenment/efl
TH - inwin
This commit is contained in:
parent
0f91d5bf74
commit
3ae3ac620f
|
@ -1,9 +1,7 @@
|
|||
group { name: "elm/win/inwin/default";
|
||||
images {
|
||||
image: "button_normal.png" COMP;
|
||||
}
|
||||
images.image: "win_shadow.png" COMP;
|
||||
parts {
|
||||
part { name: "base"; type: RECT; mouse_events: 1;
|
||||
part { name: "bg"; type: RECT; mouse_events: 1;
|
||||
description { state: "default" 0.0;
|
||||
color: 0 0 0 0;
|
||||
}
|
||||
|
@ -12,23 +10,30 @@ group { name: "elm/win/inwin/default";
|
|||
color: 0 0 0 128;
|
||||
}
|
||||
}
|
||||
part { name: "pop"; mouse_events: 1;
|
||||
part { name: "shadow"; mouse_events: 0;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
rel.to: "base";
|
||||
WIN_SHADOW_SMALL;
|
||||
}
|
||||
}
|
||||
part { name: "base"; type: RECT;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
color: 64 64 64 255;
|
||||
offscale;
|
||||
rel1.to: "elm.swallow.content";
|
||||
rel1.offset: -5 -5;
|
||||
rel2.to: "elm.swallow.content";
|
||||
rel2.offset: 4 4;
|
||||
image {
|
||||
normal: "button_normal.png";
|
||||
border: 4 4 3 5;
|
||||
middle: SOLID;
|
||||
}
|
||||
rel1.offset: -8 -8;
|
||||
rel2.offset: 7 7;
|
||||
}
|
||||
}
|
||||
part { name: "elm.swallow.content"; type: SWALLOW;
|
||||
scale: 1;
|
||||
description { state: "default" 0.0;
|
||||
rel1.relative: 0.1 0.1;
|
||||
rel2.relative: 0.9 0.9;
|
||||
rel1.offset: 40 40;
|
||||
rel2.offset: -41 -41;
|
||||
offscale;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -38,14 +43,14 @@ group { name: "elm/win/inwin/default";
|
|||
source: "elm";
|
||||
action: STATE_SET "visible" 0.0;
|
||||
transition: DECELERATE 0.5;
|
||||
target: "base";
|
||||
target: "bg";
|
||||
}
|
||||
program { name: "hide";
|
||||
signal: "elm,action,hide";
|
||||
source: "elm";
|
||||
action: STATE_SET "default" 0.0;
|
||||
transition: DECELERATE 0.5;
|
||||
target: "base";
|
||||
target: "bg";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -71,8 +76,8 @@ group { name: "elm/win/inwin/minimal_vertical";
|
|||
type: SWALLOW;
|
||||
description { state: "default" 0.0;
|
||||
fixed: 1 1;
|
||||
rel1.relative: 0.1 0.5;
|
||||
rel2.relative: 0.9 0.5;
|
||||
rel1.relative: 0.0 0.5;
|
||||
rel2.relative: 1.0 0.5;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue