elm_label: Move enums to elm_label.eo

Move enums from elm_label_common.h to elm_label.eo in order to make them
more accessible for bindings. Delete elm_label_common.h.
This commit is contained in:
Yakov Goldberg 2015-07-08 12:18:03 +03:00
parent b6d05186a4
commit 3492586afc
4 changed files with 12 additions and 22 deletions

View File

@ -259,7 +259,6 @@ elm_inwin.h \
elm_inwin_eo.h \
elm_inwin_legacy.h \
elm_label.h \
elm_label_common.h \
elm_label_eo.h \
elm_label_legacy.h \
elm_layout.h \

View File

@ -1,3 +1,14 @@
enum Elm.Label.Slide_Mode
{
[[
@addtogroup Label
Slide mode of a label widget
]]
none = 0, [[No slide effect.]]
auto, [[Slide only if the label area is bigger than the text width length.]]
always [[Slide always.]]
}
class Elm.Label (Elm.Layout)
{
eo_prefix: elm_obj_label;
@ -89,7 +100,7 @@ class Elm.Label (Elm.Layout)
@ingroup Label */
}
values {
mode: Elm_Label_Slide_Mode; /*@ The slide mode */
mode: Elm.Label.Slide_Mode; /*@ The slide mode */
}
}
@property slide_duration {

View File

@ -39,7 +39,6 @@
* See @ref tutorial_label for a demonstration of how to use a label widget.
* @{
*/
#include "elm_label_common.h"
#ifdef EFL_EO_API_SUPPORT
#include "elm_label_eo.h"
#endif

View File

@ -1,19 +0,0 @@
/**
* @addtogroup Label
*
* @{
*/
/**
* Slide mode of a label widget
*/
typedef enum
{
ELM_LABEL_SLIDE_MODE_NONE = 0, /**< no slide effect */
ELM_LABEL_SLIDE_MODE_AUTO, /**< slide only if the label area is bigger than the text width length */
ELM_LABEL_SLIDE_MODE_ALWAYS /**< slide always */
} Elm_Label_Slide_Mode;
/**
* @}
*/