elm_panel: Move enums to elm_panel.eo

Move enums from elm_panel_common.h to elm_panel.eo in order to make them
more accessible for bindings.
This commit is contained in:
Yakov Goldberg 2015-05-13 17:27:04 +03:00
parent 9a70ca3999
commit d3750c504f
2 changed files with 14 additions and 12 deletions

View File

@ -1,3 +1,16 @@
enum Elm.Panel.Orient
{
/*@
Panel orientation mode
@ingroup Panel */
top, /*@< Panel (dis)appears from the top */
bottom, /*@< Panel (dis)appears from the bottom */
left, /*@< Panel (dis)appears from the left */
right /*@< Panel (dis)appears from the right */
}
class Elm.Panel (Elm.Layout, Elm_Interface_Scrollable,
Elm_Interface_Atspi_Widget_Action)
{
@ -21,7 +34,7 @@ class Elm.Panel (Elm.Layout, Elm_Interface_Scrollable,
@ingroup Panel */
}
values {
Elm_Panel_Orient orient(2); /*@ The panel orientation. Can be one of the following:
Elm.Panel.Orient orient(Elm.Panel.Orient.left); /*@ The panel orientation. Can be one of the following:
@li #ELM_PANEL_ORIENT_TOP
@li #ELM_PANEL_ORIENT_LEFT
@li #ELM_PANEL_ORIENT_RIGHT */

View File

@ -4,17 +4,6 @@
* @{
*/
/**
* Panel orientation mode
*/
typedef enum
{
ELM_PANEL_ORIENT_TOP, /**< Panel (dis)appears from the top */
ELM_PANEL_ORIENT_BOTTOM, /**< Panel (dis)appears from the bottom */
ELM_PANEL_ORIENT_LEFT, /**< Panel (dis)appears from the left */
ELM_PANEL_ORIENT_RIGHT, /**< Panel (dis)appears from the right */
} Elm_Panel_Orient;
/**
* Panel scroll information
*