summaryrefslogtreecommitdiff
path: root/res/edje/pwlock-lock-ui.edc
blob: df7b641db73b259f344aafc905b42e67bb302cc7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
group {
    name: "pwlock-lock-ui";
    parts {
	part {
	    name: "background";
	    type: RECT;
	    mouse_events: 1;
	    scale: 0;
	    description {
		state: "default" 0.0;
		rel1 { relative: 0.0 0.0; }
		rel2 { relative: 1.0 1.0; }
		color: 248 246 239 255;
	    }
	}

	part { name: "toolbar_bg";
		type: RECT;
	        scale: 0;
	        description { state: "default" 0.0;
			min: 0 92;
			max: 999999 92;
			fixed: 0 1;
			align: 1.0 0.0;
			visible: 0;
			rel1 { to: "background"; }
			rel2 { to: "background"; }
		}
        }

	part { name: "toolbar_btns_area";
		type: RECT;
		mouse_events: 0;
		description { state: "default" 0.0;
			fixed: 1 1;
			rel1 { relative: 0.0 0.0; to: toolbar_bg; offset: 16 0; }
			rel2 { relative: 1.0 1.0; to: toolbar_bg; offset: -16 -20; }
			visible: 0;
		}
	}

	part { name: "toolbar_button_padding";
		type: RECT;
		scale : 0;
		description { state: "default" 0.0;
			min: 15 0;
			max: 15 9999;
			fixed : 1 0;
			visible: 0;
			align: 0.5 0.5;
		        rel1.to: "toolbar_btns_area";
			rel2.to: "toolbar_btns_area";
		}
	}

	part { name: "toolbar_clip";
		type: RECT;
		mouse_events: 0;
		description { state: "default" 0.0;
			rel1 { to: "toolbar_bg"; }
			rel2 { to: "toolbar_bg"; }
		}
	}

	part {
		name: "button.select.emergency";
		type: SWALLOW;
		scale: 0;
		clip_to: "toolbar_clip";

		description {
			state: "default" 0.0;
			align: 1.0 0.5;
			fixed: 1 1;

			rel1.to: "toolbar_btns_area";
			rel2 {
				relative: 0.0 1.0;
				to: "toolbar_button_padding";
			}
		}
	}

	part {
		name: "button.select.done";
		type: SWALLOW;
		scale: 0;
		clip_to: "toolbar_clip";

		description {
			state: "default" 0.0;
			align: 0.0 0.5;
			fixed: 1 1;

			rel1 {
				relative: 1.0 0.0;
				to: "toolbar_button_padding";
			}
			rel2.to: "toolbar_btns_area"; 
		}
	}

	part {
	    name: "swl/genlist";
	    type: SWALLOW;
	    mouse_events: 1;
	    scale: 0;
	    description {
		state: "default" 0.0;
		rel1 { relative: 0.0 0.0;  to: "background"; }
		rel2 { relative: 1.0 1.0;  to: "background"; }
		color: 0 0 0 0;
	    }
	}
    }
}