diff options
Diffstat (limited to 'src/tests/elementary/custom_gesture.eo')
-rw-r--r-- | src/tests/elementary/custom_gesture.eo | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/tests/elementary/custom_gesture.eo b/src/tests/elementary/custom_gesture.eo new file mode 100644 index 0000000000..7a6266db93 --- /dev/null +++ b/src/tests/elementary/custom_gesture.eo @@ -0,0 +1,26 @@ +import eina_types; +parse efl_canvas_gesture_recognizer; + +class @beta Custom_Gesture extends Efl.Canvas.Gesture_Custom +{ + [[This is a test class for custom gesture implementations. + ]] + methods { + @property x_delta { + [[This is the total change in the X coordinate.]] + get { + } + values { + val: int; [[The change since the start of the gesture.]] + } + } + @property y_delta { + [[This is the total change in the Y coordinate.]] + get { + } + values { + val: int; [[The change since the start of the gesture.]] + } + } + } +} |