3 * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
5 * Licensed under the Apache License, Version 2.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
9 * http://www.apache.org/licenses/LICENSE-2.0
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.
21 name: "elm/tickernoti/base/1line/default";
22 alias: "elm/tickernoti/base/info";
24 item: "height" TICKERNOTI_INFO_BG_MIN_HEIGHT_INC;
27 image: "00_notification_bg.png" COMP;
33 description { state: "default" 0.0;
35 min: 0 TICKERNOTI_INFO_BG_MIN_HEIGHT_INC;
43 description { state: "default" 0.0;
54 normal: "00_notification_bg.png";
55 border: TICKERNOTI_DEFAULT_BG_BORDER_INC;
61 name: "padding_left_top";
68 min: TICKERNOTI_INFO_BG_PADDING_LEFT_TOP_INC;
82 name: "padding_right_bottom";
89 min: TICKERNOTI_INFO_BG_PADDING_RIGHT_BOTTOM_INC;
108 state: "default" 0.0;
113 to: "padding_left_top";
117 to_x: "padding_left_top";
118 to_y: "padding_right_bottom";
121 aspect_preference: VERTICAL;
125 name: "padding_icon_right";
130 state: "default" 0.0;
132 min: TICKERNOTI_BG_PADDING_AFTER_ICON_INC;
138 to_y: "padding_left_top";
143 to_y: "padding_right_bottom";
153 state: "default" 0.0;
156 to: "padding_icon_right";
162 color: SELECTION_INFO_TEXT_COLOR_INC;
164 font: "Tizen:style=Roman";
165 size: TICKERNOTI_INFO_TEXT_FONT_SIZE_INC;
176 description {state: "default" 0.0;
190 signal: "effect,show";
192 action: STATE_SET "show" "0.0";
194 transition: ACCEL 0.4;
199 signal: "mouse,clicked,1";
201 action: SIGNAL_EMIT "clicked" "";
202 after: "effect_hide";
206 action: STATE_SET "default" "0.0";
207 transition: DECEL 0.4;
213 action: SIGNAL_EMIT "request,hide" "";
218 name: "elm/tickernoti/base/default";
220 item: "height" TICKERNOTI_DEFAULT_BG_MIN_HEIGHT_INC;
223 image: "00_notification_bg.png" COMP;
228 base: "font=Tizen:style=Bold font_size="TICKERNOTI_DEFAULT_TEXT_FONT_SIZE_INC" color="TICKER_NOTI_DEFAULT_TEXT_COLOR_INC" wrap=mixed ellipsis=1.0 text_class=tizen";
231 tag: "b" "+ font=Tizen:style=Bold";
232 tag: "notitext1" "+font_size="TICKERNOTI_DEFAULT_TEXT_FONT_SIZE_INC" color="TICKER_NOTI_DEFAULT_TEXT_COLOR_INC"";
233 tag: "notitext2" "+font_size="TICKERNOTI_DEFAULT_TEXT2_FONT_SIZE_INC" color="TICKER_NOTI_DEFAULT_TEXT2_COLOR_INC"";
241 description { state: "default" 0.0;
242 min: 0 TICKERNOTI_DEFAULT_BG_TOTAL_MIN_HEIGHT_INC;
244 normal: "00_notification_bg.png";
245 border: TICKERNOTI_DEFAULT_BG_BORDER_INC;
254 description { state: "default" 0.0;
256 min: 0 TICKERNOTI_DEFAULT_BG_MIN_HEIGHT_INC;
268 name: "padding_left_top";
273 state: "default" 0.0;
275 min: TICKERNOTI_DEFAULT_BG_PADDING_LEFT_TOP_INC;
289 name: "padding_right_bottom";
294 state: "default" 0.0;
296 min: TICKERNOTI_DEFAULT_BG_PADDING_RIGHT_BOTTOM_INC;
316 state: "default" 0.0;
318 min: TICKERNOTI_DEFAULT_ICON_MIN_INC;
319 max: TICKERNOTI_DEFAULT_ICON_MIN_INC;
323 to_x: "padding_left_top";
328 to_x: "padding_left_top";
332 aspect_preference: VERTICAL;
336 name: "padding_icon_right";
341 state: "default" 0.0;
343 min: TICKERNOTI_DEFAULT_PADDING_AFTER_ICON_INC;
364 state: "default" 0.0;
366 min: TICKERNOTI_DEFAULT_TEXT_MIN_INC;
370 to_x: "padding_icon_right";
375 to_x: "padding_button_left";
386 state: "default" 0.0;
388 rel1.to: "text_rect";
389 rel2.to: "text_rect";
403 state: "default" 0.0;
419 description { state: "default" 0.0;
420 min: TICKERNOTI_DEFAULT_BUTTON_MIN_INC;
421 max: TICKERNOTI_DEFAULT_BUTTON_MAX_INC;
426 to_x: "padding_right_bottom";
431 to_x: "padding_right_bottom";
437 name: "padding_button_left";
442 state: "default" 0.0;
444 min: TICKERNOTI_DEFAULT_PADDING_BEFORE_BUTTON_INC;
461 signal: "effect,show";
464 action: STATE_SET "show" "0.0";
465 transition: ACCEL 0.4;
470 signal: "mouse,clicked,1";
472 action: SIGNAL_EMIT "clicked" "";
473 after: "effect_hide";
477 signal: "effect,hide";
479 action: STATE_SET "default" "0.0";
480 transition: DECEL 0.4;
486 action: SIGNAL_EMIT "request,hide" "";
491 group { name: "elm/tickernoti/base/textonly";
493 item: "height" TICKERNOTI_DEFAULT_BG_MIN_HEIGHT_INC;
496 image: "00_notification_bg.png" COMP;
500 name: "style_textonly";
501 base: "font=Tizen:style=Bold font_size="TICKERNOTI_DEFAULT_TEXT2_FONT_SIZE_INC" color="TICKER_NOTI_DEFAULT_TEXT_COLOR_INC" wrap=mixed ellipsis=1.0 text_class=tizen";
504 tag: "b" "+ font=Tizen:style=Bold";
505 tag: "notitext" "+font_size="TICKERNOTI_DEFAULT_TEXT2_FONT_SIZE_INC" color="TICKER_NOTI_DEFAULT_TEXT_COLOR_INC"";
513 description { state: "default" 0.0;
514 min: 0 TICKERNOTI_DEFAULT_BG_TOTAL_MIN_HEIGHT_INC;
516 normal: "00_notification_bg.png";
517 border: TICKERNOTI_DEFAULT_BG_BORDER_INC;
526 description { state: "default" 0.0;
528 min: 0 TICKERNOTI_DEFAULT_BG_MIN_HEIGHT_INC;
530 rel2.relative: 1.0 0.0;
535 name: "padding_left_top";
540 state: "default" 0.0;
542 min: TICKERNOTI_DEFAULT_BG_PADDING_LEFT_TOP_INC;
553 name: "padding_right_bottom";
558 state: "default" 0.0;
560 min: TICKERNOTI_DEFAULT_BG_PADDING_RIGHT_BOTTOM_INC;
576 state: "default" 0.0;
577 min: TICKERNOTI_TEXT_ONLY_TEXT_MIN_INC;
581 to: "padding_left_top";
585 to: "padding_right_bottom";
588 style: "style_textonly";