/* CTK - The GIMP Toolkit
 * Copyright (C) 2014, Red Hat, Inc.
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library. If not, see <http://www.gnu.org/licenses/>.
 *
 * Author(s): Carlos Garnacho <carlosg@gnome.org>
 */
#ifndef __CTK_GESTURE_PAN_H__
#define __CTK_GESTURE_PAN_H__

#if !defined (__CTK_H_INSIDE__) && !defined (CTK_COMPILATION)
#error "Only <ctk/ctk.h> can be included directly."
#endif

#include <ctk/ctkenums.h>
#include <ctk/ctkgesturedrag.h>

G_BEGIN_DECLS

#define CTK_TYPE_GESTURE_PAN         (ctk_gesture_pan_get_type ())
#define CTK_GESTURE_PAN(o)           (G_TYPE_CHECK_INSTANCE_CAST ((o), CTK_TYPE_GESTURE_PAN, CtkGesturePan))
#define CTK_GESTURE_PAN_CLASS(k)     (G_TYPE_CHECK_CLASS_CAST ((k), CTK_TYPE_GESTURE_PAN, CtkGesturePanClass))
#define CTK_IS_GESTURE_PAN(o)        (G_TYPE_CHECK_INSTANCE_TYPE ((o), CTK_TYPE_GESTURE_PAN))
#define CTK_IS_GESTURE_PAN_CLASS(k)  (G_TYPE_CHECK_CLASS_TYPE ((k), CTK_TYPE_GESTURE_PAN))
#define CTK_GESTURE_PAN_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), CTK_TYPE_GESTURE_PAN, CtkGesturePanClass))

typedef struct _CtkGesturePan CtkGesturePan;
typedef struct _CtkGesturePanClass CtkGesturePanClass;

CDK_AVAILABLE_IN_3_14
GType             ctk_gesture_pan_get_type        (void) G_GNUC_CONST;

CDK_AVAILABLE_IN_3_14
CtkGesture *      ctk_gesture_pan_new             (CtkWidget      *widget,
                                                   CtkOrientation  orientation);

CDK_AVAILABLE_IN_3_14
CtkOrientation    ctk_gesture_pan_get_orientation (CtkGesturePan  *gesture);

CDK_AVAILABLE_IN_3_14
void              ctk_gesture_pan_set_orientation (CtkGesturePan  *gesture,
                                                   CtkOrientation  orientation);


G_END_DECLS

#endif /* __CTK_GESTURE_PAN_H__ */
