APPLY_RSA
[apps/home/ug-memo-efl.git] / edc / detail.edc
1 /*
2 *
3 * Copyright 2012  Samsung Electronics Co., Ltd
4 *
5 * Licensed under the Flora License, Version 1.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
8 *
9 *    http://www.tizenopensource.org/license
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 *
17 */
18
19 group{
20     name: "detail_frame";
21     parts{
22         PART_BG_EX("bg", 480, 0)
23         PART_EVENT_RECT("event", "bg")
24         part {
25             name: "elm.text.date";
26             type: TEXT;
27             mouse_events: 0;
28             scale: 1;
29             description {
30                 state: "default" 0.0;
31                 min: 0 30;
32                 align: 0.5 0;
33                 fixed: 1 1;
34                 rel1 { relative: 0.0 0.0; to: "bg";}
35                 rel2 { relative: (480-15)/480 0.0; to: "bg";}
36                 color: 121 115 100 255;
37                 text {
38                     text: "date";
39                     font: "SLP:style=Medium";
40                     text_class:"slp_medium";
41                     size: 16;
42                     align: 1 0.5;
43                 }
44             }
45         }
46
47         part {
48             name: "elm.swallow.content";
49             type: SWALLOW;
50             mouse_events: 1;
51             scale: 1;
52             description {
53                 state: "default" 0.0;
54                 visible: 1;
55                 rel1 { relative: 0.0 1.0; to_x: "bg"; to_y: "elm.text.date";}
56                 rel2 { relative: 1.0 1.0; to: "bg"; }
57             }
58             description {
59                 state: "text" 0.0;
60                 inherit: "default" 0.0;
61                 rel1 { relative: 15/480 1.0; to_x: "bg"; to_y: "elm.text.date";}
62                 rel2 { relative: (480-15)/480 1.0; to: "bg"; }
63             }
64         }
65     }/* end parts */
66
67     programs {
68         program {
69             name: "prog_doodle_mode";
70             source: "";
71             signal: "sig_doodle_mode";
72             script {
73                 set_state(PART:"elm.swallow.content", "default", 0.0);
74             }
75         }
76
77         program {
78             name: "prog_text_mode";
79             source: "";
80             signal: "sig_text_mode";
81             script {
82                 set_state(PART:"elm.swallow.content", "text", 0.0);
83             }
84         }
85     }
86 }/* end group */