1/* TODO: Define these structs in EO, or they are useless to bindings */ 2struct @extern Elm.Photocam.Error; [[Photocam error information. @since 1.23]] 3struct @extern Elm.Photocam.Progress; [[Photocam progress information. @since 1.23]] 4 5class Efl.Ui.Image_Zoomable extends Efl.Ui.Image implements Efl.Ui.Zoom 6 composites Efl.Ui.Scrollable, Efl.Ui.Scrollbar 7{ 8 [[Elementary Image Zoomable class 9 10 @since 1.23 11 ]] 12 methods { 13 @property gesture_enabled { 14 [[The gesture state for photocam. 15 16 This sets the gesture state to on or off for photocam. The 17 default is off. This will start multi touch zooming. 18 ]] 19 set { 20 } 21 get { 22 } 23 values { 24 gesture: bool; [[The gesture state.]] 25 } 26 } 27 @property image_region { 28 [[The region of the image that is currently shown 29 30 Setting it shows the region of the image without using animation. 31 ]] 32 get { 33 } 34 set { 35 } 36 values { 37 region: Eina.Rect; [[The region in the original image pixels.]] 38 } 39 } 40 } 41 implements { 42 class.constructor; 43 Efl.Object.constructor; 44 Efl.Gfx.Entity.position { set; } 45 Efl.Gfx.Entity.size { set; } 46 Efl.Gfx.View.view_size { get; } 47 Efl.Gfx.Image.image_size { get; } 48 Efl.Ui.Image.icon { set; get; } 49 Efl.Playable.playable { get; } 50 Efl.Player.playing { get; set; } 51 Efl.Player.paused { get; set; } 52 Efl.Player.playback_position { get; set; } 53 Efl.Player.playback_progress { get; set; } 54 Efl.Player.playback_speed { get; set; } 55 Efl.Player.autoplay { set; get; } 56 Efl.Player.playback_loop { set; get; } 57 Efl.Ui.Zoom.zoom_animation { set; get; } 58 Efl.Ui.Zoom.zoom_level { set; get; } 59 Efl.Ui.Zoom.zoom_mode { set; get; } 60 Efl.Canvas.Group.group_member_add; 61 Efl.Ui.Widget.theme_apply; 62 Efl.Ui.Focus.Object.on_focus_update; 63 Efl.Ui.Widget.widget_input_event_handler; 64 Efl.Ui.Scrollable.scroll; 65 Efl.Access.Widget.Action.elm_actions { get; } 66 Efl.File.load; 67 Efl.File.unload; 68 Efl.File.file { get; set; } 69 Efl.Gfx.Image_Orientable.image_orientation { get; set; } 70 Efl.Layout.Group.group_size_min { get; } 71 Efl.Layout.Group.group_size_max { get; } 72 } 73 events { 74 press: void; [[Called when photocam got pressed]] 75 load: void; [[Called when photocam loading started]] 76 loaded: void; [[Called when photocam loading finished]] 77 load,detail: void; [[Called when photocal detail loading started]] 78 loaded,detail: void; [[Called when photocam detail loading finished]] 79 download,start: void; [[Called when photocam download started]] 80 download,progress: Elm.Photocam.Progress; [[Called when photocam download progress updated]] 81 download,done: void; [[Called when photocam download finished]] 82 download,error: Elm.Photocam.Error; [[Called when photocam download failed]] 83 } 84} 85