summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@samsung.com>2019-04-18 17:08:47 +0200
committerDaniel Kolesa <d.kolesa@samsung.com>2019-04-18 17:09:30 +0200
commitb4e85c954f2864d2648f2986fb389450f27d1e18 (patch)
tree44b19d6a1552117f415716a05815281c97c6690f
parentf381bf8f01763d9bd07f86cef90500f09205f759 (diff)
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.
-rw-r--r--src/lib/elementary/elm_scroller_legacy.h40
1 files changed, 39 insertions, 1 deletions
diff --git a/src/lib/elementary/elm_scroller_legacy.h b/src/lib/elementary/elm_scroller_legacy.h
index 6b40eff78f..b1ec21d223 100644
--- a/src/lib/elementary/elm_scroller_legacy.h
+++ b/src/lib/elementary/elm_scroller_legacy.h
@@ -1,4 +1,42 @@
1#include "elm_interface_scrollable.eo.legacy.h" 1#ifndef _ELM_INTERFACE_SCROLLABLE_EO_TYPES
2#define _ELM_INTERFACE_SCROLLABLE_EO_TYPES
3
4/**
5 * @brief Type that controls when scrollbars should appear.
6 *
7 * See also @ref elm_interface_scrollable_policy_set.
8 *
9 * @ingroup Elm_Scroller
10 */
11typedef enum
12{
13 ELM_SCROLLER_POLICY_AUTO = 0, /**< Show scrollbars as needed */
14 ELM_SCROLLER_POLICY_ON, /**< Always show scrollbars */
15 ELM_SCROLLER_POLICY_OFF, /**< Never show scrollbars */
16 ELM_SCROLLER_POLICY_LAST /**< Sentinel value to indicate last enum field
17 * during iteration */
18} Elm_Scroller_Policy;
19
20/**
21 * @brief Type that controls how the content is scrolled.
22 *
23 * See also @ref elm_interface_scrollable_single_direction_set.
24 *
25 * @ingroup Elm_Scroller
26 */
27typedef enum
28{
29 ELM_SCROLLER_SINGLE_DIRECTION_NONE = 0, /**< Scroll every direction */
30 ELM_SCROLLER_SINGLE_DIRECTION_SOFT, /**< Scroll single direction if the
31 * direction is certain */
32 ELM_SCROLLER_SINGLE_DIRECTION_HARD, /**< Scroll only single direction */
33 ELM_SCROLLER_SINGLE_DIRECTION_LAST /**< Sentinel value to indicate last enum
34 * field during iteration */
35} Elm_Scroller_Single_Direction;
36
37
38#endif
39
2#include "elm_scroller_eo.legacy.h" 40#include "elm_scroller_eo.legacy.h"
3 41
4/** 42/**