diff options
Diffstat (limited to '')
-rw-r--r-- | libraries/elementary/src/lib/els_scroller.h | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/libraries/elementary/src/lib/els_scroller.h b/libraries/elementary/src/lib/els_scroller.h new file mode 100644 index 0000000..5566f4e --- /dev/null +++ b/libraries/elementary/src/lib/els_scroller.h | |||
@@ -0,0 +1,48 @@ | |||
1 | typedef enum | ||
2 | { | ||
3 | ELM_SMART_SCROLLER_POLICY_AUTO, | ||
4 | ELM_SMART_SCROLLER_POLICY_ON, | ||
5 | ELM_SMART_SCROLLER_POLICY_OFF | ||
6 | } | ||
7 | Elm_Smart_Scroller_Policy; | ||
8 | |||
9 | Evas_Object *elm_smart_scroller_add(Evas *evas); | ||
10 | void elm_smart_scroller_child_set(Evas_Object *obj, Evas_Object *child); | ||
11 | void elm_smart_scroller_extern_pan_set(Evas_Object *obj, Evas_Object *pan, void (*pan_set)(Evas_Object *obj, Evas_Coord x, Evas_Coord y), void (*pan_get)(Evas_Object *obj, Evas_Coord *x, Evas_Coord *y), void (*pan_max_get)(Evas_Object *obj, Evas_Coord *x, Evas_Coord *y), void (*pan_min_get)(Evas_Object *obj, Evas_Coord *x, Evas_Coord *y), void (*pan_child_size_get)(Evas_Object *obj, Evas_Coord *x, Evas_Coord *y)); | ||
12 | void elm_smart_scroller_custom_edje_file_set(Evas_Object *obj, char *file, char *group); | ||
13 | void elm_smart_scroller_child_pos_set(Evas_Object *obj, Evas_Coord x, Evas_Coord y); | ||
14 | void elm_smart_scroller_child_pos_get(Evas_Object *obj, Evas_Coord *x, Evas_Coord *y); | ||
15 | void elm_smart_scroller_child_region_show(Evas_Object *obj, Evas_Coord x, Evas_Coord y, Evas_Coord w, Evas_Coord h); | ||
16 | void elm_smart_scroller_child_region_set(Evas_Object *obj, Evas_Coord x, Evas_Coord y, Evas_Coord w, Evas_Coord h); | ||
17 | void elm_smart_scroller_child_viewport_size_get(Evas_Object *obj, Evas_Coord *w, Evas_Coord *h); | ||
18 | void elm_smart_scroller_step_size_set(Evas_Object *obj, Evas_Coord x, Evas_Coord y); | ||
19 | void elm_smart_scroller_step_size_get(Evas_Object *obj, Evas_Coord *x, Evas_Coord *y); | ||
20 | void elm_smart_scroller_page_size_set(Evas_Object *obj, Evas_Coord x, Evas_Coord y); | ||
21 | void elm_smart_scroller_page_size_get(Evas_Object *obj, Evas_Coord *x, Evas_Coord *y); | ||
22 | void elm_smart_scroller_policy_set(Evas_Object *obj, Elm_Smart_Scroller_Policy hbar, Elm_Smart_Scroller_Policy vbar); | ||
23 | void elm_smart_scroller_policy_get(Evas_Object *obj, Elm_Smart_Scroller_Policy *hbar, Elm_Smart_Scroller_Policy *vbar); | ||
24 | Evas_Object *elm_smart_scroller_edje_object_get(Evas_Object *obj); | ||
25 | void elm_smart_scroller_single_dir_set(Evas_Object *obj, Eina_Bool single_dir); | ||
26 | Eina_Bool elm_smart_scroller_single_dir_get(Evas_Object *obj); | ||
27 | void elm_smart_scroller_object_theme_set(Evas_Object *parent, Evas_Object *obj, const char *clas, const char *group, const char *style); | ||
28 | void elm_smart_scroller_mirrored_set(Evas_Object *obj, Eina_Bool mirrored); | ||
29 | void elm_smart_scroller_hold_set(Evas_Object *obj, Eina_Bool hold); | ||
30 | void elm_smart_scroller_freeze_set(Evas_Object *obj, Eina_Bool freeze); | ||
31 | void elm_smart_scroller_bounce_allow_set(Evas_Object *obj, Eina_Bool horiz, Eina_Bool vert); | ||
32 | void elm_smart_scroller_bounce_allow_get(const Evas_Object *obj, Eina_Bool *horiz, Eina_Bool *vert); | ||
33 | void elm_smart_scroller_paging_set(Evas_Object *obj, double pagerel_h, double pagerel_v, Evas_Coord pagesize_h, Evas_Coord pagesize_v); | ||
34 | void elm_smart_scroller_paging_get(Evas_Object *obj, double *pagerel_h, double *pagerel_v, Evas_Coord *pagesize_h, Evas_Coord *pagesize_v); | ||
35 | void elm_smart_scroller_current_page_get(Evas_Object *obj, int *pagenumber_h, int *pagenumber_v); | ||
36 | void elm_smart_scroller_last_page_get(Evas_Object *obj, int *pagenumber_h, int *pagenumber_v); | ||
37 | void elm_smart_scroller_page_show(Evas_Object *obj, int pagenumber_h, int pagenumber_v); | ||
38 | void elm_smart_scroller_page_bring_in(Evas_Object *obj, int pagenumber_h, int pagenumber_v); | ||
39 | void elm_smart_scroller_region_bring_in(Evas_Object *obj, Evas_Coord x, Evas_Coord y, Evas_Coord w, Evas_Coord h); | ||
40 | void elm_smart_scroller_widget_set(Evas_Object *obj, Evas_Object *wid); | ||
41 | void elm_smart_scroller_gravity_set(Evas_Object *obj, double x, double y); | ||
42 | void elm_smart_scroller_gravity_get(Evas_Object *obj, double *x, double *y); | ||
43 | Eina_Bool elm_smart_scroller_momentum_animator_disabled_get(Evas_Object *obj); | ||
44 | void elm_smart_scroller_momentum_animator_disabled_set(Evas_Object *obj, Eina_Bool disabled); | ||
45 | void elm_smart_scroller_bounce_animator_disabled_set(Evas_Object *obj, Eina_Bool disabled); | ||
46 | Eina_Bool elm_smart_scroller_bounce_animator_disabled_get(Evas_Object *obj); | ||
47 | Eina_Bool elm_smart_scroller_wheel_disabled_get(Evas_Object *obj); | ||
48 | void elm_smart_scroller_wheel_disabled_set(Evas_Object *obj, Eina_Bool disabled); | ||