2 * Copyright (c) 2009-2014 Samsung Electronics Co., Ltd All Rights Reserved
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
21 base: "font=Tizen:style=Regular color=#FFFFFF font_size=30 wrap=none align=center";
25 image: "event_close_bg.#.png" COMP;
27 name: "contextual-event";
34 rel1 { relative: 0.0 0.0; }
35 rel2 { relative: 1.0 1.0; }
39 name: "rect.event.area.bg";
45 rel1 { relative: 0.0 0.0; }
46 rel2 { relative: 1.0 1.0; }
56 rel1 { relative: 1.0 0.0; to_x: "bg"; to_y: "rect.event.area.bg"; offset: -20 6; }
57 rel2 { relative: 1.0 0.0; to_x: "bg"; to_y: "rect.event.area.bg"; offset: -20 6; }
73 color: 100 100 100 100;
74 rel1 { to: "txt.close"; offset: -10 0; }
75 rel2 { to: "txt.close"; offset: 10 0; }
77 normal: "event_close_bg.#.png";
82 inherit: "default" 0.0;
92 rel1 { relative: 0.0 1.0; to_x: "bg"; to_y: "btn.close"; offset: 0 6; }
101 rel1 { relative: 0.0 (CONTEXTUAL_INFO_DATE_HEIGHT+CONTEXTUAL_INFO_EVENT_AREA_HEIGHT)/CONTEXTUAL_INFO_HEIGHT; to: "bg"; }
102 rel2 { relative: 1.0 (CONTEXTUAL_INFO_DATE_HEIGHT+CONTEXTUAL_INFO_EVENT_AREA_HEIGHT+CONTEXTUAL_INFO_PAGE_INDICATOR_HEIGHT)/CONTEXTUAL_INFO_HEIGHT; to: "bg"; }
109 state: "default" 0.0;
112 rel1 { relative: 0.5 0.5; to: "rect.index"; }
113 rel2 { relative: 0.5 0.5; to: "rect.index"; }
118 inherit: "default" 0.0;
125 name: "btn,close,press";
126 signal: "mouse,down,1";
128 action: STATE_SET "press" 0.0;
132 name: "btn,close,release";
133 signal: "mouse,up,1";
135 action: STATE_SET "default" 0.0;
139 name: "btn,close,clicked";
140 signal: "mouse,clicked,1";
142 action: SIGNAL_EMIT "btn,close,clicked" "contextual-event";
146 signal: "hide,index";
148 action: STATE_SET "hide" 0.0;
153 signal: "show,index";
155 action: STATE_SET "default" 0.0;