mirror of
https://github.com/brl/mutter.git
synced 2024-11-24 00:50:42 -05:00
60 lines
2.0 KiB
C
60 lines
2.0 KiB
C
|
/*
|
||
|
* Clutter.
|
||
|
*
|
||
|
* An OpenGL based 'interactive canvas' library.
|
||
|
*
|
||
|
* Copyright (C) 2012 Collabora Ltd..
|
||
|
*
|
||
|
* 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/>.
|
||
|
*/
|
||
|
|
||
|
#ifndef __CLUTTER_GESTURE_ACTION_PRIVATE_H__
|
||
|
#define __CLUTTER_GESTURE_ACTION_PRIVATE_H__
|
||
|
|
||
|
#include <clutter/clutter-gesture-action.h>
|
||
|
|
||
|
G_BEGIN_DECLS
|
||
|
|
||
|
/*< private >
|
||
|
* ClutterGestureTriggerEdge:
|
||
|
* @CLUTTER_GESTURE_TRIGGER_NONE: Tell #ClutterGestureAction that
|
||
|
* the gesture must begin immediately and there's no drag limit that
|
||
|
* will cause its cancellation;
|
||
|
* @CLUTTER_GESTURE_TRIGGER_AFTER: Tell #ClutterGestureAction that
|
||
|
* it needs to wait until the drag threshold has been exceeded before
|
||
|
* considering that the gesture has begun;
|
||
|
* @CLUTTER_GESTURE_TRIGGER_BEFORE: Tell #ClutterGestureAction that
|
||
|
* the gesture must begin immegiately and that it must be cancelled
|
||
|
* once the drag exceed the configured threshold.
|
||
|
*
|
||
|
* Enum passed to the _clutter_gesture_action_set_threshold_trigger_edge()
|
||
|
* function.
|
||
|
*
|
||
|
* Since: 1.14
|
||
|
*/
|
||
|
typedef enum
|
||
|
{
|
||
|
CLUTTER_GESTURE_TRIGGER_EDGE_NONE = 0,
|
||
|
CLUTTER_GESTURE_TRIGGER_EDGE_AFTER,
|
||
|
CLUTTER_GESTURE_TRIGGER_EDGE_BEFORE
|
||
|
} ClutterGestureTriggerEdge;
|
||
|
|
||
|
|
||
|
void _clutter_gesture_action_set_threshold_trigger_edge (ClutterGestureAction *action,
|
||
|
ClutterGestureTriggerEdge edge);
|
||
|
|
||
|
G_END_DECLS
|
||
|
|
||
|
#endif /* __CLUTTER_GESTURE_ACTION_PRIVATE_H__ */
|