forked from enlightenment/efl
274 lines
6.6 KiB
Plaintext
274 lines
6.6 KiB
Plaintext
group {
|
|
name: "floor";
|
|
|
|
images {
|
|
image: "bg_floor.jpg" COMP;
|
|
}
|
|
|
|
parts {
|
|
|
|
part {
|
|
name: "floor";
|
|
type: IMAGE;
|
|
mouse_events: 0;
|
|
description {
|
|
state: "default" 0.0;
|
|
min: 750 224;
|
|
image.normal: "bg_floor.jpg";
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
group {
|
|
name: "frame";
|
|
|
|
images {
|
|
image: "arrows.png" COMP;
|
|
image: "background.jpg" COMP;
|
|
}
|
|
|
|
parts {
|
|
|
|
part {
|
|
name: "bg";
|
|
type: RECT;
|
|
mouse_events: 0;
|
|
description {
|
|
state: "default" 0.0;
|
|
min: 512 384;
|
|
color: 153 134 117 255;
|
|
}
|
|
}
|
|
|
|
part {
|
|
name: "borders";
|
|
type: IMAGE;
|
|
mouse_events: 0;
|
|
description {
|
|
state: "default" 0.0;
|
|
min: 512 384;
|
|
image.normal: "background.jpg";
|
|
visible: 0;
|
|
}
|
|
description {
|
|
state: "visible" 0.0;
|
|
inherit: "default" 0.0;
|
|
visible: 1;
|
|
}
|
|
}
|
|
|
|
part {
|
|
name: "arrows";
|
|
type: IMAGE;
|
|
mouse_events: 0;
|
|
description {
|
|
state: "default" 0.0;
|
|
min: 326 241;
|
|
max: 326 241;
|
|
rel1.offset: -18 10;
|
|
color: 255 255 255 0;
|
|
image.normal: "arrows.png";
|
|
}
|
|
description {
|
|
state: "visible" 0.0;
|
|
inherit: "default" 0.0;
|
|
color: 255 255 255 255;
|
|
}
|
|
}
|
|
|
|
part {
|
|
name: "arrows_msg";
|
|
type: TEXT;
|
|
mouse_events: 0;
|
|
description {
|
|
state: "default" 0.0;
|
|
color: 232 224 215 0;
|
|
rel1.relative: 0.08 0.96;
|
|
rel2.relative: 0.92 1.0;
|
|
text {
|
|
font: "Sans";
|
|
size: 12;
|
|
text: "Press the arrows on the keyboard to give "
|
|
"impulse to the object.";
|
|
}
|
|
}
|
|
description {
|
|
state: "visible" 0.0;
|
|
inherit: "default" 0.0;
|
|
color: 95 56 19 255;
|
|
}
|
|
}
|
|
|
|
part {
|
|
name: "linear_vel";
|
|
type: TEXT;
|
|
mouse_events: 0;
|
|
description {
|
|
state: "default" 0.0;
|
|
color: 0 0 0 0;
|
|
rel1.relative: 0.08 0.40;
|
|
rel2.relative: 0.92 0.44;
|
|
text {
|
|
font: "Sans";
|
|
size: 12;
|
|
}
|
|
}
|
|
description {
|
|
state: "visible" 0.0;
|
|
inherit: "default" 0.0;
|
|
color: 198 177 153 255;
|
|
}
|
|
}
|
|
|
|
part {
|
|
name: "linear_acc";
|
|
type: TEXT;
|
|
mouse_events: 0;
|
|
description {
|
|
state: "default" 0.0;
|
|
color: 0 0 0 0;
|
|
rel1.relative: 0.08 0.44;
|
|
rel2.relative: 0.92 0.48;
|
|
text {
|
|
font: "Sans";
|
|
size: 12;
|
|
}
|
|
}
|
|
description {
|
|
state: "visible" 0.0;
|
|
inherit: "default" 0.0;
|
|
color: 198 177 153 255;
|
|
}
|
|
}
|
|
|
|
part {
|
|
name: "angular_vel";
|
|
type: TEXT;
|
|
mouse_events: 0;
|
|
description {
|
|
state: "default" 0.0;
|
|
color: 0 0 0 0;
|
|
rel1.relative: 0.08 0.54;
|
|
rel2.relative: 0.92 0.58;
|
|
text {
|
|
font: "Sans";
|
|
size: 12;
|
|
}
|
|
}
|
|
description {
|
|
state: "visible" 0.0;
|
|
inherit: "default" 0.0;
|
|
color: 198 177 153 255;
|
|
}
|
|
}
|
|
|
|
part {
|
|
name: "angular_acc";
|
|
type: TEXT;
|
|
mouse_events: 0;
|
|
description {
|
|
state: "default" 0.0;
|
|
color: 0 0 0 0;
|
|
rel1.relative: 0.08 0.58;
|
|
rel2.relative: 0.92 0.62;
|
|
text {
|
|
font: "Sans";
|
|
size: 12;
|
|
}
|
|
}
|
|
description {
|
|
state: "visible" 0.0;
|
|
inherit: "default" 0.0;
|
|
color: 198 177 153 255;
|
|
}
|
|
}
|
|
|
|
part {
|
|
name: "restart_button";
|
|
type: EXTERNAL;
|
|
source: "elm/button";
|
|
mouse_events: 1;
|
|
description {
|
|
state: "default" 0.0;
|
|
rel1.relative: 1 0.08;
|
|
rel2.relative: 1 0.08;
|
|
fixed: 1 1;
|
|
align: 1 0.5;
|
|
params {
|
|
string: "style" "ephysics-test-restart";
|
|
}
|
|
}
|
|
}
|
|
|
|
part {
|
|
name: "extra_button";
|
|
type: SWALLOW;
|
|
mouse_events: 1;
|
|
description {
|
|
state: "default" 0.0;
|
|
rel1.relative: 0 0.08;
|
|
rel2.relative: 0 0.08;
|
|
fixed: 1 1;
|
|
align: 0 0.5;
|
|
}
|
|
}
|
|
|
|
part {
|
|
name: "extra_input";
|
|
type: SWALLOW;
|
|
mouse_events: 1;
|
|
description {
|
|
state: "default" 0.0;
|
|
rel1.relative: 0.5 0.08;
|
|
rel2.relative: 0.5 0.08;
|
|
fixed: 1 1;
|
|
align: 0.5 0.5;
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
programs {
|
|
|
|
program {
|
|
name: "restart_clicked";
|
|
source: "restart_button";
|
|
signal: "clicked";
|
|
action: SIGNAL_EMIT "restart" "test-theme";
|
|
}
|
|
|
|
program {
|
|
name: "arrows,show";
|
|
source: "ephysics_test";
|
|
signal: "arrows,show";
|
|
action: STATE_SET "visible" 0.0;
|
|
target: "arrows";
|
|
target: "arrows_msg";
|
|
}
|
|
|
|
program {
|
|
name: "borders,show";
|
|
source: "ephysics_test";
|
|
signal: "borders,show";
|
|
action: STATE_SET "visible" 0.0;
|
|
target: "borders";
|
|
}
|
|
|
|
program {
|
|
name: "velocity,show";
|
|
source: "ephysics_test";
|
|
signal: "velocity,show";
|
|
action: STATE_SET "visible" 0.0;
|
|
target: "linear_vel";
|
|
target: "linear_acc";
|
|
target: "angular_vel";
|
|
target: "angular_acc";
|
|
}
|
|
|
|
}
|
|
|
|
}
|