docs: fill in missing documentation ein efl_gesture* eo classes

This commit is contained in:
Stefan Schmidt 2017-12-08 15:05:00 +01:00
parent 7bc3ea400c
commit 2ed7084456
9 changed files with 12 additions and 3 deletions

View File

@ -2,6 +2,7 @@ import efl_gesture_types;
abstract Efl.Gesture(Efl.Object)
{
[[EFL Gesture abstract class]]
methods {
@property type {
[[This property holds the type of the gesture.]]

View File

@ -2,6 +2,7 @@ import efl_gesture_types;
class Efl.Gesture.Long_Tap (Efl.Gesture)
{
[[EFL Gesture Long Tap class]]
event_prefix: efl;
events {
gesture,long_tap; [[Event for tap gesture]]

View File

@ -2,6 +2,7 @@ import efl_gesture_types;
class Efl.Gesture.Manager (Efl.Object)
{
[[EFL Gesture Manager class]]
methods {
recognizer_register {
[[This function is called to register a new Efl.Gesture.Recognizer]]

View File

@ -2,6 +2,7 @@ import efl_gesture_types;
abstract Efl.Gesture.Recognizer (Efl.Object)
{
[[EFL Gesture Recognizer abstract class]]
methods {
create @pure_virtual {
[[This function is called to create a new Efl.Gesture object for the given target]]

View File

@ -1,5 +1,6 @@
class Efl.Gesture.Recognizer_Long_Tap (Efl.Gesture.Recognizer)
{
[[EFL Gesture Recognizer Long Tap class]]
data: null;
implements {
Efl.Gesture.Recognizer.create;

View File

@ -1,5 +1,6 @@
class Efl.Gesture.Recognizer_Tap (Efl.Gesture.Recognizer)
{
[[EFL Gesture Recognizer Tap class]]
data: null;
implements {
Efl.Gesture.Recognizer.create;

View File

@ -2,6 +2,7 @@ import efl_gesture_types;
class Efl.Gesture.Tap(Efl.Gesture)
{
[[EFL Gesture Tap class]]
event_prefix: efl;
events {
gesture,tap; [[Event for tap gesture]]

View File

@ -5,8 +5,10 @@ import efl_input_types;
class Efl.Gesture.Touch(Efl.Object)
{
[[EFL Gesture Touch class]]
methods {
point_record {
[[Touch point record method]]
params {
@in tool : int; [[The finger id ]]
@in pos : Eina.Vector2; [[Position of the event]]
@ -39,7 +41,7 @@ class Efl.Gesture.Touch(Efl.Object)
@property multi_touch {
[[This property tells if the event is multi touch.]]
get {
return: bool; [[returns true if its a multi touch]]
return: bool; [[returns $true if its a multi touch]]
}
}
@property state {

View File

@ -12,7 +12,7 @@ enum Efl.Gesture.State
{
[[ This enum type describes the state of a gesture. ]]
legacy: efl_gesture;
none = 0,
none = 0, [[No gesture state]]
started = 1, [[A continuous gesture has started.]]
updated, [[A gesture continues.]]
finished, [[A gesture has finished.]]
@ -29,5 +29,5 @@ enum Efl.Gesture.Recognizer_Result
trigger = 0x0004, [[The gesture has been triggered]]
finish = 0x0008, [[The gesture has been finished successfully.]]
cancel = 0x0010, [[The event made it clear that it is not a gesture. If the gesture recognizer was in Triggered state before, then the gesture is canceled.]]
result_mask = 0x00ff,
result_mask = 0x00ff, [[The gesture result mask]]
}