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