Skip to content

Commit 968de64

Browse files
authored
Remove unused GestureTracker (#2304)
1 parent e4c469e commit 968de64

File tree

4 files changed

+24
-601
lines changed

4 files changed

+24
-601
lines changed

src/Gestures/GestureBackend.vala

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
/*
2+
* Copyright 2025 elementary, Inc. (https://elementary.io)
3+
* SPDX-License-Identifier: GPL-3.0-or-later
4+
*
5+
* Authored by: Leonhard Kargl <[email protected]>
6+
*/
7+
8+
public interface Gala.GestureBackend : Object {
9+
public signal bool on_gesture_detected (Gesture gesture, uint32 timestamp);
10+
public signal void on_begin (double delta, uint64 time);
11+
public signal void on_update (double delta, uint64 time);
12+
public signal void on_end (double delta, uint64 time);
13+
14+
public virtual void prepare_gesture_handling () { }
15+
16+
/**
17+
* The gesture should be cancelled. The implementation should stop emitting
18+
* signals and reset any internal state. In particular it should not emit on_end.
19+
* The implementation has to make sure that any further events from the same gesture will
20+
* will be ignored. Once the gesture ends a new gesture should be treated as usual.
21+
*/
22+
public virtual void cancel_gesture () { }
23+
}

src/Gestures/GesturePropertyTransition.vala

Lines changed: 0 additions & 237 deletions
This file was deleted.

0 commit comments

Comments
 (0)