summaryrefslogtreecommitdiff
path: root/src/lib/elm_panel_common.h
blob: 2bccf6b05d8222ba4c223b5783eef8c16faf9e16 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/**
 * @addtogroup Panel
 *
 * @{
 */

/**
 * 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
 *
 * @since 1.11
 */
typedef struct _Elm_Panel_Scroll_Info Elm_Panel_Scroll_Info;
/**
 * Panel scroll information
 *
 * @since 1.11
 */
struct _Elm_Panel_Scroll_Info
{
   double rel_x;  /**<content scrolled position (0.0 ~ 1.0) in the panel>*/
   double rel_y;  /**<content scrolled position (0.0 ~ 1.0) in the panel>*/

};

/**
 * @}
 */