elm_scroller_legacy: remove generated legacy include

Instead replace with the type definitions in this place. It is
not included from anywhere else, so it's fine.
This commit is contained in:
Daniel Kolesa 2019-04-18 17:08:47 +02:00
parent f381bf8f01
commit b4e85c954f
1 changed files with 39 additions and 1 deletions

View File

@ -1,4 +1,42 @@
#include "elm_interface_scrollable.eo.legacy.h"
#ifndef _ELM_INTERFACE_SCROLLABLE_EO_TYPES
#define _ELM_INTERFACE_SCROLLABLE_EO_TYPES
/**
* @brief Type that controls when scrollbars should appear.
*
* See also @ref elm_interface_scrollable_policy_set.
*
* @ingroup Elm_Scroller
*/
typedef enum
{
ELM_SCROLLER_POLICY_AUTO = 0, /**< Show scrollbars as needed */
ELM_SCROLLER_POLICY_ON, /**< Always show scrollbars */
ELM_SCROLLER_POLICY_OFF, /**< Never show scrollbars */
ELM_SCROLLER_POLICY_LAST /**< Sentinel value to indicate last enum field
* during iteration */
} Elm_Scroller_Policy;
/**
* @brief Type that controls how the content is scrolled.
*
* See also @ref elm_interface_scrollable_single_direction_set.
*
* @ingroup Elm_Scroller
*/
typedef enum
{
ELM_SCROLLER_SINGLE_DIRECTION_NONE = 0, /**< Scroll every direction */
ELM_SCROLLER_SINGLE_DIRECTION_SOFT, /**< Scroll single direction if the
* direction is certain */
ELM_SCROLLER_SINGLE_DIRECTION_HARD, /**< Scroll only single direction */
ELM_SCROLLER_SINGLE_DIRECTION_LAST /**< Sentinel value to indicate last enum
* field during iteration */
} Elm_Scroller_Single_Direction;
#endif
#include "elm_scroller_eo.legacy.h"
/**