elm_popup: Move enums to elm_popup.eo

Move enums from elc_popup_common.h to elm_popup.eo in order to make them
more accessible for bindings. Delete elc_popup_common.h.
This commit is contained in:
Yakov Goldberg 2015-07-06 18:31:07 +03:00
parent 12a501f0cc
commit c32e02f013
4 changed files with 25 additions and 27 deletions

View File

@ -135,7 +135,6 @@ elc_naviframe_common.h \
elc_popup.h \
elc_popup_eo.h \
elc_popup_legacy.h \
elc_popup_common.h \
elm_access.h \
elm_actionslider.h \
elm_actionslider_eo.h \

View File

@ -117,7 +117,6 @@
* @li @ref popup_example_03_c
*/
#include "elc_popup_common.h"
#ifdef EFL_EO_API_SUPPORT
#include "elc_popup_eo.h"
#endif

View File

@ -1,24 +0,0 @@
/**
* @brief Possible orient values for popup.
*
* These values should be used in conjunction to elm_popup_orient_set() to
* set the position in which the popup should appear(relative to its parent)
* and in conjunction with elm_popup_orient_get() to know where the popup
* is appearing.
*
* @ingroup Popup
*/
typedef enum
{
ELM_POPUP_ORIENT_TOP = 0, /**< Popup should appear in the top of parent, default */
ELM_POPUP_ORIENT_CENTER, /**< Popup should appear in the center of parent */
ELM_POPUP_ORIENT_BOTTOM, /**< Popup should appear in the bottom of parent */
ELM_POPUP_ORIENT_LEFT, /**< Popup should appear in the left of parent */
ELM_POPUP_ORIENT_RIGHT, /**< Popup should appear in the right of parent */
ELM_POPUP_ORIENT_TOP_LEFT, /**< Popup should appear in the top left of parent */
ELM_POPUP_ORIENT_TOP_RIGHT, /**< Popup should appear in the top right of parent */
ELM_POPUP_ORIENT_BOTTOM_LEFT, /**< Popup should appear in the bottom left of parent */
ELM_POPUP_ORIENT_BOTTOM_RIGHT, /**< Notify should appear in the bottom right of parent */
ELM_POPUP_ORIENT_LAST /**< Sentinel value, @b don't use */
} Elm_Popup_Orient;

View File

@ -1,3 +1,27 @@
enum Elm.Popup.Orient
{
[[
@brief Possible orient values for popup.
These values should be used in conjunction to elm_popup_orient_set() to
set the position in which the popup should appear(relative to its parent)
and in conjunction with elm_popup_orient_get() to know where the popup
is appearing.
@ingroup Popup
]]
top = 0, [[Popup should appear in the top of parent, default.]]
center, [[Popup should appear in the center of parent.]]
bottom, [[Popup should appear in the bottom of parent.]]
left, [[Popup should appear in the left of parent.]]
right, [[Popup should appear in the right of parent.]]
top_left, [[Popup should appear in the top left of parent.]]
top_right, [[Popup should appear in the top right of parent.]]
bottom_left, [[Popup should appear in the bottom left of parent.]]
bottom_right, [[Notify should appear in the bottom right of parent.]]
last [[Sentinel value, @b don't use.]]
}
class Elm.Popup (Elm.Layout, Elm_Interface_Atspi_Widget_Action)
{
eo_prefix: elm_obj_popup;
@ -97,7 +121,7 @@ class Elm.Popup (Elm.Layout, Elm_Interface_Atspi_Widget_Action)
@see Elm_Popup_Orient */
}
values {
orient: Elm_Popup_Orient; /*@ the orientation of the popup */
orient: Elm.Popup.Orient; /*@ the orientation of the popup */
}
}
@property timeout {