+elementary (0.4.0+svn.49550slp2+3build41) unstable; urgency=low
+
+ * [elm_popup_add_with_buttons_added with EINA_DEPRECATED]
+ added EINA_DEPRECATED for some aqua and android widgets.
+ Made popup when window passed as Evas_Object and api changed to elm_popup_with _buttons_add
+ add elm_webview_default_layout_width_set API
+ [genlist] code refactoring
+ [box] make extended box min size unset in the layout function
+ [elm_dayselector.c] added new API elm_dayselector_check_state_set
+ [elm_animatedicon] elm_animatedicon is removed
+ ...
+ * Git: 165.213.180.234:/git/slp/pkgs/elementary
+ * Tag: elementary_0.4.0+svn.49550slp2+3build41
+
+ -- ChunEon Park <chuneon.park@samsung.com> Thu, 26 Aug 2010 19:18:03 +0900
+
elementary (0.4.0+svn.49550slp2+3build40) unstable; urgency=low
* Beat Winset updates.
Evas_Object *scroller;
Evas_Object *bg;
Evas_Object *btn_layout;
- Evas_Coord parent_w, parent_h;
Eina_List *items;
Elm_Ctxpopup_Arrow arrow_dir;
int btn_cnt;
x = x - (base_w/2); \
if(x < 0) { \
x = 0; \
- }else if(x + base_w > wd->parent_w) { \
- x = wd->parent_w - base_w; \
+ }else if(x + base_w > parent_w) { \
+ x = parent_w - base_w; \
} \
}while(0)
y = y - (base_h/2); \
if(y < 0 ) { \
y = 0; \
- }else if(y + base_h > wd->parent_h) \
+ }else if(y + base_h > parent_h) \
{ \
- y = wd->parent_h - base_h; \
+ y = parent_h - base_h; \
} \
}while(0)
xwin = elm_win_xwindow_get(parent);
zone = ecore_x_e_illume_zone_get(xwin);
ecore_x_e_illume_indicator_geometry_get(zone, NULL, NULL, NULL, &h);
+// fprintf( stderr, "indicator h = %d\n", h);
if (h < 0)
h = 0;
Evas_Coord finger_size;
Evas_Coord max_width_size, max_height_size;
Evas_Coord arrow_w = 0, arrow_h = 0;
+ Evas_Coord parent_w, parent_h;
Evas_Coord indicator_h = 0;
int available_direction[4] = { 1, 1, 1, 1 };
int idx;
return ELM_CTXPOPUP_ARROW_DOWN;
}
- // indicator_h = _get_indicator_h(wd->parent);
+ indicator_h = _get_indicator_h(wd->parent);
finger_size = elm_finger_size_get();
edje_object_part_geometry_get(wd->arrow, "ctxpopup_arrow", NULL, NULL,
&arrow_w, &arrow_h);
evas_object_resize(wd->arrow, arrow_w, arrow_h);
+ evas_object_geometry_get(wd->parent, NULL, NULL, &parent_w, &parent_h);
//Define x, y Segments and find invalidated direction.
for (idx = 0; idx < 4; ++idx)
break;
case ELM_CTXPOPUP_ARROW_LEFT:
x2 = (x + base_w);
- if ((x2 + arrow_w + finger_size) < wd->parent_w)
+ if ((x2 + arrow_w + finger_size) < parent_w)
continue;
- x2 = (wd->parent_w - base_w);
+ x2 = (parent_w - base_w);
available_direction[idx] = 0;
break;
case ELM_CTXPOPUP_ARROW_UP:
y2 = (y + base_h);
- if ((y2 + arrow_h + finger_size) <wd->parent_h)
+ if ((y2 + arrow_h + finger_size) < parent_h)
continue;
- y2 = (wd->parent_h - base_h);
+ y2 = (parent_h - base_h);
available_direction[idx] = 0;
break;
default:
_parent_resize(void *data, Evas *e, Evas_Object *obj, void *event_info)
{
Evas_Coord w, h;
- Evas_Coord x, y;
Widget_Data *wd = (Widget_Data *) elm_widget_data_get(data);
if (!wd)
evas_object_geometry_get(obj, NULL, NULL, &w, &h);
evas_object_resize(wd->bg, w, h);
- evas_object_geometry_get(data, &x, &y, NULL, NULL);
- wd->parent_w = w;
- wd->parent_h = h;
-
- evas_object_move(data, x+(w/wd->parent_w), y+(h/wd->parent_h));
+ evas_object_hide(data);
}
static void
elm_widget_theme_hook_set(obj, _theme_hook);
wd->parent = parent;
- evas_object_geometry_get(parent, NULL, NULL, &wd->parent_w, &wd->parent_h);
//Background
wd->bg = edje_object_add(e);