3 * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
\r
5 * Licensed under the Apache License, Version 2.0 (the License);
\r
6 * you may not use this file except in compliance with the License.
\r
7 * You may obtain a copy of the License at
\r
9 * http://www.apache.org/licenses/LICENSE-2.0
\r
11 * Unless required by applicable law or agreed to in writing, software
\r
12 * distributed under the License is distributed on an AS IS BASIS,
\r
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
\r
14 * See the License for the specific language governing permissions and
\r
15 * limitations under the License.
\r
18 // -------------------------------------------------------------------
19 // Email Style -------------------------------------------------------
20 // -------------------------------------------------------------------
21 // For Handling checkbox srolling issue we have increased the size of check box
22 // background to 64*64 though the check image is 45*45 as per GUI. These leaves
23 // 9 pixel extra space before the check image and 10 pixel after the check image.
24 // So to adjust this extra space the padding is reduced from 19 to 10.
25 // This means padding will be 10 pixel and extra space before the checkbox will be 9
26 // So it will again get to 19 pixel as gap before the checkbox as per GUI
27 #define GENLIST_EMAIL_PADDING_SIZE_LEFT 10
28 #define GENLIST_EMAIL_PADDING_SIZE_TOP_3LINE 8
29 #define GENLIST_EMAIL_PADDING_SIZE_BOTTOM_3LINE 8
30 #define GENLIST_EMAIL_PADDING_SIZE_SUB_TEXT_BOTTOM 3
31 #define GENLIST_EMAIL_PADDING_SIZE_DEFAULT 10
33 #define GENLIST_EMAIL_ICON_CHECK_RADIO_SIZE 45
35 #define GENLIST_EMAIL_TEXT_FOCUS_COLOR 255 255 255 255
36 #define GENLIST_EMAIL_TEXT_FOCUS_COLOR_STYLE "#FFFFFFFF"
38 #define GENLIST_EMAIL_MAIN_TEXT_SIZE 38
39 #define GENLIST_EMAIL_MAIN_TEXT_UNREAD_COLOR_STYLE "#000000FF"
40 #define GENLIST_EMAIL_MAIN_TEXT_UNREAD_DIM_COLOR_STYLE "#00000066"
41 #define GENLIST_EMAIL_MAIN_TEXT_READ_COLOR_STYLE "#808080FF"
42 #define GENLIST_EMAIL_MAIN_TEXT_READ_DIM_COLOR_STYLE "#808080CC"
44 #define GENLIST_EMAIL_SUB_TEXT_SIZE 30
45 #define GENLIST_EMAIL_SUB_TEXT_COLOR_STYLE "#808080FF"
47 #define GENLIST_EMAIL_COUNT_TEXT_SIZE 28
48 #define GENLIST_EMAIL_COUNT_TEXT_UNREAD_COLOR 59 115 182 255
49 #define GENLIST_EMAIL_COUNT_TEXT_UNREAD_COLOR_STYLE "#3B73B6FF"
50 #define GENLIST_EMAIL_COUNT_TEXT_READ_COLOR 128 128 128 255
51 #define GENLIST_EMAIL_COUNT_TEXT_READ_COLOR_STYLE "#808080FF"
53 #define GENLIST_EMAIL_CONTENTS_TEXT_SIZE 26
54 #define GENLIST_EMAIL_CONTENTS_TIME_TEXT_SIZE 24
56 #define GENLIST_EMAIL_CONTENTS_TEXT_COLOR_STYLE "#808080FF"
59 #define GENLIST_EMAIL_MATCH_TAG_COLOR "+ color=#1382FF"
61 #define GENLIST_LIST_READ_BG_COLOR 223 221 215 255
62 #define GENLIST_LIST_UNREAD_BG_COLOR 248 246 239 255
68 tag: "b" "+ font=Tizen:style=Bold";
70 #define STYLE_TAG_MATCH_EMAIL \
71 tag: "match" GENLIST_EMAIL_MATCH_TAG_COLOR;
73 #define STYLE_TAG_MATCH_EMAIL_FOCUS \
74 tag: "match" GENLIST_EMAIL_TEXT_FOCUS_COLOR_STYLE;
78 style { name: "email_style_main";
79 base: "font=Tizen:style=Bold font_size="GENLIST_EMAIL_MAIN_TEXT_SIZE" color="GENLIST_EMAIL_MAIN_TEXT_UNREAD_COLOR_STYLE" text_class=list_item ellipsis=1.0";
83 style { name: "email_style_main_dim";
84 base: "font=Tizen:style=Regular font_size="GENLIST_EMAIL_MAIN_TEXT_SIZE" color="GENLIST_EMAIL_MAIN_TEXT_UNREAD_DIM_COLOR_STYLE" text_class=list_item ellipsis=1.0";
88 style { name: "email_style_main_read";
89 base: "font=Tizen:style=Regular font_size="GENLIST_EMAIL_MAIN_TEXT_SIZE" color="GENLIST_EMAIL_MAIN_TEXT_READ_COLOR_STYLE" text_class=list_item ellipsis=1.0";
93 style { name: "email_style_main_read_dim";
94 base: "font=Tizen:style=Regular font_size="GENLIST_EMAIL_MAIN_TEXT_SIZE" color="GENLIST_EMAIL_MAIN_TEXT_READ_DIM_COLOR_STYLE" text_class=list_item ellipsis=1.0";
98 style { name: "email_style_main_focus";
99 base: "font=Tizen:style=Regular font_size="GENLIST_EMAIL_MAIN_TEXT_SIZE" color="GENLIST_EMAIL_TEXT_FOCUS_COLOR_STYLE" text_class=list_item ellipsis=1.0";
101 STYLE_TAG_MATCH_EMAIL_FOCUS
103 style { name: "email_style_sub";
104 base: "font=Tizen:style=Bold font_size="GENLIST_EMAIL_SUB_TEXT_SIZE" color="GENLIST_EMAIL_SUB_TEXT_COLOR_STYLE" text_class=tizen ellipsis=1.0";
106 STYLE_TAG_MATCH_EMAIL
108 style { name: "email_style_sub_focus";
109 base: "font=Tizen:style=Regular font_size="GENLIST_EMAIL_SUB_TEXT_SIZE" color="GENLIST_EMAIL_TEXT_FOCUS_COLOR_STYLE" text_class=tizen ellipsis=1.0";
111 STYLE_TAG_MATCH_EMAIL_FOCUS
113 style { name: "email_style_contents";
114 base: "font=Tizen:style=Regular font_size="GENLIST_EMAIL_CONTENTS_TEXT_SIZE" color="GENLIST_EMAIL_CONTENTS_TEXT_COLOR_STYLE" text_class=tizen ellipsis=1.0";
116 STYLE_TAG_MATCH_EMAIL
118 style { name: "email_style_contents_time";
119 base: "font=Tizen:style=Regular font_size="GENLIST_EMAIL_CONTENTS_TIME_TEXT_SIZE" color="GENLIST_EMAIL_CONTENTS_TEXT_COLOR_STYLE" text_class=tizen ellipsis=1.0";
121 STYLE_TAG_MATCH_EMAIL
123 style { name: "email_style_contents_time_focus";
124 base: "font=Tizen:style=Regular font_size="GENLIST_EMAIL_CONTENTS_TIME_TEXT_SIZE" color="GENLIST_EMAIL_TEXT_FOCUS_COLOR_STYLE" text_class=tizen ellipsis=1.0";
126 STYLE_TAG_MATCH_EMAIL_FOCUS
128 style { name: "email_style_contents_focus";
129 base: "font=Tizen:style=Regular font_size="GENLIST_EMAIL_CONTENTS_TEXT_SIZE" color="GENLIST_EMAIL_TEXT_FOCUS_COLOR_STYLE" text_class=tizen ellipsis=1.0";
131 STYLE_TAG_MATCH_EMAIL_FOCUS
136 #define PARAM_EMAIL_MAIN \
140 style: "email_style_main"; \
143 #define DESCRIPTION_EMAIL_MAIN_OTHERS \
144 description { state: "disabled" 0.0; \
145 inherit: "default" 0.0; \
146 text.style: "email_style_main_dim"; \
148 description { state: "read" 0.0; \
149 inherit: "default" 0.0; \
150 text.style: "email_style_main_read"; \
152 description { state: "read,disabled" 0.0; \
153 inherit: "default" 0.0; \
154 text.style: "email_style_main_read_dim"; \
156 description { state: "selected" 0.0; \
157 inherit: "default" 0.0; \
158 text.style: "email_style_main_focus"; \
162 #define PARAM_EMAIL_SUB \
166 style: "email_style_sub"; \
169 #define DESCRIPTION_EMAIL_SUB_OTHERS \
170 description { state: "selected" 0.0; \
171 inherit: "default" 0.0; \
172 text.style: "email_style_sub_focus"; \
175 // email contents text
176 #define PARAM_EMAIL_COUNT \
177 color: GENLIST_EMAIL_COUNT_TEXT_UNREAD_COLOR; \
181 font: "Tizen:style=Bold"; \
182 size: GENLIST_EMAIL_COUNT_TEXT_SIZE; \
183 text_class: "tizen"; \
186 #define DESCRIPTION_EMAIL_COUNT_OTHERS \
187 description { state: "read" 0.0; \
188 inherit: "default" 0.0; \
189 color: GENLIST_EMAIL_COUNT_TEXT_READ_COLOR; \
193 font: "Tizen:style=Regular"; \
194 size: GENLIST_EMAIL_COUNT_TEXT_SIZE; \
195 text_class: "tizen"; \
198 description { state: "selected" 0.0; \
199 inherit: "default" 0.0; \
200 color: GENLIST_EMAIL_TEXT_FOCUS_COLOR; \
204 font: "Tizen:style=Regular"; \
205 size: GENLIST_EMAIL_COUNT_TEXT_SIZE; \
206 text_class: "tizen"; \
210 // email contents text
211 #define PARAM_EMAIL_CONTENTS \
215 font: "Tizen:style=Regular"; \
216 style: "email_style_contents"; \
219 #define PARAM_EMAIL_CONTENTS_TIME \
223 font: "Tizen:style=Regular"; \
224 style: "email_style_contents_time"; \
227 #define DESCRIPTION_EMAIL_CONTENTS_TIME_FOCUS \
228 description { state: "selected" 0.0; \
229 inherit: "default" 0.0; \
230 text.style: "email_style_contents_time_focus"; \
233 #define DESCRIPTION_EMAIL_CONTENTS_OTHERS \
234 description { state: "selected" 0.0; \
235 inherit: "default" 0.0; \
236 text.style: "email_style_contents_focus"; \
239 #define GENLIST_PART_PADDING_EMAIL_BOTTOM_TO_SIZE( NAME, SIZE ) \
240 GENLIST_PART_SPACER(NAME, \
241 GENLIST_DESCRIPTION_LRT("elm.icon.2", "elm.text.5", "elm.text.2", \
247 #define GENLIST_PART_PADDING_EMAIL_OUTBOX_BOTTOM_TO_SIZE( NAME, SIZE ) \
248 GENLIST_PART_SPACER(NAME, \
249 GENLIST_DESCRIPTION_LRT("elm.icon.2", "elm.icon.5", "elm.text.2", \
255 #define GENLIST_PARAM_ICON_EMAIL_CHECK_RADIO \
256 min: GENLIST_EMAIL_ICON_CHECK_RADIO_SIZE GENLIST_EMAIL_ICON_CHECK_RADIO_SIZE; \
257 max: GENLIST_EMAIL_ICON_CHECK_RADIO_SIZE GENLIST_EMAIL_ICON_CHECK_RADIO_SIZE;
259 #define GENLIST_PART_ICON_EMAIL_CHECK_RADIO_L(NAME, LEFT) \
260 GENLIST_PART_ICON(NAME, \
261 GENLIST_DESCRIPTION_LTB(LEFT, "elm.padding.top", "elm.padding.bottom", \
262 GENLIST_PARAM_ICON_EMAIL_CHECK_RADIO \
267 #define HEIGHT_EMAIL_MAIN 54
268 #define HEIGHT_EMAIL_SUB 42
269 #define HEIGHT_EMAIL_CONTENTS 38
272 #define GENLIST_PROGRAMS_EMAIL( TARGET ) \
274 GENLIST_PROGRAM_DEFAULT( TARGET \
277 target: "bottom_line"; \
278 target: "bottom_line2"; \
279 target: "bottom_line_clip"; \
280 target: "bg_reorder"; \
281 target: "elm.padding.left"; \
282 target: "elm.padding.right"; \
284 GENLIST_PROGRAM_DISABLED( TARGET \
286 target: "bottom_line"; \
287 target: "bottom_line2"; \
288 target: "bg_reorder"; \
290 GENLIST_PROGRAM_FOCUS \
291 GENLIST_PROGRAM_SELECT( TARGET \
293 target: "bottom_line"; \
294 target: "bottom_line2"; \
295 target: "bg_reorder"; \
297 GENLIST_PROGRAM_SOUND("bg") \
298 GENLIST_PROGRAM_DECORATE_REORDER( "normal", \
300 target: "bg_reorder_clip"; \
301 target: "bottom_line_clip"; \
302 target: "elm.padding.left"; \
303 target: "elm.padding.right"; \
305 program { name: "unselected_target"; \
306 action: STATE_SET "default" 0.0; \
309 program { name: "unselected_read"; \
310 signal: "elm,state,unselected"; \
313 if (get_int(readed) == 1) \
314 run_program(PROGRAM:"go_read_target"); \
316 run_program(PROGRAM:"unselected_target"); \
319 program { name: "go_read"; \
320 signal: "elm,state,read"; \
323 set_int(readed, 1); \
324 run_program(PROGRAM:"go_read_target"); \
327 program { name: "go_unread"; \
328 signal: "elm,state,unread"; \
331 set_int(readed, 0); \
332 run_program(PROGRAM:"go_unread_target"); \
335 program { name: "go_read_target"; \
336 action: STATE_SET "read" 0.0; \
340 program { name: "go_unread_target"; \
341 action: STATE_SET "unread" 0.0; \
348 #define GENLIST_PART_BG_EMAIL_NORMAL \
349 GENLIST_PART_RECT("bg_clip", \
351 description { state: "default" 0.0; \
353 color: 255 255 255 255; \
355 description { state: "decorate" 0.0; \
356 inherit: "default" 0.0; \
359 description { state: "reorder" 0.0; \
360 inherit: "default" 0.0; \
363 description { state: "decorate_reorder" 0.0; \
364 inherit: "default" 0.0; \
368 GENLIST_PART_RECT("bg_reorder_clip", \
370 description { state: "default" 0.0; \
373 description { state: "reorder" 0.0; \
374 inherit: "default" 0.0; \
376 color: 255 255 255 255; \
378 description { state: "decorate_reorder" 0.0; \
379 inherit: "default" 0.0; \
382 description { state: "decorate" 0.0; \
383 inherit: "default" 0.0; \
386 description { state: "reorder_flip" 0.0; \
387 inherit: "default" 0.0; \
391 GENLIST_PART_RECT("bg", \
392 clip_to: "bg_clip"; \
393 description { state: "default" 0.0; \
394 color: GENLIST_LIST_BG_COLOR; \
396 description { state: "selected" 0.0; \
397 inherit: "default" 0.0; \
398 color: GENLIST_LIST_PRESS_COLOR; \
400 description { state: "disabled" 0.0; \
401 inherit: "default" 0.0; \
402 color: GENLIST_LIST_DIM_COLOR; \
404 description { state: "read" 0.0; \
405 inherit: "default" 0.0; \
406 color: GENLIST_LIST_READ_BG_COLOR; \
408 description { state: "unread" 0.0; \
409 inherit: "default" 0.0; \
410 color: GENLIST_LIST_UNREAD_BG_COLOR; \
413 GENLIST_PART_SPACER("bg_reorder_left", \
414 description { state: "default" 0.0; \
419 rel2.relative: 0 1; \
422 GENLIST_PART_SPACER("bg_reorder_right", \
423 description { state: "default" 0.0; \
428 rel1.relative: 1 0; \
431 GENLIST_PART_IMAGE("bg_reorder", \
432 clip_to: "bg_reorder_clip"; \
433 GENLIST_DESCRIPTION_LR("bg_reorder_left", "bg_reorder_right", \
435 normal: "00_list_group_bg.png"; \
440 description { state: "selected" 0.0; \
441 inherit: "default"; \
443 normal: "00_list_group_bg_press.png"; \
448 description { state: "flipped" 0.0; \
449 inherit: "default"; \
454 // 2.2.3.5 (Email Style)
455 group { GENLIST_NAME("email.list/default")
456 GENLIST_PROLOG_NORMAL
457 data.item: "texts" "elm.text.1 elm.text.2 elm.text.3 elm.text.5";
458 data.item: "contents" "elm.swallow.colorbar elm.icon.1 elm.icon.2 elm.icon.3 elm.icon.4 elm.icon.4.touch";
464 GENLIST_PART_BG_EMAIL_NORMAL
466 GENLIST_PART_BOTTOM_LINE
467 GENLIST_PART_PADDING_LEFT_SIZE(GENLIST_EMAIL_PADDING_SIZE_LEFT)
468 GENLIST_PART_PADDING_RIGHT
469 GENLIST_PART_PADDING_TOP_SIZE( GENLIST_EMAIL_PADDING_SIZE_TOP_3LINE )
470 GENLIST_PART_PADDING_BOTTOM_SIZE( GENLIST_EMAIL_PADDING_SIZE_BOTTOM_3LINE )
471 GENLIST_PART_COLORBAR
473 GENLIST_PART_ICON_CHECK_RADIO_L("elm.icon.1", "elm.padding.left")
475 // For Handling checkbox srolling issue we have increased the size of check box
476 // background to 64*64 though the check image is 45*45 as per GUI. These leaves
477 // 9 pixel extra space before the check image and 10 pixel after the check image.
478 // So to adjust this extra space the padding is reduced from 16 to 6.
479 // This means padding will be 6 pixel and extra space before the checkbox will be 10
480 // So it will again get to 16 pixel as gap after the checkbox as per GUI
481 GENLIST_PART_SPACER("elm.padding.icon1.right",
482 description { state: "default" 0.0;
498 GENLIST_PART_TEXTBLOCK("elm.text.1",
499 GENLIST_DESCRIPTION_LRT("elm.padding.icon1.right", "elm.text.limit", "elm.padding.top",
501 min: 0 HEIGHT_EMAIL_MAIN;
502 fixed: 1 1; align: 0 0; text.max: 1 0; // This limits text growing.
504 DESCRIPTION_EMAIL_MAIN_OTHERS
507 // FIXME: because script cannot be inherited, text.5 is defined here and can be inherited
508 GENLIST_PART_TEXT("elm.text.4",
509 GENLIST_DESCRIPTION_LTB("elm.text.1", "elm.padding.top", "elm.text.2",
511 min: 45 HEIGHT_EMAIL_MAIN;
512 max: 45 HEIGHT_EMAIL_MAIN;
514 text.align: 0.5 0.65;
519 // Virtual part for Maxmimum right X axis of TEXT
520 GENLIST_PART_SPACER("elm.text.limit",
521 GENLIST_DESCRIPTION_R("elm.icon.3",
527 GENLIST_PART_ICON("elm.icon.3",
528 GENLIST_DESCRIPTION_RTB("elm.padding.icon4.left", "elm.padding.top", "elm.text.2",
532 GENLIST_PART_PADDING_R_SIZE("elm.padding.icon4.left", "elm.icon.4", GENLIST_EMAIL_PADDING_SIZE_DEFAULT)
533 GENLIST_PART_ICON("elm.icon.4",
534 GENLIST_DESCRIPTION_RTB("elm.padding.right", "elm.padding.top", "elm.text.2",
536 max: HEIGHT_EMAIL_MAIN HEIGHT_EMAIL_MAIN;
540 GENLIST_PART_ICON("elm.icon.4.touch",
541 GENLIST_DESCRIPTION_ENVELOP("elm.icon.4",
546 GENLIST_PART_ICON("elm.icon.2",
547 GENLIST_DESCRIPTION_LTB("elm.padding.icon1.right", "elm.text.1", "elm.text.3",
551 GENLIST_PART_TEXTBLOCK("elm.text.2",
552 GENLIST_DESCRIPTION_LRT("elm.icon.2", "elm.text.5", "elm.text.1",
554 min: 0 HEIGHT_EMAIL_SUB;
557 DESCRIPTION_EMAIL_SUB_OTHERS
559 GENLIST_PART_TEXTBLOCK("elm.text.5",
560 GENLIST_DESCRIPTION_RTB("elm.padding.right", "elm.text.1", "elm.padding.text2.bottom",
561 PARAM_EMAIL_CONTENTS_TIME
562 GENLIST_PARAM_TEXT_LIMIT_RT
563 min: 0 HEIGHT_EMAIL_SUB;
566 DESCRIPTION_EMAIL_CONTENTS_TIME_FOCUS
569 GENLIST_PART_PADDING_EMAIL_BOTTOM_TO_SIZE( "elm.padding.text2.bottom", GENLIST_EMAIL_PADDING_SIZE_SUB_TEXT_BOTTOM)
571 GENLIST_PART_TEXTBLOCK("elm.text.3",
572 GENLIST_DESCRIPTION("elm.padding.icon1.right", "elm.padding.right", "elm.padding.text2.bottom", "elm.padding.bottom",
574 min: 0 HEIGHT_EMAIL_CONTENTS;
576 DESCRIPTION_EMAIL_CONTENTS_OTHERS
580 GENLIST_PROGRAMS_EMAIL( target: "elm.text.1";
581 target: "elm.text.2"; target: "elm.text.3";
582 target: "elm.text.4"; target: "elm.text.5";
583 target: "elm.swallow.colorbar";
584 target: "elm.icon.1";
585 target: "elm.icon.2"; target: "elm.icon.3";
586 target: "elm.icon.4"; target: "elm.icon.4.touch";
588 GENLIST_PROGRAM_SOUND("elm.icon.4.touch")
589 GENLIST_PROGRAM_SOUND("elm.text.1")
590 GENLIST_PROGRAM_SOUND("elm.text.2")
591 GENLIST_PROGRAM_SOUND("elm.text.3")
592 GENLIST_PROGRAM_SOUND("elm.text.4")
593 GENLIST_PROGRAM_SOUND("elm.text.5")
596 // email list with conversation text
597 group { GENLIST_NAME("email.list.conversation/default")
598 inherit: "elm/genlist/item/email.list/default";
600 data.item: "texts" "elm.text.1 elm.text.2 elm.text.3 elm.text.4 elm.text.5";
602 GENLIST_PART_TEXT("elm.text.4",
603 GENLIST_DESCRIPTION_LTB("elm.text.1", "elm.padding.top", "elm.text.2",
606 DESCRIPTION_EMAIL_COUNT_OTHERS
608 // Virtual part for Maxmimum right X axis of TEXT
609 GENLIST_PART_SPACER("elm.text.limit",
610 GENLIST_DESCRIPTION_R("elm.icon.3",
611 min: 45 HEIGHT_EMAIL_MAIN;
612 max: 45 HEIGHT_EMAIL_MAIN;
619 // email outbox style
620 group { GENLIST_NAME("email.outbox/default")
621 GENLIST_PROLOG_NORMAL
622 data.item: "texts" "elm.text.1 elm.text.2 elm.text.3";
623 data.item: "contents" "elm.swallow.colorbar elm.icon.1 elm.icon.2 elm.icon.3 elm.icon.4 elm.icon.4.touch elm.icon.5";
629 GENLIST_PART_BG_EMAIL_NORMAL
631 GENLIST_PART_BOTTOM_LINE
632 GENLIST_PART_PADDING_LEFT_SIZE(GENLIST_EMAIL_PADDING_SIZE_LEFT)
633 GENLIST_PART_PADDING_RIGHT_EDIT
634 GENLIST_PART_PADDING_TOP_SIZE( GENLIST_EMAIL_PADDING_SIZE_TOP_3LINE )
635 GENLIST_PART_PADDING_BOTTOM_SIZE( GENLIST_EMAIL_PADDING_SIZE_BOTTOM_3LINE )
636 GENLIST_PART_COLORBAR
638 GENLIST_PART_ICON_CHECK_RADIO_L("elm.icon.1", "elm.padding.left")
640 // For Handling checkbox srolling issue we have increased the size of check box
641 // background to 64*64 though the check image is 45*45 as per GUI. These leaves
642 // 9 pixel extra space before the check image and 10 pixel after the check image.
643 // So to adjust this extra space the padding is reduced from 16 to 6.
644 // This means padding will be 6 pixel and extra space before the checkbox will be 10
645 // So it will again get to 16 pixel as gap after the checkbox as per GUI
646 GENLIST_PART_SPACER("elm.padding.icon1.right",
647 description { state: "default" 0.0;
663 GENLIST_PART_TEXTBLOCK("elm.text.1",
664 GENLIST_DESCRIPTION_LRT("elm.padding.icon1.right", "elm.text.limit", "elm.padding.top",
666 min: 0 HEIGHT_EMAIL_MAIN;
667 fixed: 1 1; align: 0 0; text.max: 1 0; // This limits text growing.
669 DESCRIPTION_EMAIL_MAIN_OTHERS
671 // FIXME: because script cannot be inherited, text.4 is defined here and can be inherited
672 GENLIST_PART_TEXT("elm.text.4",
673 GENLIST_DESCRIPTION_LTB("elm.text.1", "elm.padding.top", "elm.text.2",
675 min: 0 HEIGHT_EMAIL_MAIN;
676 max: 0 HEIGHT_EMAIL_MAIN;
678 text.align: 0.5 0.65;
683 // Virtual part for Maxmimum right X axis of TEXT
684 GENLIST_PART_SPACER("elm.text.limit",
685 GENLIST_DESCRIPTION_R("elm.icon.3",
691 GENLIST_PART_ICON("elm.icon.3",
692 GENLIST_DESCRIPTION_RTB("elm.padding.icon4.left", "elm.padding.top", "elm.text.2",
696 GENLIST_PART_PADDING_R_SIZE("elm.padding.icon4.left", "elm.icon.4", GENLIST_EMAIL_PADDING_SIZE_DEFAULT)
697 GENLIST_PART_ICON("elm.icon.4",
698 GENLIST_DESCRIPTION_RTB("elm.padding.right", "elm.padding.top", "elm.text.2",
700 max: HEIGHT_EMAIL_MAIN HEIGHT_EMAIL_MAIN;
704 GENLIST_PART_ICON("elm.icon.4.touch",
705 GENLIST_DESCRIPTION_ENVELOP("elm.icon.4",
711 GENLIST_PART_ICON("elm.icon.2",
712 GENLIST_DESCRIPTION_LTB("elm.padding.icon1.right", "elm.text.1", "elm.text.3",
716 GENLIST_PART_TEXTBLOCK("elm.text.2",
717 GENLIST_DESCRIPTION_LRT("elm.icon.2", "elm.padding.icon5.left", "elm.text.1",
719 min: 0 HEIGHT_EMAIL_SUB;
722 DESCRIPTION_EMAIL_SUB_OTHERS
725 GENLIST_PART_PADDING_EMAIL_OUTBOX_BOTTOM_TO_SIZE( "elm.padding.text2.bottom", GENLIST_EMAIL_PADDING_SIZE_SUB_TEXT_BOTTOM)
727 GENLIST_PART_TEXTBLOCK("elm.text.3",
728 GENLIST_DESCRIPTION("elm.padding.icon1.right", "elm.padding.icon5.left", "elm.padding.text2.bottom", "elm.padding.bottom",
730 min: 0 HEIGHT_EMAIL_CONTENTS;
732 DESCRIPTION_EMAIL_CONTENTS_OTHERS
734 GENLIST_PART_PADDING_R("elm.padding.icon5.left", "elm.icon.5")
735 GENLIST_PART_ICON("elm.icon.5",
736 GENLIST_DESCRIPTION_RTB("elm.padding.right", "elm.text.1", "elm.padding.bottom",
744 GENLIST_PROGRAMS_EMAIL( target: "elm.text.1"; target: "elm.text.2"; target: "elm.text.3";
745 target: "elm.text.4";
746 target: "elm.swallow.colorbar"; target: "elm.icon.1"; target: "elm.icon.2"; target: "elm.icon.3";
747 target: "elm.icon.4"; target: "elm.icon.5";
751 // email outbox style with conversation
752 group { GENLIST_NAME("email.outbox.conversation/default")
753 inherit: "elm/genlist/item/email.outbox/default";
755 data.item: "texts" "elm.text.1 elm.text.2 elm.text.3 elm.text.4";
758 GENLIST_PART_TEXT("elm.text.4",
759 GENLIST_DESCRIPTION_LTB("elm.text.1", "elm.padding.top", "elm.icon.5",
760 min: 45 HEIGHT_EMAIL_MAIN;
761 max: 45 HEIGHT_EMAIL_MAIN;
764 DESCRIPTION_EMAIL_COUNT_OTHERS
766 GENLIST_PART_SPACER("elm.text.limit",
767 GENLIST_DESCRIPTION_R("elm.icon.3",
768 min: 45 HEIGHT_EMAIL_MAIN;
769 max: 45 HEIGHT_EMAIL_MAIN;
775 // FIXME: This is temporary style for test purpose
776 // This style has all widgets by itself
777 group { GENLIST_NAME("email.list.test/default")
778 GENLIST_PROLOG_NORMAL
779 data.item: "texts" "elm.text.1 elm.text.2 elm.text.3 elm.text.5";
780 data.item: "contents" "elm.swallow.colorbar elm.check.touch elm.icon.4.touch";
783 image: "00_check_bg.png" COMP;
784 image: "00_check_dim_bg.png" COMP;
785 image: "00_check_activated_dim.png" COMP;
786 image: "00_check_activated.png" COMP;
787 image: "00_check_press_bg.png" COMP;
788 image: "00_check_press.png" COMP;
795 GENLIST_PART_BG_NORMAL
797 GENLIST_PART_BOTTOM_LINE
798 GENLIST_PART_PADDING_LEFT_SIZE(GENLIST_EMAIL_PADDING_SIZE_LEFT)
799 GENLIST_PART_PADDING_RIGHT
800 GENLIST_PART_PADDING_TOP_SIZE( GENLIST_EMAIL_PADDING_SIZE_TOP_3LINE )
801 GENLIST_PART_PADDING_BOTTOM_SIZE( GENLIST_EMAIL_PADDING_SIZE_BOTTOM_3LINE )
802 GENLIST_PART_COLORBAR
804 GENLIST_PART_IMAGE("elm.check.bg",
806 GENLIST_DESCRIPTION_L("elm.padding.left",
807 image.normal: "00_check_bg.png";
810 description { state: "default" 0.0;
811 min: CHECK_STYLE_DEFAULT_BG_NORMAL_MIN_MAX_INC;
812 max: CHECK_STYLE_DEFAULT_BG_NORMAL_MIN_MAX_INC;
814 image.normal: "00_check_bg.png";
817 description { state: "pressed" 0.0;
818 inherit: "default" 0.0;
819 image.normal: "00_check_press_bg.png";
821 description { state: "disabled" 0.0;
822 inherit: "default" 0.0;
823 image.normal: "00_check_dim_bg.png";
826 GENLIST_PART_IMAGE("elm.check",
828 GENLIST_DESCRIPTION_ENVELOP("elm.check.bg",
830 image.normal: "00_check_activated.png";
832 description { state: "visible" 0.0;
833 inherit: "default" 0.0;
836 description { state: "dim" 0.0;
837 inherit: "default" 0.0;
839 image.normal: "00_check_activated_dim.png";
841 description { state: "pressed" 0.0;
842 inherit: "default" 0.0;
844 image.normal: "00_check_press.png";
849 // For Handling checkbox srolling issue we have increased the size of check box
850 // background to 64*64 though the check image is 45*45 as per GUI. These leaves
851 // 9 pixel extra space before the check image and 10 pixel after the check image.
852 // So to adjust this extra space the padding is reduced from 16 to 6.
853 // This means padding will be 6 pixel and extra space before the checkbox will be 10
854 // So it will again get to 16 pixel as gap after the checkbox as per GUI
855 GENLIST_PART_SPACER("elm.padding.icon1.right",
856 description { state: "default" 0.0;
872 GENLIST_PART_TEXTBLOCK("elm.text.1",
873 GENLIST_DESCRIPTION_LRT("elm.padding.icon1.right", "elm.text.limit", "elm.padding.top",
875 min: 0 HEIGHT_EMAIL_MAIN;
876 fixed: 1 1; align: 0 0; text.max: 1 0; // This limits text growing.
878 DESCRIPTION_EMAIL_MAIN_OTHERS
881 // FIXME: because script cannot be inherited, text.5 is defined here and can be inherited
882 GENLIST_PART_TEXT("elm.text.4",
883 GENLIST_DESCRIPTION_LTB("elm.text.1", "elm.padding.top", "elm.text.2",
885 min: 45 HEIGHT_EMAIL_MAIN;
886 max: 45 HEIGHT_EMAIL_MAIN;
888 text.align: 0.5 0.65;
893 // Virtual part for Maxmimum right X axis of TEXT
894 GENLIST_PART_SPACER("elm.text.limit",
895 GENLIST_DESCRIPTION_R("elm.icon.3",
901 GENLIST_PART_IMAGE("elm.icon.3",
902 GENLIST_DESCRIPTION_RTB("elm.padding.icon4.left", "elm.padding.top", "elm.text.2",
906 image.normal: "00_icon_favorite_on_45x45.png";
909 description { state: "visible" 0.0;
910 inherit: "default" 0.0;
915 GENLIST_PART_PADDING_R_SIZE("elm.padding.icon4.left", "elm.icon.4", GENLIST_EMAIL_PADDING_SIZE_DEFAULT)
916 GENLIST_PART_IMAGE("elm.icon.4",
917 GENLIST_DESCRIPTION_RTB("elm.padding.right", "elm.padding.top", "elm.text.2",
918 max: HEIGHT_EMAIL_MAIN HEIGHT_EMAIL_MAIN;
922 image.normal: "00_icon_favorite_off_45x45.png";
925 description { state: "visible" 0.0;
926 inherit: "default" 0.0;
930 description { state: "enable" 0.0;
931 inherit: "default" 0.0;
932 image.normal: "00_icon_favorite_on_45x45.png";
937 GENLIST_PART_ICON("elm.icon.4.touch",
938 GENLIST_DESCRIPTION_ENVELOP("elm.icon.4",
943 GENLIST_PART_IMAGE("elm.icon.2",
944 GENLIST_DESCRIPTION_LTB("elm.padding.icon1.right", "elm.text.1", "elm.text.3",
948 image.normal: "00_icon_favorite_off_45x45.png";
951 description { state: "visible" 0.0;
952 inherit: "default" 0.0;
957 GENLIST_PART_TEXTBLOCK("elm.text.2",
958 GENLIST_DESCRIPTION_LRT("elm.icon.2", "elm.text.5", "elm.text.1",
960 min: 0 HEIGHT_EMAIL_SUB;
963 DESCRIPTION_EMAIL_SUB_OTHERS
965 GENLIST_PART_TEXTBLOCK("elm.text.5",
966 GENLIST_DESCRIPTION_RTB("elm.padding.right", "elm.text.1", "elm.padding.text2.bottom",
967 PARAM_EMAIL_CONTENTS_TIME
968 GENLIST_PARAM_TEXT_LIMIT_RT
969 min: 0 HEIGHT_EMAIL_SUB;
972 DESCRIPTION_EMAIL_CONTENTS_TIME_FOCUS
975 GENLIST_PART_PADDING_EMAIL_BOTTOM_TO_SIZE( "elm.padding.text2.bottom", GENLIST_EMAIL_PADDING_SIZE_SUB_TEXT_BOTTOM)
977 GENLIST_PART_TEXTBLOCK("elm.text.3",
978 GENLIST_DESCRIPTION("elm.padding.icon1.right", "elm.padding.right", "elm.padding.text2.bottom", "elm.padding.bottom",
980 min: 0 HEIGHT_EMAIL_CONTENTS;
982 DESCRIPTION_EMAIL_CONTENTS_OTHERS
984 GENLIST_PART_ICON("elm.check.touch",
985 GENLIST_DESCRIPTION_ENVELOP("elm.check",
990 GENLIST_PROGRAMS_EMAIL( target: "elm.text.1";
991 target: "elm.text.2"; target: "elm.text.3";
992 target: "elm.text.4"; target: "elm.text.5";
993 target: "elm.swallow.colorbar";
994 target: "elm.icon.4.touch";
995 target: "elm.check.touch";
997 program { name: "check_show";
998 signal: "elm,state,check,show";
1000 action: STATE_SET "visible" 0.0;
1001 target: "elm.check";
1003 program { name: "check_hide";
1004 signal: "elm,state,check,hide";
1006 action: STATE_SET "default" 0.0;
1007 target: "elm.check";
1009 program { name: "icon2_show";
1010 signal: "elm,state,icon2,show";
1012 action: STATE_SET "visible" 0.0;
1013 target: "elm.icon.2";
1015 program { name: "icon3_show";
1016 signal: "elm,state,icon3,show";
1018 action: STATE_SET "visible" 0.0;
1019 target: "elm.icon.3";
1021 program { name: "icon4_show";
1022 signal: "elm,state,icon4,show";
1024 action: STATE_SET "visible" 0.0;
1025 target: "elm.icon.4";
1027 program { name: "icon4_enable";
1028 signal: "elm,state,icon4,enable";
1030 action: STATE_SET "enable" 0.0;
1031 target: "elm.icon.4";
1033 program { name: "icon4_disable";
1034 signal: "elm,state,icon4,disable";
1036 action: STATE_SET "visible" 0.0;
1037 target: "elm.icon.4";
1039 GENLIST_PROGRAM_SOUND("elm.icon.4.touch")
1040 GENLIST_PROGRAM_SOUND("elm.check.touch")
1041 GENLIST_PROGRAM_SOUND("elm.text.1")
1042 GENLIST_PROGRAM_SOUND("elm.text.2")
1043 GENLIST_PROGRAM_SOUND("elm.text.3")
1044 GENLIST_PROGRAM_SOUND("elm.text.4")
1045 GENLIST_PROGRAM_SOUND("elm.text.5")