2018-01-07 20:55:35 -08:00
|
|
|
class Efl.Ui.Image_Zoomable (Efl.Ui.Widget, Efl.Ui.Image, Efl.Ui.Zoom,
|
2017-12-18 04:08:25 -08:00
|
|
|
Efl.Ui.Scrollable.Interactive,
|
|
|
|
Efl.Ui.Scrollbar)
|
2014-03-25 01:49:47 -07:00
|
|
|
{
|
2017-05-28 20:00:41 -07:00
|
|
|
[[Elementary Image Zoomable class]]
|
2016-05-12 09:06:04 -07:00
|
|
|
legacy_prefix: elm_photocam;
|
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.
|
|
|
|
]]
|
2017-09-18 05:13:19 -07:00
|
|
|
legacy: null;
|
2017-05-16 21:02:31 -07:00
|
|
|
}
|
|
|
|
set {
|
|
|
|
[[Set the viewed region of the image
|
|
|
|
|
|
|
|
This shows the region of the image without using animation.
|
2017-07-14 03:32:55 -07:00
|
|
|
@since 1.20
|
2015-07-31 07:12:30 -07:00
|
|
|
]]
|
2017-07-14 03:32:55 -07:00
|
|
|
legacy: null;
|
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;
|
2016-12-27 10:15:41 -08:00
|
|
|
Efl.Gfx.position { set; }
|
|
|
|
Efl.Gfx.size { set; }
|
2017-05-16 21:58:15 -07:00
|
|
|
Efl.Gfx.View.view_size { get; }
|
2017-05-23 23:07:21 -07:00
|
|
|
Efl.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; }
|
|
|
|
Efl.Ui.Zoom.zoom { set; get; }
|
|
|
|
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;
|
|
|
|
Efl.Ui.Widget.on_focus_update;
|
|
|
|
Efl.Ui.Widget.widget_event;
|
2017-12-18 04:08:25 -08:00
|
|
|
Efl.Ui.Scrollable.Interactive.scroll;
|
2017-11-15 18:31:26 -08:00
|
|
|
Efl.Access.Widget.Action.elm_actions { get; }
|
2016-12-27 10:15:41 -08:00
|
|
|
Efl.File.file { get; set; }
|
2017-05-14 22:48:03 -07:00
|
|
|
Efl.Orientation.orientation { get; set; }
|
|
|
|
Efl.Flipable.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; }
|
2017-12-18 04:08:25 -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 {
|
2016-11-24 05:55:50 -08:00
|
|
|
press; [[Called when photocam got pressed]]
|
|
|
|
load; [[Called when photocam loading started]]
|
|
|
|
loaded; [[Called when photocam loading finished]]
|
|
|
|
load,detail; [[Called when photocal detail loading started]]
|
|
|
|
loaded,detail; [[Called when photocam detail loading finished]]
|
|
|
|
download,start; [[Called when photocam download started]]
|
|
|
|
download,progress; [[Called when photocam download progress updated]]
|
|
|
|
download,done; [[Called when photocam download finished]]
|
|
|
|
download,error; [[Called when photocam download failed]]
|
2014-03-25 01:49:47 -07:00
|
|
|
}
|
|
|
|
}
|