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
|
|
|
/* FIXME: Define these structs in EO, or they are useless to bindings */
|
|
|
|
struct @extern Elm.Photocam.Error;
|
|
|
|
struct @extern Elm.Photocam.Progress;
|
|
|
|
|
2019-02-14 08:37:02 -08:00
|
|
|
class @beta Efl.Ui.Image_Zoomable extends Efl.Ui.Image implements Efl.Ui.Zoom,
|
2018-04-09 06:38:19 -07:00
|
|
|
Efl.Ui.Scrollable_Interactive,
|
2019-01-18 05:22:23 -08:00
|
|
|
Efl.Ui.Scrollbar
|
2014-03-25 01:49:47 -07:00
|
|
|
{
|
2017-05-28 20:00:41 -07:00
|
|
|
[[Elementary Image Zoomable class]]
|
2015-05-07 09:32:53 -07:00
|
|
|
methods {
|
|
|
|
@property gesture_enabled {
|
2014-03-25 01:49:47 -07:00
|
|
|
set {
|
2015-07-31 07:12:30 -07:00
|
|
|
[[Set the gesture state for photocam.
|
2014-03-25 01:49:47 -07:00
|
|
|
|
2015-07-31 07:12:30 -07:00
|
|
|
This sets the gesture state to on or off for photocam. The
|
|
|
|
default is off. This will start multi touch zooming.
|
|
|
|
]]
|
2014-03-25 01:49:47 -07:00
|
|
|
}
|
|
|
|
get {
|
2015-07-31 07:12:30 -07:00
|
|
|
[[Get the gesture state for photocam.
|
2014-03-25 01:49:47 -07:00
|
|
|
|
2015-07-31 07:12:30 -07:00
|
|
|
This gets the current gesture state for the photocam object.
|
|
|
|
]]
|
2014-03-25 01:49:47 -07:00
|
|
|
}
|
|
|
|
values {
|
2015-07-31 07:12:30 -07:00
|
|
|
gesture: bool; [[The gesture state.]]
|
2014-03-25 01:49:47 -07:00
|
|
|
}
|
|
|
|
}
|
2015-05-07 09:32:53 -07:00
|
|
|
@property image_region {
|
2014-03-25 01:49:47 -07:00
|
|
|
get {
|
2015-07-31 07:12:30 -07:00
|
|
|
[[Get the region of the image that is currently shown
|
2014-03-25 01:49:47 -07:00
|
|
|
|
2017-05-16 21:02:31 -07:00
|
|
|
See also @.image_region.set.
|
|
|
|
]]
|
|
|
|
}
|
|
|
|
set {
|
|
|
|
[[Set the viewed region of the image
|
|
|
|
|
|
|
|
This shows the region of the image without using animation.
|
2015-07-31 07:12:30 -07:00
|
|
|
]]
|
2014-03-25 01:49:47 -07:00
|
|
|
}
|
|
|
|
values {
|
2017-09-18 05:13:19 -07:00
|
|
|
region: Eina.Rect; [[The region in the original image pixels.]]
|
2014-03-25 01:49:47 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
implements {
|
2014-06-20 02:47:39 -07:00
|
|
|
class.constructor;
|
2016-08-10 07:23:04 -07:00
|
|
|
Efl.Object.constructor;
|
2018-04-05 01:47:26 -07:00
|
|
|
Efl.Gfx.Entity.position { set; }
|
|
|
|
Efl.Gfx.Entity.size { set; }
|
2017-05-16 21:58:15 -07:00
|
|
|
Efl.Gfx.View.view_size { get; }
|
2018-04-19 04:26:59 -07:00
|
|
|
Efl.Gfx.Image.image_size { get; }
|
2017-06-01 18:45:25 -07:00
|
|
|
Efl.Ui.Image.icon { set; get; }
|
2017-06-06 22:57:06 -07:00
|
|
|
Efl.Player.playable { get; }
|
2017-06-06 23:54:42 -07:00
|
|
|
Efl.Player.play { get; set; }
|
2017-05-17 22:55:31 -07:00
|
|
|
Efl.Ui.Zoom.zoom_animation { set; get; }
|
2018-02-14 18:14:52 -08:00
|
|
|
Efl.Ui.Zoom.zoom_level { set; get; }
|
2017-05-17 22:55:31 -07:00
|
|
|
Efl.Ui.Zoom.zoom_mode { set; get; }
|
2016-06-17 01:26:08 -07:00
|
|
|
Efl.Canvas.Group.group_member_add;
|
2018-01-07 20:55:35 -08:00
|
|
|
Efl.Ui.Widget.theme_apply;
|
2018-01-19 00:25:47 -08:00
|
|
|
Efl.Ui.Focus.Object.on_focus_update;
|
2019-03-04 10:37:18 -08:00
|
|
|
Efl.Ui.Widget.widget_input_event_handler;
|
2018-04-09 06:38:19 -07:00
|
|
|
Efl.Ui.Scrollable_Interactive.scroll;
|
2017-11-15 18:31:26 -08:00
|
|
|
Efl.Access.Widget.Action.elm_actions { get; }
|
2019-02-27 10:17:09 -08:00
|
|
|
Efl.File.load;
|
2019-03-25 21:16:32 -07:00
|
|
|
Efl.File.file { get; set; }
|
2017-05-14 22:48:03 -07:00
|
|
|
Efl.Orientation.orientation { get; set; }
|
2018-01-18 00:18:48 -08:00
|
|
|
Efl.Orientation.flip { get; set; }
|
2017-12-04 23:00:08 -08:00
|
|
|
Efl.Layout.Group.group_size_min { get; }
|
|
|
|
Efl.Layout.Group.group_size_max { get; }
|
2018-02-12 09:56:31 -08:00
|
|
|
Efl.Layout.Signal.signal_callback_add;
|
|
|
|
Efl.Layout.Signal.signal_callback_del;
|
2017-08-03 01:50:01 -07:00
|
|
|
//Efl.Canvas.Layout_Group.group_data { get; }
|
2014-03-25 01:49:47 -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
|
|
|
press: void; [[Called when photocam got pressed]]
|
|
|
|
load: void; [[Called when photocam loading started]]
|
|
|
|
loaded: void; [[Called when photocam loading finished]]
|
|
|
|
load,detail: void; [[Called when photocal detail loading started]]
|
|
|
|
loaded,detail: void; [[Called when photocam detail loading finished]]
|
|
|
|
download,start: void; [[Called when photocam download started]]
|
|
|
|
download,progress: Elm.Photocam.Progress; [[Called when photocam download progress updated]]
|
|
|
|
download,done: void; [[Called when photocam download finished]]
|
|
|
|
download,error: Elm.Photocam.Error; [[Called when photocam download failed]]
|
2014-03-25 01:49:47 -07:00
|
|
|
}
|
2019-01-23 11:55:44 -08:00
|
|
|
composite {
|
|
|
|
Efl.Ui.Scrollable_Interactive;
|
|
|
|
Efl.Ui.Scrollbar;
|
|
|
|
}
|
2014-03-25 01:49:47 -07:00
|
|
|
}
|