Modify size of window and clock font 00/43600/1 accepted/tizen/mobile/20150713.013429 submit/tizen_mobile/20150710.122044
authorEunyoung Lee <ey928.lee@samsung.com>
Fri, 10 Jul 2015 12:11:19 +0000 (21:11 +0900)
committerEunyoung Lee <ey928.lee@samsung.com>
Fri, 10 Jul 2015 12:11:19 +0000 (21:11 +0900)
Change-Id: I3aa63e867e5b15dc47b13fdf83d6190eedb9da12

daemon/main.c
modules/clock/clock.c
org.tizen.indicator.manifest

index ed837a7..ab10717 100644 (file)
@@ -683,14 +683,14 @@ static void _create_win(void* data)
 
        /* FIXME : get indicator width and height withour ecore_x API */
        elm_win_screen_size_get(ad->win.win, NULL, NULL, &root_w, &root_h);
-       _D("Window w,h (%d, %d)", root_w, root_h);
+       _D("Window w, h (%d, %d)", root_w, root_h);
 
 //     if (root_w > qHD_RESOLUTION_WIDTH) { // HD
-               ad->win.port_w = 720;
-               ad->win.land_w = 1280;
-               ad->win.h = 48;
+               ad->win.port_w = 1440;
+               ad->win.land_w = 2560;
+               ad->win.h = 96;
                /* FIXME */
-               root_w = 720;
+               root_w = 1440;
 #if 0
        } else if (root_w < qHD_RESOLUTION_WIDTH) { // WVGA
                ad->win.port_w = 480;
@@ -723,7 +723,13 @@ static void _create_win(void* data)
        evas_object_size_hint_align_set(ad->win.win , 1.0, 0.5);
 #endif
        ad->win.evas = evas_object_evas_get(ad->win.win);
-
+#if 0
+       Evas_Object *rect = evas_object_rectangle_add(ad->win.evas);
+       evas_object_resize(rect, 1440, 96);
+       evas_object_color_set(rect, 0, 0, 255, 255);
+       evas_object_show(rect);
+       evas_object_layer_set(rect, -256);
+#endif
        ad->win.layout = _create_layout(ad->win.win, EDJ_FILE0, GRP_MAIN);
        ret_if(!(ad->win.layout));
 
index 4e3d3b3..45c361c 100644 (file)
@@ -39,9 +39,9 @@
 
 #define SYSTEM_RESUME          "system_wakeup"
 
-#define TIME_FONT_SIZE_24              ELM_SCALE_SIZE(22)
-#define TIME_FONT_SIZE_12              ELM_SCALE_SIZE(22)
-#define AMPM_FONT_SIZE         ELM_SCALE_SIZE(21)
+#define TIME_FONT_SIZE_24              ELM_SCALE_SIZE(14)
+#define TIME_FONT_SIZE_12              ELM_SCALE_SIZE(14)
+#define AMPM_FONT_SIZE         ELM_SCALE_SIZE(13)
 
 #define TIME_FONT_COLOR                200, 200, 200, 255
 #define AMPM_FONT_COLOR                200, 200, 200, 255
index c00c25b..f5a44ec 100644 (file)
@@ -1,5 +1,5 @@
 <manifest>
         <request>
-                <domain name="_" />
+                <domain name="_"/>
         </request>
 </manifest>