APPLY_RSA
[apps/home/ug-memo-efl.git] / edc / common.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 #define GENLIST_PART_BOTTOM_LINE \
20 part { \
21     name: "bottom_line"; \
22     type: RECT; \
23     mouse_events: 0; \
24     description { state: "default" 0.0; \
25         min: 0 1; \
26         fixed: 0 1; \
27         visible: 1; \
28         color: 169 169 169 255; \
29         rel1 { \
30             relative: 0.0 1.0; \
31             offset: 0 -1; \
32         } \
33     } \
34 }
35
36 styles
37 {
38     style
39     {
40         name: "textblock_style_main";
41         base: "font=SLP:style=Roman text_class=slp_roman font_size=42 align=left color=#F9F9F9 wrap=char";
42     }
43 }
44
45 #define PART_TEXT_BLACK_LEFT(iName, iR1x, iR1y, iR1t, iR2x, iR2y, iR2t, \
46                             iText, iFont, iCLass, iSize)\
47 PART_TEXT_REL(iName, iR1x, iR1y, iR1t, iR2x, iR2y, iR2t, \
48                             iText, iFont, iClass, iSize, 0.0, 0.5, 0, 0, 0, 255)
49
50 #define PART_TEXT_GRAY_RIGHT(iName, iR1x, iR1y, iR1t, iR2x, iR2y, iR2t, \
51                             iText, iFont, iClass, iSize)\
52 PART_TEXT_REL(iName, iR1x, iR1y, iR1t, iR2x, iR2y, iR2t, \
53                             iText, iFont, iClass, iSize, 1.0, 0.5, 85, 70, 58, 255)
54
55 #define PART_TEXT_WHITE_LEFT(iName, iR1x, iR1y, iR1t, iR2x, iR2y, iR2t, \
56                             iText, iFont, iClass, iSize)\
57 PART_TEXT_REL(iName, iR1x, iR1y, iR1t, iR2x, iR2y, iR2t, \
58                             iText, iFont, iClass, iSize, 0.0, 0.5, 255, 255, 255, 255)
59
60 #define PART_TEXT_GRAY_CENTER(iName, iR1x, iR1y, iR1t, iR2x, iR2y, iR2t, \
61                             iText, iFont, iClass, iSize)\
62 PART_TEXT_REL(iName, iR1x, iR1y, iR1t, iR2x, iR2y, iR2t, \
63                             iText, iFont, iClass, iSize, 0.5, 0.5, 85, 70, 58, 255)
64
65 #define PART_TEXT_DETAIL(iName, iR1x, iR1y, iR1t, iR2x, iR2y, iR2t, \
66                             iText, iFont, iClass, iSize)\
67 PART_TEXT_REL(iName, iR1x, iR1y, iR1t, iR2x, iR2y, iR2t, \
68                             iText, iFont, iClass, iSize, 0.0, 0.5, 0, 0, 0, 255)
69
70 #define PART_TEXT_DATE(iName, iR1x, iR1y, iR1t, iR2x, iR2y, iR2t, \
71                             iText, iFont, iClass, iSize)\
72 PART_TEXT_REL(iName, iR1x, iR1y, iR1t, iR2x, iR2y, iR2t, \
73                             iText, iFont, iClass, iSize, 0.0, 0.5, 124, 124, 124, 255)
74
75 group{
76     name: "empty_layout";
77     parts{
78         PART_BG("bg")
79         PART_SWALLOW("elm.swallow.content", "bg")
80     }
81 }
82
83 #define IMF_HEIGHT 538