Added the movement modes to the hildon-pannable-area, with this modes the developers...
authorAlejandro G. Castro <alex@igalia.com>
Thu, 17 Jul 2008 18:52:43 +0000 (18:52 +0000)
committerAlejandro G. Castro <alex@igalia.com>
Thu, 17 Jul 2008 18:52:43 +0000 (18:52 +0000)
commit2da04f4c67227f215bbc276601601f467e4b9b8c
tree3c9d4868e9791348060685604147062e110b0769
parentf5f84c66d6b5ad22edea00e2963131964be8ee49
Added the movement modes to the hildon-pannable-area, with this modes the developers can control in which directions the widget can scroll. They can also connect to signals in order to do something when that happens, allowing applications scroll. There is an example uploaded showing how to use it.

* examples/Makefile.am:
* examples/hildon-pannable-area-example-4.c: Added this example of
an application using the modes.

* src/hildon-marshalers.list: Added a new marshaller for the new
signals.

* src/hildon-pannable-area.h: Added new enumerations and flags in
order to control the movement modes and the new signals to warn
about the movements in the area.

* src/hildon-pannable-area.c:
(hildon_pannable_axis_scroll),
(hildon_pannable_area_scroll),
(hildon_pannable_area_motion_notify_cb),
(hildon_pannable_area_get_property),
(hildon_pannable_area_set_property),
(hildon_pannable_area_map),
(hildon_pannable_area_class_init),
(hildon_pannable_area_init),
(hildon_pannable_area_jump_to): Added the modes to control the
movement in the widget. We have added properties to control it,
signals to warn about the movements and refactored some code.
ChangeLog
examples/Makefile.am
examples/hildon-pannable-area-example-4.c [new file with mode: 0644]
src/hildon-marshalers.list
src/hildon-pannable-area.c
src/hildon-pannable-area.h