}
}
+#define INDICATOR_HEIGHT_TM1 52
static void _create_window(struct appdata *ad)
{
Evas_Object *dummy_win = NULL;
evas_object_size_hint_fill_set(ad->win.win , EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
evas_object_size_hint_align_set(ad->win.win , 1.0, 0.5);
+ evas_object_resize(ad->win.win, ad->win.port_w, INDICATOR_HEIGHT_TM1);
+ _D("w,h(%d,%d)", ad->win.port_w, INDICATOR_HEIGHT_TM1);
+
evas_object_show(ad->win.win);
}
-#define INDICATOR_HEIGHT_TM1 52
static void _create_base_gui(void* data)
{
struct appdata *ad = data;
ad->win.w = ad->win.port_w;
ad->win.evas = evas_object_evas_get(ad->win.win);
- //_D("win_size = Original(%d, %d), Scaled(%lf, %lf)", ad->win.port_w, ad->win.h, ELM_SCALE_SIZE(ad->win.port_w), ELM_SCALE_SIZE(ad->win.h));
+ _D("win_size = Original(%d, %d), Scaled(%lf, %lf)", ad->win.port_w, ad->win.h, ELM_SCALE_SIZE(ad->win.port_w), ELM_SCALE_SIZE(ad->win.h));
_create_layout(ad, EDJ_FILE, GRP_NAME);
-
_create_box(&(ad->win));
- ad->win.data = data;
#if 0 /* For test */
Evas_Object *rect = evas_object_rectangle_add(ad->win.evas);
evas_object_show(rect);
evas_object_layer_set(rect, -256);
#endif
+ ad->win.data = data;
return;
}
#define DEFAULT_ICON_PADDING 3
#define NOTI_ICON_PADDING 2
-#define DEFAULT_ICON_HEIGHT 25
-#define DEFAULT_ICON_WIDTH 25
-#define BATTERY_ICON_WIDTH 25
-#define BATTERY_ICON_HEIGHT 25
-#define FIXED4_ICON_HEIGHT 25
-#define FIXED4_ICON_WIDTH 25
+#define DEFAULT_ICON_HEIGHT 31
+#define DEFAULT_ICON_WIDTH 31
+#define BATTERY_ICON_WIDTH 31
+#define BATTERY_ICON_HEIGHT 31
+#define FIXED4_ICON_HEIGHT 31
+#define FIXED4_ICON_WIDTH 31
#define BATTERY_DIGIT_WIDTH 8
#define BATTERY_DIGIT_HEIGHT 12
#define SYSTEM_RESUME "system_wakeup"
-#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_SIZE_24 ELM_SCALE_SIZE(30)
+#define TIME_FONT_SIZE_12 ELM_SCALE_SIZE(30)
+#define AMPM_FONT_SIZE ELM_SCALE_SIZE(29)
#define TIME_FONT_COLOR 200, 200, 200, 255
#define AMPM_FONT_COLOR 200, 200, 200, 255