2019-01-18 05:22:23 -08:00
|
|
|
class Elm.Pan extends Efl.Canvas.Group
|
2014-03-17 06:52:41 -07:00
|
|
|
{
|
2016-11-24 02:46:51 -08:00
|
|
|
[[Elementary pan class]]
|
2016-05-12 09:06:04 -07:00
|
|
|
legacy_prefix: elm_pan;
|
2014-03-17 06:52:41 -07:00
|
|
|
eo_prefix: elm_obj_pan;
|
2016-05-17 09:14:47 -07:00
|
|
|
event_prefix: elm_pan;
|
2014-03-17 06:52:41 -07:00
|
|
|
data: Elm_Pan_Smart_Data;
|
2015-05-07 09:32:53 -07:00
|
|
|
methods {
|
|
|
|
@property pos {
|
2018-02-12 09:56:31 -08:00
|
|
|
[[Position]]
|
2014-03-17 06:52:41 -07:00
|
|
|
set {
|
|
|
|
}
|
|
|
|
get {
|
|
|
|
}
|
|
|
|
values {
|
2017-05-15 01:23:11 -07:00
|
|
|
x: int; [[X coordinate]]
|
|
|
|
y: int; [[Y coordinate]]
|
2014-03-17 06:52:41 -07:00
|
|
|
}
|
|
|
|
}
|
2015-05-07 09:32:53 -07:00
|
|
|
@property content_size {
|
2018-02-12 09:56:31 -08:00
|
|
|
[[Content size]]
|
2014-03-17 06:52:41 -07:00
|
|
|
get {
|
|
|
|
}
|
|
|
|
values {
|
2017-05-15 01:23:11 -07:00
|
|
|
w: int; [[Width]]
|
|
|
|
h: int; [[Height]]
|
2014-03-17 06:52:41 -07:00
|
|
|
}
|
|
|
|
}
|
2015-05-07 09:32:53 -07:00
|
|
|
@property pos_min {
|
2018-02-12 09:56:31 -08:00
|
|
|
[[Minimal position]]
|
2014-03-17 06:52:41 -07:00
|
|
|
get {
|
|
|
|
}
|
|
|
|
values {
|
2017-05-15 01:23:11 -07:00
|
|
|
x: int; [[X coordinate]]
|
|
|
|
y: int; [[Y coordinate]]
|
2014-03-17 06:52:41 -07:00
|
|
|
}
|
|
|
|
}
|
2015-05-07 09:32:53 -07:00
|
|
|
@property pos_max {
|
2018-02-12 09:56:31 -08:00
|
|
|
[[Maximal position]]
|
2014-03-17 06:52:41 -07:00
|
|
|
get {
|
|
|
|
}
|
|
|
|
values {
|
2017-05-15 01:23:11 -07:00
|
|
|
x: int; [[X coordinate]]
|
|
|
|
y: int; [[Y coordinate]]
|
2014-03-17 06:52:41 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
implements {
|
2016-08-10 07:23:04 -07:00
|
|
|
Efl.Object.constructor;
|
2014-06-20 02:47:39 -07:00
|
|
|
class.constructor;
|
2018-04-05 01:47:26 -07:00
|
|
|
Efl.Gfx.Entity.visible { set; }
|
|
|
|
Efl.Gfx.Entity.position { set; }
|
|
|
|
Efl.Gfx.Entity.size { set; }
|
2014-03-17 06:52:41 -07:00
|
|
|
}
|
|
|
|
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
|
|
|
changed: void; [[Called when pan object changed]]
|
2014-03-17 06:52:41 -07:00
|
|
|
}
|
|
|
|
}
|