popup: fixed formatting, typos, and subtle things of commit f4f2e5d24271cc65044434793...
authorDaniel Juyung Seo <juyung.seo@samsung.com>
Mon, 2 Dec 2013 12:17:06 +0000 (21:17 +0900)
committerDaniel Juyung Seo <juyung.seo@samsung.com>
Mon, 2 Dec 2013 12:20:03 +0000 (21:20 +0900)
legacy/elementary/src/bin/test_popup.c
legacy/elementary/src/lib/elc_popup_eo.h
legacy/elementary/src/lib/elc_popup_legacy.h

index c25486a..0b01b67 100644 (file)
@@ -9,7 +9,7 @@ typedef struct
 {
    double x;
    double y;
-}Evas_Rel_Coord_Point;
+} Evas_Rel_Coord_Point;
 
 static Evas_Object *g_popup = NULL;
 static int times = 0;
@@ -38,7 +38,7 @@ _popup_close_cb(void *data, Evas_Object *obj EINA_UNUSED,
 }
 
 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;
@@ -531,8 +531,8 @@ _popup_transparent_cb(void *data, Evas_Object *obj EINA_UNUSED,
 }
 
 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;
@@ -545,7 +545,7 @@ _popup_transparent_move_cb(void *data, Evas_Object *obj EINA_UNUSED,
    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");
@@ -638,8 +638,8 @@ test_popup(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED,
                         _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);
index 835a3a1..f1c8b1f 100644 (file)
@@ -143,7 +143,7 @@ enum
 
 /**
  * @def elm_obj_popup_align_set
- * @since 1.8
+ * @since 1.9
  *
  * @brief Set the alignment of the popup object relative to its parent
  *
@@ -156,7 +156,7 @@ enum
 
 /**
  * @def elm_obj_popup_align_get
- * @since 1.8
+ * @since 1.9
  *
  * @brief Return the alignment of the popup object relative to its parent
  *
index 189bcb2..63d7628 100644 (file)
@@ -139,13 +139,14 @@ EAPI Elm_Object_Item *elm_popup_item_append(Evas_Object *obj, const char *label,
 
 /**
  * @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
  */
@@ -163,4 +164,3 @@ EAPI void elm_popup_align_set(Evas_Object *obj, double horizontal, double vertic
  * @ingroup Popup
  */
 EAPI void elm_popup_align_get(const Evas_Object *obj, double *horizontal, double *vertical);
-