forked from enlightenment/efl
elm_hover: Move enums to elm_hover.eo
Move enums from elm_hover_common.h to elm_hover.eo in order to make them more accessible for bindings. Delete elm_hover_common.h.
This commit is contained in:
parent
3492586afc
commit
5c59dc080f
|
@ -241,7 +241,6 @@ elm_grid.h \
|
|||
elm_grid_eo.h \
|
||||
elm_grid_legacy.h \
|
||||
elm_hover.h \
|
||||
elm_hover_common.h \
|
||||
elm_hover_eo.h \
|
||||
elm_hover_legacy.h \
|
||||
elm_icon.h \
|
||||
|
|
|
@ -1,3 +1,15 @@
|
|||
enum Elm.Hover.Axis
|
||||
{
|
||||
[[
|
||||
@addtogroup Hover
|
||||
The orientation axis for the hover object
|
||||
]]
|
||||
none, [[ELM_HOVER_AXIS_NONE -- no preferred orientation.]]
|
||||
horizontal, [[ELM_HOVER_AXIS_HORIZONTAL -- horizontal.]]
|
||||
vertical, [[ELM_HOVER_AXIS_VERTICAL -- vertical.]]
|
||||
both [[ELM_HOVER_AXIS_BOTH -- both.]]
|
||||
}
|
||||
|
||||
class Elm.Hover (Elm.Layout, Evas.Clickable_Interface)
|
||||
{
|
||||
eo_prefix: elm_obj_hover;
|
||||
|
@ -53,7 +65,7 @@ class Elm.Hover (Elm.Layout, Evas.Clickable_Interface)
|
|||
@ingroup Hover */
|
||||
return: const(char)*;
|
||||
params {
|
||||
@in pref_axis: Elm_Hover_Axis; /*@ The preferred orientation axis for the hover object to use */
|
||||
@in pref_axis: Elm.Hover.Axis; /*@ The preferred orientation axis for the hover object to use */
|
||||
}
|
||||
}
|
||||
dismiss {
|
||||
|
|
|
@ -80,7 +80,6 @@
|
|||
* @{
|
||||
*/
|
||||
|
||||
#include "elm_hover_common.h"
|
||||
#ifdef EFL_EO_API_SUPPORT
|
||||
#include "elm_hover_eo.h"
|
||||
#endif
|
||||
|
|
|
@ -1,20 +0,0 @@
|
|||
/**
|
||||
* @addtogroup Hover
|
||||
*
|
||||
* @{
|
||||
*/
|
||||
|
||||
/**
|
||||
* The orientation axis for the hover object
|
||||
*/
|
||||
typedef enum
|
||||
{
|
||||
ELM_HOVER_AXIS_NONE, /**< ELM_HOVER_AXIS_NONE -- no preferred orientation */
|
||||
ELM_HOVER_AXIS_HORIZONTAL, /**< ELM_HOVER_AXIS_HORIZONTAL -- horizontal */
|
||||
ELM_HOVER_AXIS_VERTICAL, /**< ELM_HOVER_AXIS_VERTICAL -- vertical */
|
||||
ELM_HOVER_AXIS_BOTH /**< ELM_HOVER_AXIS_BOTH -- both */
|
||||
} Elm_Hover_Axis;
|
||||
|
||||
/**
|
||||
* @}
|
||||
*/
|
Loading…
Reference in New Issue