summaryrefslogtreecommitdiff
path: root/gtk/gtkgesturerotate.c
Commit message (Collapse)AuthorAgeFilesLines
* Intern all signal names beforehandMatthias Clasen2015-09-121-1/+2
| | | | This avoids pointless allocations
* gtkgesturerotate: Handle touchpad pinch eventsCarlos Garnacho2015-08-121-11/+72
| | | | | We let these through in GtkEventController::filter, and handle these especially on GtkGesture::update.
* Don't assert in gtk_event_controller_constructedMatthias Clasen2014-05-271-0/+2
| | | | | | This prevents some of our generic object implementation tests from working with gesture objects. Instead, add g_return_if_fail checks in all the gesture constructors.
* Silence gtk-doc warningsMatthias Clasen2014-05-271-3/+4
|
* gesturerotate: Just return a double in get_angle_delta()Carlos Garnacho2014-05-271-13/+7
| | | | | Whether the gesture is active or recognized should be checked before in callers, or just not used naively.
* rotate: Ensure delta is between [0..2π]Carlos Garnacho2014-05-231-3/+6
|
* Prevent subclassing of gesturesMatthias Clasen2014-05-231-1/+2
| | | | | For now, at least. We do this by hiding the instance and class structures in private headers.
* rotate: doc fixesCarlos Garnacho2014-05-231-1/+1
|
* rotate: Add missing documentationCarlos Garnacho2014-05-231-1/+18
|
* Add GtkGestureRotateCarlos Garnacho2014-05-231-0/+206
This gesture implementation recognizes rotations when fed with events from two different GdkEventSequences