eext_gengrid: make circle gengrid scalable to support multi-resolution targets 12/238912/1 accepted/tizen_6.0_unified accepted/tizen_6.0_unified_hotfix tizen_6.0 tizen_6.0_hotfix accepted/tizen/6.0/unified/20201030.113906 accepted/tizen/6.0/unified/hotfix/20201103.002346 accepted/tizen/unified/20200721.142250 submit/tizen/20200720.225554 submit/tizen_6.0/20201029.205105 submit/tizen_6.0_hotfix/20201102.192505 submit/tizen_6.0_hotfix/20201103.114805 tizen_6.0.m2_release
authorTaehyub Kim <taehyub.kim@samsung.com>
Mon, 20 Jul 2020 07:39:57 +0000 (16:39 +0900)
committerTaehyub Kim <taehyub.kim@samsung.com>
Mon, 20 Jul 2020 07:40:00 +0000 (16:40 +0900)
Applied ELM_SCALE_SIZE to circle gengrid variables to cover multi-resolution.

Change-Id: I94ff1f62ffd71f7d332d41ea70fc0fc951eec3ea

src/wearable/circle/efl_extension_circle_object_gengrid.c

index 92fec703444e2bd3d53313b5525eea7779e5fe18..4b1075a3fa2f47a533f950d2fde46afa9b658414 100644 (file)
@@ -25,8 +25,8 @@
 #define VERTICAL_BAR_ANGLE_MIN_SIZE 6.0
 #define VERTICAL_BAR_HIDE_WAITTING_TIME 0.2
 #define VERTICAL_BAR_HIDE_WAITTING_TIME_ON_INITIALIZING 1.0
-#define VERTICAL_BAR_WIDTH_SIZE 10
-#define VERTICAL_BAR_RADIUS_SIZE 174 // (180 - 6)
+#define VERTICAL_BAR_WIDTH_SIZE ELM_SCALE_SIZE(10)
+#define VERTICAL_BAR_RADIUS_SIZE ELM_SCALE_SIZE(174) // (180 - 6)
 
 #define HORIZONTAL_BAR_ANGLE_START -30.0
 #define HORIZONTAL_BAR_ANGLE_RANGE 60.0
@@ -34,8 +34,8 @@
 #define HORIZONTAL_BAR_ANGLE_MIN_SIZE 6.0
 #define HORIZONTAL_BAR_HIDE_WAITTING_TIME 0.2
 #define HORIZONTAL_BAR_HIDE_WAITTING_TIME_ON_INITIALIZING 1.0
-#define HORIZONTAL_BAR_WIDTH_SIZE 10
-#define HORIZONTAL_BAR_RADIUS_SIZE 174 // (180 - 6)
+#define HORIZONTAL_BAR_WIDTH_SIZE ELM_SCALE_SIZE(10)
+#define HORIZONTAL_BAR_RADIUS_SIZE ELM_SCALE_SIZE(174) // (180 - 6)
 
 //ONEUI1.5(20200409): Support different color with bezel
 #define SCROLL_BAR_TRANSIT_TIME 0.2