forked from enlightenment/efl
docs: fill in missing documentation ein efl_gesture* eo classes
This commit is contained in:
parent
7bc3ea400c
commit
2ed7084456
|
@ -2,6 +2,7 @@ import efl_gesture_types;
|
||||||
|
|
||||||
abstract Efl.Gesture(Efl.Object)
|
abstract Efl.Gesture(Efl.Object)
|
||||||
{
|
{
|
||||||
|
[[EFL Gesture abstract class]]
|
||||||
methods {
|
methods {
|
||||||
@property type {
|
@property type {
|
||||||
[[This property holds the type of the gesture.]]
|
[[This property holds the type of the gesture.]]
|
||||||
|
|
|
@ -2,6 +2,7 @@ import efl_gesture_types;
|
||||||
|
|
||||||
class Efl.Gesture.Long_Tap (Efl.Gesture)
|
class Efl.Gesture.Long_Tap (Efl.Gesture)
|
||||||
{
|
{
|
||||||
|
[[EFL Gesture Long Tap class]]
|
||||||
event_prefix: efl;
|
event_prefix: efl;
|
||||||
events {
|
events {
|
||||||
gesture,long_tap; [[Event for tap gesture]]
|
gesture,long_tap; [[Event for tap gesture]]
|
||||||
|
|
|
@ -2,6 +2,7 @@ import efl_gesture_types;
|
||||||
|
|
||||||
class Efl.Gesture.Manager (Efl.Object)
|
class Efl.Gesture.Manager (Efl.Object)
|
||||||
{
|
{
|
||||||
|
[[EFL Gesture Manager class]]
|
||||||
methods {
|
methods {
|
||||||
recognizer_register {
|
recognizer_register {
|
||||||
[[This function is called to register a new Efl.Gesture.Recognizer]]
|
[[This function is called to register a new Efl.Gesture.Recognizer]]
|
||||||
|
|
|
@ -2,6 +2,7 @@ import efl_gesture_types;
|
||||||
|
|
||||||
abstract Efl.Gesture.Recognizer (Efl.Object)
|
abstract Efl.Gesture.Recognizer (Efl.Object)
|
||||||
{
|
{
|
||||||
|
[[EFL Gesture Recognizer abstract class]]
|
||||||
methods {
|
methods {
|
||||||
create @pure_virtual {
|
create @pure_virtual {
|
||||||
[[This function is called to create a new Efl.Gesture object for the given target]]
|
[[This function is called to create a new Efl.Gesture object for the given target]]
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
class Efl.Gesture.Recognizer_Long_Tap (Efl.Gesture.Recognizer)
|
class Efl.Gesture.Recognizer_Long_Tap (Efl.Gesture.Recognizer)
|
||||||
{
|
{
|
||||||
|
[[EFL Gesture Recognizer Long Tap class]]
|
||||||
data: null;
|
data: null;
|
||||||
implements {
|
implements {
|
||||||
Efl.Gesture.Recognizer.create;
|
Efl.Gesture.Recognizer.create;
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
class Efl.Gesture.Recognizer_Tap (Efl.Gesture.Recognizer)
|
class Efl.Gesture.Recognizer_Tap (Efl.Gesture.Recognizer)
|
||||||
{
|
{
|
||||||
|
[[EFL Gesture Recognizer Tap class]]
|
||||||
data: null;
|
data: null;
|
||||||
implements {
|
implements {
|
||||||
Efl.Gesture.Recognizer.create;
|
Efl.Gesture.Recognizer.create;
|
||||||
|
|
|
@ -2,6 +2,7 @@ import efl_gesture_types;
|
||||||
|
|
||||||
class Efl.Gesture.Tap(Efl.Gesture)
|
class Efl.Gesture.Tap(Efl.Gesture)
|
||||||
{
|
{
|
||||||
|
[[EFL Gesture Tap class]]
|
||||||
event_prefix: efl;
|
event_prefix: efl;
|
||||||
events {
|
events {
|
||||||
gesture,tap; [[Event for tap gesture]]
|
gesture,tap; [[Event for tap gesture]]
|
||||||
|
|
|
@ -5,8 +5,10 @@ import efl_input_types;
|
||||||
|
|
||||||
class Efl.Gesture.Touch(Efl.Object)
|
class Efl.Gesture.Touch(Efl.Object)
|
||||||
{
|
{
|
||||||
|
[[EFL Gesture Touch class]]
|
||||||
methods {
|
methods {
|
||||||
point_record {
|
point_record {
|
||||||
|
[[Touch point record method]]
|
||||||
params {
|
params {
|
||||||
@in tool : int; [[The finger id ]]
|
@in tool : int; [[The finger id ]]
|
||||||
@in pos : Eina.Vector2; [[Position of the event]]
|
@in pos : Eina.Vector2; [[Position of the event]]
|
||||||
|
@ -39,7 +41,7 @@ class Efl.Gesture.Touch(Efl.Object)
|
||||||
@property multi_touch {
|
@property multi_touch {
|
||||||
[[This property tells if the event is multi touch.]]
|
[[This property tells if the event is multi touch.]]
|
||||||
get {
|
get {
|
||||||
return: bool; [[returns true if its a multi touch]]
|
return: bool; [[returns $true if its a multi touch]]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@property state {
|
@property state {
|
||||||
|
|
|
@ -12,7 +12,7 @@ enum Efl.Gesture.State
|
||||||
{
|
{
|
||||||
[[ This enum type describes the state of a gesture. ]]
|
[[ This enum type describes the state of a gesture. ]]
|
||||||
legacy: efl_gesture;
|
legacy: efl_gesture;
|
||||||
none = 0,
|
none = 0, [[No gesture state]]
|
||||||
started = 1, [[A continuous gesture has started.]]
|
started = 1, [[A continuous gesture has started.]]
|
||||||
updated, [[A gesture continues.]]
|
updated, [[A gesture continues.]]
|
||||||
finished, [[A gesture has finished.]]
|
finished, [[A gesture has finished.]]
|
||||||
|
@ -29,5 +29,5 @@ enum Efl.Gesture.Recognizer_Result
|
||||||
trigger = 0x0004, [[The gesture has been triggered]]
|
trigger = 0x0004, [[The gesture has been triggered]]
|
||||||
finish = 0x0008, [[The gesture has been finished successfully.]]
|
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.]]
|
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]]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue