projects
/
platform
/
upstream
/
edje.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Imported Upstream version 1.7.1
[platform/upstream/edje.git]
/
src
/
examples
/
drag.edc
1
collections {
2
group {
3
name: "example/group";
4
5
min: 160 160;
6
7
parts {
8
part {
9
name: "bg";
10
type: RECT;
11
12
mouse_events: 0;
13
14
description {
15
state: "default" 0.0;
16
}
17
} // bg
18
19
part {
20
name: "title";
21
type: TEXT;
22
mouse_events: 0;
23
24
description {
25
state: "default" 0.0;
26
color: 0 0 0 255;
27
rel1 {
28
relative: 0.0 0.0;
29
offset: 0 0;
30
to: "bg";
31
}
32
rel2 {
33
relative: 1.0 0.2;
34
offset: -1 -1;
35
to: "bg";
36
}
37
text {
38
text: "Drag Example";
39
size: 16;
40
font: "sans";
41
min: 1 1;
42
}
43
}
44
}
45
46
part {
47
name: "drag_area";
48
type: RECT;
49
50
mouse_events: 0;
51
52
description {
53
state: "default" 0.0;
54
color: 0 0 0 255;
55
rel1 {
56
relative: 0.5 0.3;
57
offset: -5 0;
58
}
59
60
rel2 {
61
relative: 0.5 0.9;
62
offset: 4 0;
63
}
64
}
65
} // drag_area
66
67
part {
68
name: "example/knob";
69
type: RECT;
70
71
mouse_events: 1;
72
73
dragable {
74
confine: "drag_area";
75
x: 0 0 0;
76
y: 1 1 0;
77
}
78
79
description {
80
state: "default" 0.0;
81
82
color: 255 0 0 200;
83
84
}
85
} // example/knob
86
87
}
88
}
89
}