[pagecontrol]: macros used instead of hard coded values.
authorshilpa singh <shilpa.singh@samsung.com>
Mon, 13 Feb 2012 10:16:33 +0000 (15:46 +0530)
committershilpa singh <shilpa.singh@samsung.com>
Mon, 13 Feb 2012 10:16:33 +0000 (15:46 +0530)
themes/inc/tizen-black-hd-inc.edc
themes/inc/tizen-black-inc.edc
themes/inc/tizen-hd-inc.edc
themes/inc/tizen-inc.edc
themes/widgets/pagecontrol.edc

index 2e5812c..cb57910 100644 (file)
 #define SCROLLER_HANDLER_SCROLLBAR_VBAR_MIDDLE_MIN_SIZE_INC 48 26
 #define SCROLLER_HANDLER_SCROLLBAR_HBAR_MIDDLE_MIN_SIZE_INC 26 48
 #define SCROLLER_HANDLER_SCROLLBAR_PADDING_INC 10
+
+#define PAGECONTROL_IND_MIN_BG_INC 52 52
+#define PAGECONTROL_IND_MIN_INC 24 24
index 4db69f0..9a153c8 100644 (file)
 #define SCROLLER_HANDLER_SCROLLBAR_VBAR_MIDDLE_MIN_SIZE_INC 30 16
 #define SCROLLER_HANDLER_SCROLLBAR_HBAR_MIDDLE_MIN_SIZE_INC 16 30
 #define SCROLLER_HANDLER_SCROLLBAR_PADDING_INC 4
+
+#define PAGECONTROL_IND_MIN_BG_INC 32 32
+#define PAGECONTROL_IND_MIN_INC 16 16
index 07ea0fe..6865469 100644 (file)
 #define SCROLLER_HANDLER_SCROLLBAR_VBAR_MIDDLE_MIN_SIZE_INC 48 26
 #define SCROLLER_HANDLER_SCROLLBAR_HBAR_MIDDLE_MIN_SIZE_INC 26 48
 #define SCROLLER_HANDLER_SCROLLBAR_PADDING_INC 10
+
+#define PAGECONTROL_IND_MIN_BG_INC 52 52
+#define PAGECONTROL_IND_MIN_INC 24 24
index 716448d..59bf69c 100644 (file)
 #define SCROLLER_HANDLER_SCROLLBAR_VBAR_MIDDLE_MIN_SIZE_INC 30 16
 #define SCROLLER_HANDLER_SCROLLBAR_HBAR_MIDDLE_MIN_SIZE_INC 16 30
 #define SCROLLER_HANDLER_SCROLLBAR_PADDING_INC 4
+
+#define PAGECONTROL_IND_MIN_BG_INC 32 32
+#define PAGECONTROL_IND_MIN_INC 16 16
index 4a75da8..33ebc31 100644 (file)
@@ -68,8 +68,8 @@ group { \
          scale: 1; \
          description { \
             state: "default" 0.0; \
-            min: 44 40; \
-            max: 44 40; \
+            min: PAGECONTROL_IND_MIN_BG_INC; \
+            max: PAGECONTROL_IND_MIN_BG_INC; \
             align: 0.5 0.5; \
             color: 0 0 0 0; \
          } \
@@ -80,8 +80,8 @@ group { \
          scale: 1; \
          description { \
             state: "default" 0.0; \
-            min: 32 32; \
-            max: 32 32; \
+            min: PAGECONTROL_IND_MIN_BG_INC; \
+            max: PAGECONTROL_IND_MIN_BG_INC; \
             fixed: 1 1; \
             align: 0.5 0.5; \
             visible: 1; \
@@ -94,8 +94,8 @@ group { \
          description { \
             state: "selected" 0.0; \
             inherit: "default" 0.0; \
-            min: 16 16; \
-            max: 16 16; \
+            min: PAGECONTROL_IND_MIN_INC; \
+            max: PAGECONTROL_IND_MIN_INC; \
             visible: 0; \
          } \
       } \
@@ -105,8 +105,8 @@ group { \
          scale: 1; \
          description { \
             state: "default" 0.0; \
-            min: 16 16; \
-            max: 16 16; \
+            min: PAGECONTROL_IND_MIN_INC; \
+            max: PAGECONTROL_IND_MIN_INC; \
             fixed: 1 1; \
             align: 0.5 0.5; \
             visible: 0; \
@@ -119,8 +119,8 @@ group { \
          description { \
             state: "selected" 0.0; \
             inherit: "default" 0.0; \
-            min: 32 32; \
-            max: 32 32; \
+            min: PAGECONTROL_IND_MIN_BG_INC; \
+            max: PAGECONTROL_IND_MIN_BG_INC; \
             visible: 1; \
          } \
       } \