Commit Graph

42 Commits

Author SHA1 Message Date
Amitesh Singh 248b6beeee intf scroll: handle wheel logic in post event cb.
Summary:
@Fix

Resolves: T2216

Reviewers: seoz, raster, JackDanielZ, Hermet

Reviewed By: Hermet

Subscribers: cedric, eagleeye, SanghyeonLee, seoz, sachin.dev

Maniphest Tasks: T2216

Differential Revision: https://phab.enlightenment.org/D2393

Conflicts:

	src/lib/elm_interface_scrollable.c
2015-08-07 17:34:20 +09:00
Carsten Haitzler 37fad8fd65 elm - scroller - set hold flag on wheel events if used for that dir
@fix

this should fix the clash between wheel and scroller ... somewhat
2015-07-07 19:35:48 +09:00
Daniel Juyung Seo b254da1bd5 interface_scrollable: Add more description to animators.
It is surprising that there is no such a comment on a scrollerable
interface considering the complexity of scroller.
2015-06-26 10:30:21 +09:00
Jaehwan Kim 1925ec3b8e scroller: add loop feature.
This feature works the infinite loop horizontally or vertically.
If the content is set, it will be shown repeatedly.
@feature

Change-Id: I1f20b794ae44bc8e5d120901222c7cccadca96b7

Conflicts:
	src/lib/elm_scroller.c
	src/lib/elm_scroller_legacy.h
2015-03-23 20:35:04 +09:00
Carsten Haitzler 44556de7f9 elm scroller - add adnimated and accelerated wheel scroll
now when a whele event comes in, 1. the amount we scroll accelerates
based on time between wheel events (the faster wheel events come out,
the more accel), and 2. we animate to the new position providing a
smooth transition to the new spot rather than a jump. very visually
nice.

@feature
2015-02-13 13:14:07 +09:00
Daniel Kolesa 20525deb55 update according to latest efl changes: _CLASS -> _CLASS/INTERFACE/MIXIN 2014-06-30 21:37:04 +01:00
Yossi Kantor 424f1b7ee0 Eolian: Eo header clean and legacy integration for:
Elementary Scrollable Interface
  Elementary Access
  Elementary Pan
  Elementary Client
  Elementary Client View
  Elementary Server
  Elementary Server View
  Elementary Layout
  Elementary Frame
  Elementary Hover
  Elementary ActionSlider
  Elementary Atspi Object
2014-04-24 09:21:32 +03:00
Carsten Haitzler 9d55fab418 entry: wrong viewport value calculation issue fix
Summary:
Issue: As entire scroller edje co-ordinates was being taken instead of the actual viewport value,
if in scroller edje more parts are added apart from just "elm.swallow.content", then the viewport value
set will be wrong. hence the selection handlers will not hide when they have to hide.

solution: Instead of taking scroller edje's geometry, get the actual viewport values.
To get viewport x,y a new scrollable interface is also added.

signed-off by: Shilpa Singh <shilpa.singh@samsung.com>

@fix

Test Plan: Selection handlers have to hide correctly when the text is scrolled in a scrolled entry, if the scroller edc of entry has more parts added other than elm.swallow.content, then when we scroll the selection handlers are not hidden correctly.

Reviewers: jaehwan, woohyun, seoz, Hermet, raster

CC: govi, rajeshps, thiepha

Differential Revision: https://phab.enlightenment.org/D674
2014-04-21 12:31:49 +09:00
Tom Hacohen b11b56ea43 Elm interface scrollable: Put .eo.h include after needed deps. 2014-04-03 15:53:58 +01:00
Daniel Zaoui 6ef8dc7502 Eolian: Integration of Pan 2014-03-18 08:14:44 +02:00
Daniel Zaoui 7460467419 Eolian: Integration of Scrollable Interface 2014-03-18 08:14:44 +02:00
Yakov Goldberg f40c6044a7 interface scrollable: fix doxygen 2014-02-18 16:27:52 +02:00
Carsten Haitzler 1d4b74e1de elm scroller - fix self feeding reconfigure to bail out on many loops 2014-02-14 17:32:13 +09:00
Yakov Goldberg 025da3d407 scrollable interface: typo type 2013-12-30 15:44:17 +02:00
Yakov Goldberg 93994865bc scrollable_interface: doxygen typo; eo_typecheck typo 2013-12-05 12:03:34 +02:00
Carsten Haitzler c0e17c12f0 elm scroller - fix infinite recursion in scroller adjust
there is an infinite recursion in the scroller adjust code that can
happen some times. this fixes T434.
2013-11-26 19:34:36 +09:00
Carsten Haitzler c09a0d9ea3 elm scroller - try a simpler approach - animator queues idle enterer
this allows the idle enterer to pick up all prior stored events like
move coords etc. just before going idle (and rendering).
2013-10-25 17:00:25 +09:00
Carsten Haitzler 8dab5200ea Revert "elm scroller - also allow animator still to ALSO drive scroll for smoothing"
This reverts commit e52ddca9b0d424c5e1dfeeec501f4a95544e3dbb.
This reverts commit 7a7ea7d61e8a321dcd2046d07a0473e57a87d8b2.
2013-10-25 17:00:10 +09:00
Carsten Haitzler 498747b16a elm scroller - also allow animator still to ALSO drive scroll for smoothing 2013-10-22 11:01:00 +01:00
Carsten Haitzler c199bf7b35 scrollable - try using a job for move events for scrollinh instead of animator 2013-10-22 08:12:59 +01:00
Jaehwan Kim c25006bd20 Fix the timing which the content_viewport_resize callback is called.
It is proper when the EVAS_CALLBACK_RESIZE is called instead of _pan_smart_resize.
When the _pan_smart_resize is called, the geometry of an object is not changed.
So the widget use the signal can miss-calculate the size.
2013-07-01 20:17:30 +09:00
Jaehwan Kim de36ba66cf Fix the parameter. This is related to previous commit. 2013-06-30 15:15:08 +09:00
Jaehwan Kim d418b27b96 Add the elm_scrollable_interface_content_viewport_resize_cb_set.
When the viewport is resized, the enrolled function is called.
2013-06-30 14:42:34 +09:00
Daniel Zaoui a40bed2a38 Elementary: Fix scroller APIs to be usable by all the widgets using the
scrollable interface.
2013-05-24 16:31:25 +03:00
Gustavo Lima Chaves d8be9d6cf1 Scroller can me made to snap to pages on scrolling now. 2013-05-17 15:37:37 -03:00
Flavio Ceolin d53cc519ff Welcome a new smart callback for scrollables -- page,changed. 2013-05-15 18:57:15 -03:00
cabelitos 52597125f7 Adding a new scroller API, to block its movements (by user input).
With this new API the user can block movements on X axis, Y Axis or
both. I was left with no option but to come up with this, side by side
with elm_object_scroll_freeze_push(), elm_object_scroll_hold_push()
and elm_object_scroll_lock_x_set() (or
elm_object_scroll_lock_y_set()), once all of these will act on *parent
and/or child* widgets too, making those useless for any pratical use
of scroll blocking. Here's a sane, new option, enjoy it.
2013-05-10 11:07:10 -03:00
Jaehwan Kim 0bde066596 Add the config elm_scroll_smooth_start_enable.
There's no tick when scroller starts scroll if it's set.
2013-04-30 16:48:18 +09:00
Jaehwan Kim 87fc1389b9 Add the API elm_scroller_single_direction_set/get.
This sets how the content is scrolled.
2013-04-10 20:06:41 +09:00
Jaehwan Kim 85849217f9 Add the API elm_scroller_page_scroll_limit_set/get.
It sets the maxium of the movable page at flicking.
2013-04-06 13:09:59 +09:00
Daniel Juyung Seo 819c70e41f elm_interface_scrollable.h: added documentation for recently added apis. 2013-04-05 02:08:18 +09:00
Jaehwan Kim 8db418c0a0 Add the repeat_events_set/get for blocking the events of content objects.
This feature is useful to the access.
2013-04-01 17:13:32 +09:00
Jaehwan Kim 5f8af66123 Add the smart signals in scroller. "scroll,left", "scroll,right", "scroll,up", "scroll,down". 2013-03-15 18:53:17 +09:00
Jaehwan Kim d58d971e6f Add the option about sending signals in content_pos_set.
When the scroller is resized, the signals("elm,action,scroll", "elm,edge,top" so on) shouldn't be sent,
because it's not a scroll-action. So in this case, the content_pos_set should be called without the signals.
2013-02-28 15:18:51 +09:00
Jaehwan Kim fb6356fc58 Add smart callback signals of a scroller. "vbar,drag", "vbar,press", "vbar,unpress", "hbar,drag", "hbar,press", "hbar,unpress".
SVN revision: 83703
2013-02-07 06:13:31 +00:00
Daniel Zaoui 4bb6abd565 Fix docs and wrong Eo API
Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>

SVN revision: 81218
2012-12-18 08:21:57 +00:00
Daniel Zaoui 7c7c07f3a2 Added missing descriptions for Eo defines whose functions hadn't descriptions at all. Needed in language bindings.
Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>

SVN revision: 79732
2012-11-27 05:35:43 +00:00
Yakov Goldberg 5c98343198 We have ported to Eo all the widgets of elementary. We didn't change the inheritance itself, only the mechanism, as done previously in Evas, Ecore and Edje. We removed totally the previous inheritance mechanism.
Signed-off-by: Yakov Goldberg <yakov.g@samsung.com>
Signed-off-by: Daniel Zaoui <daniel.zaoui@samsung.com>

SVN revision: 79668
2012-11-26 06:32:53 +00:00
Carsten Haitzler fee7a0c645 fix another elm bug where arrows are not "clickable" for scrolling to
next/prev item - needed to add a feature to scrolelr (and accidentally
also to scrolled interface too :)) to make this work. now works.



SVN revision: 74969
2012-08-07 10:20:30 +00:00
Gustavo Lima Chaves 1cbb9301ca [elm] Here, better.
SVN revision: 74679
2012-07-31 22:05:50 +00:00
Carsten Haitzler e73440197e fix evil scroller self-feeing loop scrollbar sizing issues.
SVN revision: 74041
2012-07-18 06:59:16 +00:00
Gustavo Lima Chaves 45e8d67a78 [elm] New scrollable interface in.
This is meant to be used for all widgets implementing scrolling views.
An Elementary interface adds a given behaviour to whichever widget,
from any class.



SVN revision: 73307
2012-07-04 21:41:01 +00:00