// for elm_check, elm_list
elm_theme_extension_add(NULL, APP_EDJ_FILE);
- cdy = (1.0*CLIPDRAWER_HEIGHT/800)*ad->root_h;
- cdw = (1.0*CLIPDRAWER_POS_Y/800*1.0)*ad->root_h;
+ cdy = (1.0*CLIPDRAWER_HEIGHT/SCREEN_HEIGHT)*ad->root_h;
+ cdw = (1.0*CLIPDRAWER_POS_Y/SCREEN_HEIGHT)*ad->root_h;
evas_object_resize(ad->win_main, ad->root_w, (int)cdy);
evas_object_move(ad->win_main, CLIPDRAWER_POS_X, (int)cdw);
DTRACE("capture current screen\n");
int width, height;
- width = 480; height = 800;
+ width = ad->root_w;
+ height = ad->root_h;
capimginfo->imgdata = malloc(sizeof(char) * width*height*4);
capimginfo->eo = evas_object_image_add(ad->evas);