forked from enlightenment/efl
227 lines
5.7 KiB
Plaintext
227 lines
5.7 KiB
Plaintext
/////////////////////////////////////////////////////////////////////////////
|
|
// CURSOR
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
collections {
|
|
group { name: "elm/cursor/hand2/default";
|
|
min: 30 30;
|
|
max: 30 30;
|
|
data {
|
|
item: "hot_x" "0";
|
|
item: "hot_y" "0";
|
|
}
|
|
parts {
|
|
part { name: "base";
|
|
type: RECT;
|
|
mouse_events: 0;
|
|
description { state: "default" 0.0;
|
|
color: 0 255 0 255;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
group { name: "elm/cursor/hand3/default";
|
|
min: 30 30;
|
|
max: 30 30;
|
|
data {
|
|
item: "hot_x" "0";
|
|
item: "hot_y" "0";
|
|
}
|
|
parts {
|
|
part { name: "base";
|
|
type: RECT;
|
|
mouse_events: 0;
|
|
description { state: "default" 0.0;
|
|
color: 255 0 0 255;
|
|
}
|
|
description { state: "blue" 0.0;
|
|
color: 0 0 255 255;
|
|
}
|
|
}
|
|
}
|
|
programs {
|
|
program { name: "load";
|
|
signal: "load";
|
|
source: "";
|
|
after: "go_blue";
|
|
}
|
|
program { name: "go_blue";
|
|
action: STATE_SET "blue" 0.0;
|
|
transition: LINEAR 1;
|
|
target: "base";
|
|
after: "go_red";
|
|
}
|
|
program { name: "go_red";
|
|
action: STATE_SET "default" 0.0;
|
|
transition: LINEAR 1;
|
|
target: "base";
|
|
after: "go_blue";
|
|
}
|
|
}
|
|
}
|
|
|
|
group { name: "elm/cursor/hand3/transparent";
|
|
min: 30 30;
|
|
max: 30 30;
|
|
data {
|
|
item: "hot_x" "0";
|
|
item: "hot_y" "0";
|
|
}
|
|
parts {
|
|
part { name: "base";
|
|
type: RECT;
|
|
mouse_events: 0;
|
|
description { state: "default" 0.0;
|
|
color: 255 0 0 120;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
group { name: "test/layout/events";
|
|
parts {
|
|
part { name: "events";
|
|
type: RECT;
|
|
mouse_events: 1;
|
|
description { state: "default" 0.0;
|
|
color: 0 255 0 255;
|
|
rel2.relative: 0.5 1;
|
|
}
|
|
}
|
|
part { name: "noevents";
|
|
type: RECT;
|
|
mouse_events: 0;
|
|
description { state: "default" 0.0;
|
|
color: 200 255 200 255;
|
|
rel1.relative: 0.5 0;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
group { name: "test/layout/noevents";
|
|
parts {
|
|
part { name: "base";
|
|
type: RECT;
|
|
mouse_events: 0;
|
|
description { state: "default" 0.0;
|
|
color: 255 255 255 255;
|
|
}
|
|
}
|
|
part { name: "top-left";
|
|
type: RECT;
|
|
mouse_events: 1;
|
|
description { state: "default" 0.0;
|
|
rel1.relative: 0.1 0.1;
|
|
rel2.relative: 0.5 0.5;
|
|
color: 0 0 255 255;
|
|
}
|
|
}
|
|
part { name: "top-right";
|
|
type: RECT;
|
|
mouse_events: 1;
|
|
description { state: "default" 0.0;
|
|
rel1.relative: 0.5 0.1;
|
|
rel2.relative: 0.9 0.5;
|
|
color: 0 255 255 255;
|
|
}
|
|
}
|
|
part { name: "bottom-left";
|
|
type: RECT;
|
|
mouse_events: 0;
|
|
description { state: "default" 0.0;
|
|
rel1.relative: 0.1 0.5;
|
|
rel2.relative: 0.5 0.9;
|
|
color: 255 0 255 255;
|
|
}
|
|
}
|
|
part { name: "bottom-right";
|
|
type: RECT;
|
|
mouse_events: 0;
|
|
description { state: "default" 0.0;
|
|
rel1.relative: 0.5 0.5;
|
|
rel2.relative: 0.9 0.9;
|
|
color: 255 255 0 255;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
group { name: "test/layout/parts";
|
|
alias: "test/layout/parts2";
|
|
parts {
|
|
part { name: "base";
|
|
type: RECT;
|
|
mouse_events: 1;
|
|
description { state: "default" 0.0;
|
|
color: 0 0 0 255;
|
|
}
|
|
}
|
|
part { name: "top-left";
|
|
type: RECT;
|
|
mouse_events: 1;
|
|
description { state: "default" 0.0;
|
|
rel1.relative: 0.1 0.1;
|
|
rel2.relative: 0.5 0.5;
|
|
color: 0 0 255 255;
|
|
}
|
|
}
|
|
part { name: "top-right";
|
|
type: RECT;
|
|
mouse_events: 1;
|
|
description { state: "default" 0.0;
|
|
rel1.relative: 0.5 0.1;
|
|
rel2.relative: 0.9 0.5;
|
|
color: 0 255 255 255;
|
|
}
|
|
}
|
|
part { name: "bottom-left";
|
|
type: RECT;
|
|
mouse_events: 0;
|
|
description { state: "default" 0.0;
|
|
rel1.relative: 0.1 0.5;
|
|
rel2.relative: 0.5 0.9;
|
|
color: 255 0 255 255;
|
|
}
|
|
}
|
|
part { name: "bottom-right";
|
|
type: RECT;
|
|
mouse_events: 0;
|
|
description { state: "default" 0.0;
|
|
rel1.relative: 0.5 0.5;
|
|
rel2.relative: 0.9 0.9;
|
|
color: 255 255 0 255;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
group { name: "test/layout/swallow";
|
|
parts {
|
|
part { name: "base";
|
|
type: RECT;
|
|
mouse_events: 1;
|
|
description { state: "default" 0.0;
|
|
color: 255 255 255 255;
|
|
}
|
|
}
|
|
part { name: "swallow1";
|
|
type: SWALLOW;
|
|
mouse_events: 1;
|
|
description { state: "default" 0.0;
|
|
rel1.relative: 0.1 0.1;
|
|
rel2.relative: 0.9 0.5;
|
|
}
|
|
}
|
|
part { name: "swallow2";
|
|
type: SWALLOW;
|
|
mouse_events: 1;
|
|
description { state: "default" 0.0;
|
|
rel1.relative: 0.1 0.5;
|
|
rel2.relative: 0.9 0.9;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|