{
double x;
double y;
-}Evas_Rel_Coord_Point;
+} Evas_Rel_Coord_Point;
static Evas_Object *g_popup = NULL;
static int times = 0;
}
static void
-_popup_move_cb(void *data, Evas_Object *obj EINA_UNUSED,
+_popup_align_cb(void *data, Evas_Object *obj EINA_UNUSED,
void *event_info EINA_UNUSED)
{
static int k = 0;
}
static void
-_popup_transparent_move_cb(void *data, Evas_Object *obj EINA_UNUSED,
- void *event_info EINA_UNUSED)
+_popup_transparent_align_cb(void *data, Evas_Object *obj EINA_UNUSED,
+ void *event_info EINA_UNUSED)
{
Evas_Object *popup;
Evas_Object *btn, *btn1;
btn = elm_button_add(popup);
elm_object_text_set(btn, "Move");
elm_object_part_content_set(popup, "button1", btn);
- evas_object_smart_callback_add(btn, "clicked", _popup_move_cb, popup);
+ evas_object_smart_callback_add(btn, "clicked", _popup_align_cb, popup);
btn1 = elm_button_add(popup);
elm_object_text_set(btn1, "Close");
_popup_center_text_3button_add_remove_button_cb, win);
elm_list_item_append(list, "popup-transparent", NULL, NULL,
_popup_transparent_cb, win);
- elm_list_item_append(list, "popup-transparent-move", NULL, NULL,
- _popup_transparent_move_cb, win);
+ elm_list_item_append(list, "popup-transparent-align", NULL, NULL,
+ _popup_transparent_align_cb, win);
elm_list_item_append(list, "popup-center-title + list content + 1 button",
NULL, NULL, _popup_center_title_list_content_1button_cb,
win);
/**
* @brief Set the alignment of the popup object
- *
* @param obj popup object
* @param horizontal The horizontal alignment of the popup
* @param vertical The vertical alignment of the popup
*
* Sets the alignment in which the popup will appear in its parent.
*
+ * @see elm_popup_align_get()
+ *
* @since 1.9
* @ingroup Popup
*/
* @ingroup Popup
*/
EAPI void elm_popup_align_get(const Evas_Object *obj, double *horizontal, double *vertical);
-