9ca06d2895
PanAction is a GestureAction-subclass that implements the panning concept for scrollable actors, with the ability to emit interpolated signals to emulate the kinetic inertia of the panning. PanAction provides: • pan signal, notifying users of the panning gesture status; • pan-stopped signal, emitted at the end of the interpolated phase of the panning gesture, if enabled; • pan-axis property, to allow constraining the dragging to a specific axis; • interpolated property, to enable or disable the inertial behaviour; • deceleration property, to customize the rate at which the momentum of the panning will be slowed down; • acceleration-factor property, applied to the inertial momentum when starting the interpolated sequence. An interactive test is also provided. https://bugzilla.gnome.org/show_bug.cgi?id=681648
47 lines
894 B
Makefile
47 lines
894 B
Makefile
include $(top_srcdir)/build/autotools/Makefile.am.silent
|
|
|
|
all_examples = \
|
|
basic-actor \
|
|
box-layout \
|
|
canvas \
|
|
constraints \
|
|
drag-action \
|
|
drop-action \
|
|
easing-modes \
|
|
flow-layout \
|
|
grid-layout \
|
|
layout-manager \
|
|
pan-action \
|
|
rounded-rectangle \
|
|
scroll-actor \
|
|
threads
|
|
|
|
if PIXBUF_TESTS
|
|
all_examples += \
|
|
bin-layout \
|
|
image-content
|
|
endif
|
|
|
|
INCLUDES = \
|
|
-I$(top_srcdir) \
|
|
-I$(top_builddir) \
|
|
-I$(top_srcdir)/clutter \
|
|
-I$(top_builddir)/clutter
|
|
|
|
LDADD = \
|
|
$(top_builddir)/clutter/libclutter-@CLUTTER_API_VERSION@.la \
|
|
$(CLUTTER_LIBS) \
|
|
$(GDK_PIXBUF_LIBS) \
|
|
-lm
|
|
|
|
AM_CFLAGS = $(CLUTTER_CFLAGS) $(GDK_PIXBUF_CFLAGS) $(MAINTAINER_CFLAGS)
|
|
|
|
AM_CPPFLAGS = \
|
|
-DTESTS_DATADIR=\""$(abs_top_srcdir)/tests/data"\" \
|
|
-DG_DISABLE_SINGLE_INCLUDES \
|
|
-DGLIB_DISABLE_DEPRECATION_WARNINGS
|
|
|
|
noinst_PROGRAMS = $(all_examples)
|
|
|
|
-include $(top_srcdir)/build/autotools/Makefile.am.gitignore
|