2017-12-05 21:34:51 -08:00
|
|
|
import efl_input_device;
|
|
|
|
|
efl: apply the stabilzed column of the efl api board
Summary:
The project https://phab.enlightenment.org/tag/efl_api/ has been used in
the last few weeks to figure out which classes can be stablized and
which cannot. This commit moves those dedicated classes outside beta.
And makes them stable.
ref T7601
ref T7600
ref T7599
ref T7598
ref T7597
ref T7596
ref T7594
ref T7593
ref T7591
ref T7590
ref T7589
ref T7588
ref T7583
ref T7582
ref T7581
ref T7576
ref T7570
ref T7567
ref T7564
ref T7563
ref T7560
ref T7559
ref T7672
ref T7584
ref T7577
ref T7571
ref T7558
ref T7555
ref T7554
ref T7553
ref T7512
ref T7511
Depends on D8272
Reviewers: cedric, stefan_schmidt, zmike, segfaultxavi
Reviewed By: segfaultxavi
Subscribers: #reviewers, #committers
Tags: #efl
Maniphest Tasks: T7672, T7601, T7600, T7599, T7598, T7597, T7596, T7594, T7593, T7591, T7590, T7589, T7588, T7584, T7583, T7582, T7581, T7577, T7576, T7571, T7570, T7567, T7564, T7563, T7560, T7559, T7558, T7555, T7554, T7553, T7512, T7511
Differential Revision: https://phab.enlightenment.org/D8273
2019-03-09 04:44:17 -08:00
|
|
|
interface Efl.Canvas.Pointer
|
2017-12-05 21:34:51 -08:00
|
|
|
{
|
2017-12-08 08:08:56 -08:00
|
|
|
[[Efl Canvas Pointer interface]]
|
2017-12-05 21:34:51 -08:00
|
|
|
methods {
|
efl: apply the stabilzed column of the efl api board
Summary:
The project https://phab.enlightenment.org/tag/efl_api/ has been used in
the last few weeks to figure out which classes can be stablized and
which cannot. This commit moves those dedicated classes outside beta.
And makes them stable.
ref T7601
ref T7600
ref T7599
ref T7598
ref T7597
ref T7596
ref T7594
ref T7593
ref T7591
ref T7590
ref T7589
ref T7588
ref T7583
ref T7582
ref T7581
ref T7576
ref T7570
ref T7567
ref T7564
ref T7563
ref T7560
ref T7559
ref T7672
ref T7584
ref T7577
ref T7571
ref T7558
ref T7555
ref T7554
ref T7553
ref T7512
ref T7511
Depends on D8272
Reviewers: cedric, stefan_schmidt, zmike, segfaultxavi
Reviewed By: segfaultxavi
Subscribers: #reviewers, #committers
Tags: #efl
Maniphest Tasks: T7672, T7601, T7600, T7599, T7598, T7597, T7596, T7594, T7593, T7591, T7590, T7589, T7588, T7584, T7583, T7582, T7581, T7577, T7576, T7571, T7570, T7567, T7564, T7563, T7560, T7559, T7558, T7555, T7554, T7553, T7512, T7511
Differential Revision: https://phab.enlightenment.org/D8273
2019-03-09 04:44:17 -08:00
|
|
|
/* FIXME Efl.Input.Device is not stable yet*/
|
|
|
|
@property pointer_inside @beta {
|
2017-12-05 21:34:51 -08:00
|
|
|
get {
|
|
|
|
[[Returns whether the mouse pointer is logically inside the
|
|
|
|
canvas.
|
|
|
|
|
|
|
|
When this function is called it will return a value of either
|
|
|
|
$false or $true, depending on whether a pointer,in or pointer,out
|
|
|
|
event has been called previously.
|
|
|
|
|
|
|
|
A return value of $true indicates the mouse is logically
|
|
|
|
inside the canvas, and $false implies it is logically
|
|
|
|
outside the canvas.
|
|
|
|
|
|
|
|
A canvas begins with the mouse being assumed outside ($false).
|
|
|
|
]]
|
|
|
|
}
|
|
|
|
keys {
|
|
|
|
seat: Efl.Input.Device @optional; [[The seat to consider, if $null
|
|
|
|
then the default seat will be used.]]
|
|
|
|
}
|
|
|
|
values {
|
|
|
|
inside: bool; [[$true if the mouse pointer is inside the canvas,
|
|
|
|
$false otherwise]]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|