description
{
state: "default" 0.0;
- rel1 { relative: 0.0916666666 0.0537313432; to: background; }
- rel2 { relative: 1.0 0.3641791044; to: background; }
+ rel1 { relative: 0.0916666666 0.0656716418; to: background; }
+ rel2 { relative: 1.0 .3771493537; to: background; }
color: 0 0 0 0;
}
}
description
{
state: "default" 0.0;
- rel1 { relative: 0.005 0.006; to: "texthistory/bg"; }
+ rel1 { relative: 0.005 0.02; to: "texthistory/bg"; }
rel2 { relative: 0.995 1.0; to: "texthistory/bg"; }
}
}
evas_object_smart_callback_add(ad->imggrid, "selected", grid_selected, ad);
evas_object_size_hint_weight_set(ad->imggrid, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
+
elm_gengrid_clear(ad->imggrid);
gic.item_style = "default_grid";
evas_object_show (ad->imggrid);
+// for debugging, calc image history pos
+/*
+ Evas_Coord x, y, w, h;
+ Evas_Coord vx, vy, vw, vh;
+
+ edje_object_part_geometry_get(elm_layout_edje_get(ad->ly_main),"imagehistory/list",&x,&y,&w,&h);
+ evas_object_geometry_get (ad->imggrid, &vx,&vy,&vw,&vh);
+ fprintf(stderr, "## x = %d, y = %d, w = %d, h = %d\n", x, y, w, h);
+ fprintf(stderr, "## vx = %d, vy = %d, vw = %d, vh = %d\n", vx, vy, vw, vh);
+*/
+
ad->txtlist = elm_list_add(ad->win_main);
elm_layout_content_set(ad->ly_main, "texthistory/list", ad->txtlist);
elm_list_horizontal_mode_set(ad->txtlist, ELM_LIST_COMPRESS);