2017-12-18 04:08:25 -08:00
|
|
|
class Efl.Ui.Pan (Efl.Canvas.Group,
|
|
|
|
Efl.Content)
|
|
|
|
{
|
|
|
|
[[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; }
|
2017-12-18 04:08:25 -08:00
|
|
|
Efl.Content.content { set; }
|
|
|
|
Efl.Canvas.Group.group_calculate;
|
|
|
|
}
|
|
|
|
events {
|
efl: Add missing event types
Summary:
All events must have a type now, otherwise bindings don't know how to handle
the event_info field.
Most of the missing event types were actually "void" (no event_info present).
Some struct definitions had to be moved to eo instead of h files, so they
are available to bindings. Some have not, and are marked with FIXME.
Some namespaces have been fixed (like Efl_Event_Cb -> Efl.Event_Cb).
In general, there are hundreds of changed files, but mostly to add a type which
was not present before, so there's no harm done.
Also, A lot of FIXMEs have been added which should be, like, fixed.
For example, some events can send different types of event_info, which is
very inconvenient (and error prone).
Test Plan: make with c# bindings works, make check and make examples work too.
Reviewers: cedric, q66, lauromoura
Subscribers: zmike
Tags: #efl
Differential Revision: https://phab.enlightenment.org/D6169
2018-05-11 08:20:40 -07:00
|
|
|
content,changed: void; [[Called when pan content changed]]
|
|
|
|
viewport,changed: void; [[Called when pan viewport changed]]
|
|
|
|
position,changed: void; [[Called when pan position changed]]
|
2017-12-18 04:08:25 -08:00
|
|
|
}
|
|
|
|
}
|