Fix 4text.1icon.1 & 4text.1icon.1.tb & 4text.1icon.2 & 4text.1icon.2.tb
[profile/ivi/efl-theme-tizen.git] / themes / widgets / genlist / genlist_macro.edc
index 1e14bf7..cd39f69 100644 (file)
@@ -27,6 +27,8 @@
 #define GENLIST_PADDING_SIZE_DEFAULT   16
 #define GENLIST_PADDING_SIZE_LEFT      GENLIST_PADDING_SIZE_DEFAULT
 #define GENLIST_PADDING_SIZE_RIGHT     GENLIST_PADDING_SIZE_DEFAULT
+#define GENLIST_PADDING_SIZE_TOP       10
+#define GENLIST_PADDING_SIZE_BOTTOM    10
 
 #define GENLIST_TEXT2_WIDTH_MIN 150
 
@@ -34,6 +36,7 @@
 
 #define GENLIST_TEXT_BTN_HEIGHT   72
 #define GENLIST_ICON_SMALL_SIZE   32
+#define GENLIST_ICON_MEDIUM_SIZE  48
 #define GENLIST_ICON_BIG_SIZE     64
 #define GENLIST_ICON_ONOFF_HEIGHT 80
 #define GENLIST_ICON_ONOFF_WIDTH  60
 #define GENLIST_DIALOGUE_SEPARATOR_DEFAULT_HEIGHT 40
 
 
+#define GENLIST_DESCRIPT_DEFAULT( left, right, top, bottom ) \
+      description { state: "default" 0.0;\
+         rel1 { \
+            relative: 1 1; \
+            to_x: left; \
+            to_y: top; \
+         }\
+         rel2 {\
+            relative: 0 0;\
+            to_x: right;\
+            to_y: bottom;\
+         }\
+
+#define GENLIST_DESCRIPT_DOT_LT( left, top ) \
+      description { state: "default" 0.0;\
+         align: 0 0;\
+         rel1 { \
+            relative: 1 1; \
+            to_x: left; \
+            to_y: top; \
+         }\
+         rel2 {\
+            relative: 1 1;\
+            to_x: left;\
+            to_y: top;\
+         }\
+
+#define GENLIST_DESCRIPT_DOT_RT( right, top ) \
+      description { state: "default" 0.0;\
+         align: 1 0;\
+         rel1 { \
+            relative: 0 1; \
+            to_x: right; \
+            to_y: top; \
+         }\
+         rel2 {\
+            relative: 0 1;\
+            to_x: right;\
+            to_y: top;\
+         }\
+
+#define GENLIST_DESCRIPT_DOT_LB( left, bottom ) \
+      description { state: "default" 0.0;\
+         align: 0 1;\
+         rel1 { \
+            relative: 1 0; \
+            to_x: left; \
+            to_y: bottom; \
+         }\
+         rel2 {\
+            relative: 1 0;\
+            to_x: left;\
+            to_y: bottom;\
+         }\
+
+#define GENLIST_DESCRIPT_DOT_RB( right, bottom ) \
+      description { state: "default" 0.0;\
+         align: 1 1;\
+         rel1 { \
+            relative: 0 0; \
+            to_x: right; \
+            to_y: bottom; \
+         }\
+         rel2 {\
+            relative: 0 0;\
+            to_x: right;\
+            to_y: bottom;\
+         }\
+
+#define GENLIST_DESCRIPT_LINE_LEFT( left, top, bottom ) \
+      description { state: "default" 0.0;\
+         align: 0 0.5;\
+         rel1 { \
+            relative: 1 1; \
+            to_x: left; \
+            to_y: top; \
+         }\
+         rel2 {\
+            relative: 1 0;\
+            to_x: left;\
+            to_y: bottom;\
+         }\
+
+#define GENLIST_DESCRIPT_LINE_RIGHT( right, top, bottom ) \
+      description { state: "default" 0.0;\
+         align: 1 0.5;\
+         rel1 { \
+            relative: 0 1; \
+            to_x: right; \
+            to_y: top; \
+         }\
+         rel2 {\
+            relative: 0 0;\
+            to_x: right;\
+            to_y: bottom;\
+         }\
+
+#define GENLIST_DESCRIPT_LINE_TOP( left,  right, top ) \
+      description { state: "default" 0.0;\
+         align: 0.5 0;\
+         rel1 { \
+            relative: 1 1; \
+            to_x: left; \
+            to_y: top; \
+         }\
+         rel2 {\
+            relative: 0 1;\
+            to_x: right;\
+            to_y: top;\
+         }\
+
+#define GENLIST_DESCRIPT_LINE_BOTTOM( left,  right, bottom ) \
+      description { state: "default" 0.0;\
+         align: 0.5 1;\
+         rel1 { \
+            relative: 1 0; \
+            to_x: left; \
+            to_y: bottom; \
+         }\
+         rel2 {\
+            relative: 0 0;\
+            to_x: right;\
+            to_y: bottom;\
+         }\
+
+#define GENLIST_PADDING(NAME, SIZE_X, SIZE_Y, DESCRIPT) \
+       part { name: NAME; \
+            type: RECT; \
+            scale: 1; \
+            DESCRIPT \
+               min: SIZE_X SIZE_Y; \
+               fixed: 1 1; \
+               visible: 0; \
+            }\
+       } \
+
+
 // *************** Function Macro ******************* //
 #define GENLIST_PART_BASE( param_item_height ) \
          part { name: "base"; \
                fixed: 0 1; \
                visible: 0; \
                rel1.relative: 0.0 1.0; \
-               align: 0.0 1.0; \
+               align: 1.0 1.0; \
             } \
          }