90ae8a973aba794122563d96ad1eb966e0ca89dc
[apps/home/ug-memo-efl.git] / edc / common.edc
1 /*
2   * Copyright 2012  Samsung Electronics Co., Ltd
3   * 
4   * Licensed under the Flora License, Version 1.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
7   * 
8   *     http://www.tizenopensource.org/license
9   * 
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.
15   */
16
17 #define GENLIST_PART_BOTTOM_LINE \
18 part { \
19     name: "bottom_line"; \
20     type: RECT; \
21     mouse_events: 0; \
22     description { state: "default" 0.0; \
23         min: 0 1; \
24         fixed: 0 1; \
25         visible: 1; \
26         color: 87 87 87 255; \
27         rel1 { \
28             relative: 0.0 1.0; \
29             offset: 0 -1; \
30         } \
31     } \
32 }
33
34 styles
35 {
36     style
37     {
38         name: "textblock_style_main";
39         base: "font=Helvetica_Neue:style=Roman font_size=42 align=left color=#F9F9F9 wrap=char";
40     }
41 }
42
43 #define PART_TEXT_BLACK_LEFT(iName, iR1x, iR1y, iR1t, iR2x, iR2y, iR2t, \
44                             iText, iFont, iSize)\
45 PART_TEXT_REL(iName, iR1x, iR1y, iR1t, iR2x, iR2y, iR2t, \
46                             iText, iFont, iSize, 0.0, 0.5, 0, 0, 0, 255)
47
48 #define PART_TEXT_GRAY_RIGHT(iName, iR1x, iR1y, iR1t, iR2x, iR2y, iR2t, \
49                             iText, iFont, iSize)\
50 PART_TEXT_REL(iName, iR1x, iR1y, iR1t, iR2x, iR2y, iR2t, \
51                             iText, iFont, iSize, 1.0, 0.5, 85, 70, 58, 255)
52
53 #define PART_TEXT_WHITE_LEFT(iName, iR1x, iR1y, iR1t, iR2x, iR2y, iR2t, \
54                             iText, iFont, iSize)\
55 PART_TEXT_REL(iName, iR1x, iR1y, iR1t, iR2x, iR2y, iR2t, \
56                             iText, iFont, iSize, 0.0, 0.5, 255, 255, 255, 255)
57
58 #define PART_TEXT_GRAY_CENTER(iName, iR1x, iR1y, iR1t, iR2x, iR2y, iR2t, \
59                             iText, iFont, iSize)\
60 PART_TEXT_REL(iName, iR1x, iR1y, iR1t, iR2x, iR2y, iR2t, \
61                             iText, iFont, iSize, 0.5, 0.5, 85, 70, 58, 255)
62
63 #define PART_TEXT_DETAIL(iName, iR1x, iR1y, iR1t, iR2x, iR2y, iR2t, \
64                             iText, iFont, iSize)\
65 PART_TEXT_REL(iName, iR1x, iR1y, iR1t, iR2x, iR2y, iR2t, \
66                             iText, iFont, iSize, 0.0, 0.5, 249, 249, 249, 255)
67
68 #define PART_TEXT_DATE(iName, iR1x, iR1y, iR1t, iR2x, iR2y, iR2t, \
69                             iText, iFont, iSize)\
70 PART_TEXT_REL(iName, iR1x, iR1y, iR1t, iR2x, iR2y, iR2t, \
71                             iText, iFont, iSize, 0.0, 0.5, 100, 100, 100, 255)
72
73 group{
74     name: "empty_layout";
75     parts{
76         PART_BG("bg")
77         PART_SWALLOW("elm.swallow.content", "bg")
78     }
79 }
80
81 #define IMF_HEIGHT 538