header and docs for elm_win_center got lost in an earlier merge I guess
authordiscomfitor <discomfitor@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sun, 4 Dec 2011 05:02:02 +0000 (05:02 +0000)
committerdiscomfitor <discomfitor@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sun, 4 Dec 2011 05:02:02 +0000 (05:02 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@65866 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/Elementary.h.in

index 6d2cedb..cfff393 100644 (file)
@@ -4188,6 +4188,16 @@ extern "C" {
     */
    EAPI void         elm_win_raise(Evas_Object *obj) EINA_ARG_NONNULL(1);
    /**
+    * Center a window on its screen
+    *
+    * This function centers window @p obj horizontally and/or vertically based on the values
+    * of @p h and @v.
+    * @param obj The window object
+    * @param h If true, center horizontally. If false, do not change horizontal location.
+    * @param v If true, center vertically. If false, do not change vertical location.
+    */
+   EAPI void         elm_win_center(Evas_Object *obj, Eina_Bool h, Eina_Bool v) EINA_ARG_NONNULL(1);
+   /**
     * Set the borderless state of a window.
     *
     * This function requests the Window Manager to not draw any decoration