sugar-toolkit-gtk3/src/sugar3/event-controller/sugar-event-controllers.h
Carlos Garnacho ade02f958b event-controller: Add separate library for event controllers
SugarEventController is an abstract object that attaches to a widget
and interprets an arbitrary set of events. Implementations of that
object get to define the sequence of events that trigger these.

The basic touch gestures (long press, rotate, swipe, zoom) have
been implemented on top of that object.

Signed-off-by: Carlos Garnacho <carlos@lanedo.com>
Acked-by: Simon Schampijer <simon@laptop.org>
2012-09-16 12:10:30 +02:00

36 lines
1.2 KiB
C

/*
* Copyright (C) 2012, One Laptop Per Child.
*
* 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, write to the
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*
* Author(s): Carlos Garnacho <carlos@lanedo.com>
*/
#ifndef __SUGAR_EVENT_CONTROLLERS_H__
#define __SUGAR_EVENT_CONTROLLERS_H__
#define __SUGAR_CONTROLLERS_H_INSIDE__
#include "sugar-event-controller.h"
#include "sugar-long-press-controller.h"
#include "sugar-rotate-controller.h"
#include "sugar-zoom-controller.h"
#include "sugar-swipe-controller.h"
#undef __SUGAR_CONTROLLERS_H_INSIDE__
#endif /* __SUGAR_EVENT_CONTROLLERS_H__ */