2019-02-14 08:37:02 -08:00
|
|
|
class @beta Efl.Ui.Pan extends Efl.Canvas.Group implements Efl.Content
|
2017-12-18 04:08:25 -08:00
|
|
|
{
|
|
|
|
[[Elementary pan class]]
|
|
|
|
methods {
|
|
|
|
@property pan_position {
|
2018-02-12 09:56:31 -08:00
|
|
|
[[Position]]
|
2017-12-18 04:08:25 -08:00
|
|
|
set {
|
|
|
|
}
|
|
|
|
get {
|
|
|
|
}
|
|
|
|
values {
|
|
|
|
position: Eina.Position2D;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@property content_size {
|
2018-02-12 09:56:31 -08:00
|
|
|
[[Content size]]
|
2017-12-18 04:08:25 -08:00
|
|
|
get {
|
|
|
|
}
|
|
|
|
values {
|
2018-02-12 09:56:31 -08:00
|
|
|
size: Eina.Size2D;
|
2017-12-18 04:08:25 -08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
@property pan_position_min {
|
2018-02-12 09:56:31 -08:00
|
|
|
[[The minimal position to scroll]]
|
2017-12-18 04:08:25 -08:00
|
|
|
get {
|
|
|
|
}
|
|
|
|
values {
|
2018-02-12 09:56:31 -08:00
|
|
|
pos: Eina.Position2D;
|
2017-12-18 04:08:25 -08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
@property pan_position_max {
|
2018-02-12 09:56:31 -08:00
|
|
|
[[The maximal position to scroll]]
|
2017-12-18 04:08:25 -08:00
|
|
|
get {
|
|
|
|
}
|
|
|
|
values {
|
2018-02-12 09:56:31 -08:00
|
|
|
pos: Eina.Position2D;
|
2017-12-18 04:08:25 -08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
implements {
|
|
|
|
Efl.Object.constructor;
|
|
|
|
Efl.Object.destructor;
|
2018-04-05 01:47:26 -07:00
|
|
|
Efl.Gfx.Entity.visible { set; }
|
|
|
|
Efl.Gfx.Entity.position { set; }
|
|
|
|
Efl.Gfx.Entity.size { set; }
|
2019-01-24 05:09:42 -08:00
|
|
|
Efl.Content.content { set; get; }
|
|
|
|
Efl.Content.content_unset;
|
2017-12-18 04:08:25 -08:00
|
|
|
Efl.Canvas.Group.group_calculate;
|
|
|
|
}
|
|
|
|
events {
|
2019-03-08 07:53:04 -08:00
|
|
|
pan,content,changed: void; [[Called when pan content changed]]
|
|
|
|
pan,viewport,changed: void; [[Called when pan viewport changed]]
|
|
|
|
pan,position,changed: void; [[Called when pan position changed]]
|
2017-12-18 04:08:25 -08:00
|
|
|
}
|
|
|
|
}
|