1 #ifndef EVAS_CANVAS_EO_HH 2 #define EVAS_CANVAS_EO_HH 3 #include <Eo.h> 4 5 extern "C" { 6 #include "efl_canvas_object.eo.h" 7 #include "efl_canvas_pointer.eo.h" 8 #include "efl_canvas_scene.eo.h" 9 #include "efl_class.eo.h" 10 #include "efl_gfx_entity.eo.h" 11 #include "efl_input_device.eo.h" 12 #include "efl_input_focus.eo.h" 13 #include "efl_input_hold.eo.h" 14 #include "efl_input_interface.eo.h" 15 #include "efl_input_key.eo.h" 16 #include "efl_input_pointer.eo.h" 17 #include "efl_loop.eo.h" 18 #include "efl_loop_consumer.eo.h" 19 #include "efl_object.eo.h" 20 #include "evas_canvas_eo.h" 21 } 22 #include <Eina.hh> 23 #include <Eo.hh> 24 #include "efl_canvas_object.eo.hh" 25 #include "efl_canvas_pointer.eo.hh" 26 #include "efl_canvas_scene.eo.hh" 27 #include "efl_class.eo.hh" 28 #include "efl_gfx_entity.eo.hh" 29 #include "efl_input_device.eo.hh" 30 #include "efl_input_focus.eo.hh" 31 #include "efl_input_hold.eo.hh" 32 #include "efl_input_interface.eo.hh" 33 #include "efl_input_key.eo.hh" 34 #include "efl_input_pointer.eo.hh" 35 #include "efl_loop.eo.hh" 36 #include "efl_loop_consumer.eo.hh" 37 #include "efl_object.eo.hh" 38 #ifndef EVAS_CANVAS_FWD_GUARD 39 #define EVAS_CANVAS_FWD_GUARD 40 namespace evas { 41 struct Canvas; 42 } 43 namespace efl { namespace eo { template<> struct is_eolian_object< ::evas::Canvas> : ::std::true_type {}; } } 44 namespace efl { namespace eo { template<> struct is_eolian_object< ::evas::Canvas&> : ::std::true_type {}; } } 45 namespace efl { namespace eo { template<> struct is_eolian_object< ::evas::Canvas const> : ::std::true_type {}; } } 46 namespace efl { namespace eo { template<> struct is_eolian_object< ::evas::Canvas const&> : ::std::true_type {}; } } 47 #endif 48 #ifndef EFL_CLASS_FWD_GUARD 49 #define EFL_CLASS_FWD_GUARD 50 namespace efl { 51 struct Class; 52 } 53 namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Class> : ::std::true_type {}; } } 54 namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Class&> : ::std::true_type {}; } } 55 namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Class const> : ::std::true_type {}; } } 56 namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Class const&> : ::std::true_type {}; } } 57 #endif 58 #ifndef EFL_CANVAS_OBJECT_FWD_GUARD 59 #define EFL_CANVAS_OBJECT_FWD_GUARD 60 namespace efl { namespace canvas { 61 struct Object; 62 } } 63 namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::canvas::Object> : ::std::true_type {}; } } 64 namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::canvas::Object&> : ::std::true_type {}; } } 65 namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::canvas::Object const> : ::std::true_type {}; } } 66 namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::canvas::Object const&> : ::std::true_type {}; } } 67 #endif 68 #ifndef EFL_CANVAS_POINTER_FWD_GUARD 69 #define EFL_CANVAS_POINTER_FWD_GUARD 70 namespace efl { namespace canvas { 71 struct Pointer; 72 } } 73 namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::canvas::Pointer> : ::std::true_type {}; } } 74 namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::canvas::Pointer&> : ::std::true_type {}; } } 75 namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::canvas::Pointer const> : ::std::true_type {}; } } 76 namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::canvas::Pointer const&> : ::std::true_type {}; } } 77 #endif 78 #ifndef EFL_GFX_ENTITY_FWD_GUARD 79 #define EFL_GFX_ENTITY_FWD_GUARD 80 namespace efl { namespace gfx { 81 struct Entity; 82 } } 83 namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Entity> : ::std::true_type {}; } } 84 namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Entity&> : ::std::true_type {}; } } 85 namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Entity const> : ::std::true_type {}; } } 86 namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Entity const&> : ::std::true_type {}; } } 87 #endif 88 #ifndef EFL_INPUT_DEVICE_FWD_GUARD 89 #define EFL_INPUT_DEVICE_FWD_GUARD 90 namespace efl { namespace input { 91 struct Device; 92 } } 93 namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Device> : ::std::true_type {}; } } 94 namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Device&> : ::std::true_type {}; } } 95 namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Device const> : ::std::true_type {}; } } 96 namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Device const&> : ::std::true_type {}; } } 97 #endif 98 #ifndef EFL_INPUT_FOCUS_FWD_GUARD 99 #define EFL_INPUT_FOCUS_FWD_GUARD 100 namespace efl { namespace input { 101 struct Focus; 102 } } 103 namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Focus> : ::std::true_type {}; } } 104 namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Focus&> : ::std::true_type {}; } } 105 namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Focus const> : ::std::true_type {}; } } 106 namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Focus const&> : ::std::true_type {}; } } 107 #endif 108 #ifndef EFL_INPUT_HOLD_FWD_GUARD 109 #define EFL_INPUT_HOLD_FWD_GUARD 110 namespace efl { namespace input { 111 struct Hold; 112 } } 113 namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Hold> : ::std::true_type {}; } } 114 namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Hold&> : ::std::true_type {}; } } 115 namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Hold const> : ::std::true_type {}; } } 116 namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Hold const&> : ::std::true_type {}; } } 117 #endif 118 #ifndef EFL_INPUT_INTERFACE_FWD_GUARD 119 #define EFL_INPUT_INTERFACE_FWD_GUARD 120 namespace efl { namespace input { 121 struct Interface; 122 } } 123 namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Interface> : ::std::true_type {}; } } 124 namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Interface&> : ::std::true_type {}; } } 125 namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Interface const> : ::std::true_type {}; } } 126 namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Interface const&> : ::std::true_type {}; } } 127 #endif 128 #ifndef EFL_INPUT_KEY_FWD_GUARD 129 #define EFL_INPUT_KEY_FWD_GUARD 130 namespace efl { namespace input { 131 struct Key; 132 } } 133 namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Key> : ::std::true_type {}; } } 134 namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Key&> : ::std::true_type {}; } } 135 namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Key const> : ::std::true_type {}; } } 136 namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Key const&> : ::std::true_type {}; } } 137 #endif 138 #ifndef EFL_LOOP_FWD_GUARD 139 #define EFL_LOOP_FWD_GUARD 140 namespace efl { 141 struct Loop; 142 } 143 namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Loop> : ::std::true_type {}; } } 144 namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Loop&> : ::std::true_type {}; } } 145 namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Loop const> : ::std::true_type {}; } } 146 namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Loop const&> : ::std::true_type {}; } } 147 #endif 148 #ifndef EFL_LOOP_CONSUMER_FWD_GUARD 149 #define EFL_LOOP_CONSUMER_FWD_GUARD 150 namespace efl { 151 struct Loop_Consumer; 152 } 153 namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Loop_Consumer> : ::std::true_type {}; } } 154 namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Loop_Consumer&> : ::std::true_type {}; } } 155 namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Loop_Consumer const> : ::std::true_type {}; } } 156 namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Loop_Consumer const&> : ::std::true_type {}; } } 157 #endif 158 #ifndef EFL_OBJECT_FWD_GUARD 159 #define EFL_OBJECT_FWD_GUARD 160 namespace efl { 161 struct Object; 162 } 163 namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Object> : ::std::true_type {}; } } 164 namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Object&> : ::std::true_type {}; } } 165 namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Object const> : ::std::true_type {}; } } 166 namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Object const&> : ::std::true_type {}; } } 167 #endif 168 #ifndef EFL_INPUT_POINTER_FWD_GUARD 169 #define EFL_INPUT_POINTER_FWD_GUARD 170 namespace efl { namespace input { 171 struct Pointer; 172 } } 173 namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Pointer> : ::std::true_type {}; } } 174 namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Pointer&> : ::std::true_type {}; } } 175 namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Pointer const> : ::std::true_type {}; } } 176 namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::input::Pointer const&> : ::std::true_type {}; } } 177 #endif 178 #ifndef EFL_CANVAS_SCENE_FWD_GUARD 179 #define EFL_CANVAS_SCENE_FWD_GUARD 180 namespace efl { namespace canvas { 181 struct Scene; 182 } } 183 namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::canvas::Scene> : ::std::true_type {}; } } 184 namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::canvas::Scene&> : ::std::true_type {}; } } 185 namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::canvas::Scene const> : ::std::true_type {}; } } 186 namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::canvas::Scene const&> : ::std::true_type {}; } } 187 #endif 188 189 namespace eo_cxx { 190 namespace evas { 191 struct Canvas { 192 ::efl::eolian::return_traits<int>::type image_cache_get() const; 193 ::efl::eolian::return_traits<void>::type image_cache_set( ::efl::eolian::in_traits<int>::type size) const; 194 ::efl::eolian::return_traits<Efl_Input_Flags>::type event_default_flags_get() const; 195 ::efl::eolian::return_traits<void>::type event_default_flags_set( ::efl::eolian::in_traits<Efl_Input_Flags>::type flags) const; 196 ::efl::eolian::return_traits<int>::type font_cache_get() const; 197 ::efl::eolian::return_traits<void>::type font_cache_set( ::efl::eolian::in_traits<int>::type size) const; 198 ::efl::eolian::return_traits<void*>::type data_attach_get() const; 199 ::efl::eolian::return_traits<void>::type data_attach_set( ::efl::eolian::in_traits<void*>::type data) const; 200 ::efl::eolian::return_traits< ::efl::canvas::Object>::type focus_get() const; 201 ::efl::eolian::return_traits< ::efl::canvas::Object>::type seat_focus_get( ::efl::eolian::in_traits< ::efl::input::Device>::type seat) const; 202 ::efl::eolian::return_traits< ::efl::canvas::Object>::type object_top_get() const; 203 ::efl::eolian::return_traits<void>::type pointer_canvas_xy_by_device_get( ::efl::eolian::in_traits< ::efl::input::Device>::type dev, ::efl::eolian::out_traits<int>::type x, ::efl::eolian::out_traits<int>::type y) const; 204 ::efl::eolian::return_traits<void>::type pointer_canvas_xy_get( ::efl::eolian::out_traits<int>::type x, ::efl::eolian::out_traits<int>::type y) const; 205 ::efl::eolian::return_traits<int>::type event_down_count_get() const; 206 ::efl::eolian::return_traits<int>::type smart_objects_calculate_count_get() const; 207 ::efl::eolian::return_traits<bool>::type focus_state_get() const; 208 ::efl::eolian::return_traits<bool>::type seat_focus_state_get( ::efl::eolian::in_traits< ::efl::input::Device>::type seat) const; 209 ::efl::eolian::return_traits<bool>::type changed_get() const; 210 ::efl::eolian::return_traits<void>::type pointer_output_xy_by_device_get( ::efl::eolian::in_traits< ::efl::input::Device>::type dev, ::efl::eolian::out_traits<int>::type x, ::efl::eolian::out_traits<int>::type y) const; 211 ::efl::eolian::return_traits<void>::type pointer_output_xy_get( ::efl::eolian::out_traits<int>::type x, ::efl::eolian::out_traits<int>::type y) const; 212 ::efl::eolian::return_traits< ::efl::canvas::Object>::type object_bottom_get() const; 213 ::efl::eolian::return_traits< unsigned int>::type pointer_button_down_mask_by_device_get( ::efl::eolian::in_traits< ::efl::input::Device>::type dev) const; 214 ::efl::eolian::return_traits< unsigned int>::type pointer_button_down_mask_get() const; 215 ::efl::eolian::return_traits< ::efl::input::Device>::type default_device_get( ::efl::eolian::in_traits<Efl_Input_Device_Type>::type type) const; 216 ::efl::eolian::return_traits< ::efl::eina::range_list< ::efl::canvas::Object>>::type tree_objects_at_xy_get( ::efl::eolian::in_traits< ::efl::canvas::Object>::type stop, ::efl::eolian::in_traits<int>::type x, ::efl::eolian::in_traits<int>::type y) const; 217 ::efl::eolian::return_traits<void>::type key_lock_on( ::efl::eolian::in_traits< ::efl::eina::string_view>::type keyname) const; 218 ::efl::eolian::return_traits<void>::type seat_key_lock_on( ::efl::eolian::in_traits< ::efl::eina::string_view>::type keyname, ::efl::eolian::in_traits< ::efl::input::Device>::type seat) const; 219 ::efl::eolian::return_traits<void>::type seat_key_lock_off( ::efl::eolian::in_traits< ::efl::eina::string_view>::type keyname, ::efl::eolian::in_traits< ::efl::input::Device>::type seat) const; 220 ::efl::eolian::return_traits<void>::type key_modifier_add( ::efl::eolian::in_traits< ::efl::eina::string_view>::type keyname) const; 221 ::efl::eolian::return_traits<void>::type key_modifier_off( ::efl::eolian::in_traits< ::efl::eina::string_view>::type keyname) const; 222 ::efl::eolian::return_traits<bool>::type render_async() const; 223 ::efl::eolian::return_traits<void>::type focus_out() const; 224 ::efl::eolian::return_traits<void>::type norender() const; 225 ::efl::eolian::return_traits<void>::type nochange_pop() const; 226 ::efl::eolian::return_traits<void>::type key_lock_off( ::efl::eolian::in_traits< ::efl::eina::string_view>::type keyname) const; 227 ::efl::eolian::return_traits<void>::type nochange_push() const; 228 ::efl::eolian::return_traits<void>::type font_cache_flush() const; 229 ::efl::eolian::return_traits<void>::type key_modifier_on( ::efl::eolian::in_traits< ::efl::eina::string_view>::type keyname) const; 230 ::efl::eolian::return_traits<void>::type seat_key_modifier_on( ::efl::eolian::in_traits< ::efl::eina::string_view>::type keyname, ::efl::eolian::in_traits< ::efl::input::Device>::type seat) const; 231 ::efl::eolian::return_traits<void>::type seat_key_modifier_off( ::efl::eolian::in_traits< ::efl::eina::string_view>::type keyname, ::efl::eolian::in_traits< ::efl::input::Device>::type seat) const; 232 ::efl::eolian::return_traits< ::efl::eina::range_list< ::efl::eina::string_view>>::type font_available_list() const; 233 ::efl::eolian::return_traits< ::efl::canvas::Object>::type object_name_find( ::efl::eolian::in_traits< ::efl::eina::string_view>::type name) const; 234 ::efl::eolian::return_traits<void>::type font_path_append( ::efl::eolian::in_traits< ::efl::eina::string_view>::type path) const; 235 ::efl::eolian::return_traits<void>::type font_path_clear() const; 236 ::efl::eolian::return_traits<void>::type touch_point_list_nth_xy_get( ::efl::eolian::in_traits< unsigned int>::type n, ::efl::eolian::out_traits<double>::type x, ::efl::eolian::out_traits<double>::type y) const; 237 ::efl::eolian::return_traits<void>::type key_lock_del( ::efl::eolian::in_traits< ::efl::eina::string_view>::type keyname) const; 238 ::efl::eolian::return_traits<void>::type damage_rectangle_add( ::efl::eolian::in_traits<int>::type x, ::efl::eolian::in_traits<int>::type y, ::efl::eolian::in_traits<int>::type w, ::efl::eolian::in_traits<int>::type h) const; 239 ::efl::eolian::return_traits<void>::type sync() const; 240 ::efl::eolian::return_traits< ::efl::eina::range_list< ::efl::eina::string_view>>::type font_path_list() const; 241 ::efl::eolian::return_traits<void>::type image_cache_reload() const; 242 ::efl::eolian::return_traits<int>::type coord_world_x_to_screen( ::efl::eolian::in_traits<int>::type x) const; 243 ::efl::eolian::return_traits< ::efl::eina::list<Eina_Rect const&>>::type render_updates() const; 244 ::efl::eolian::return_traits<void>::type image_cache_flush() const; 245 ::efl::eolian::return_traits<int>::type coord_screen_y_to_world( ::efl::eolian::in_traits<int>::type y) const; 246 ::efl::eolian::return_traits<void>::type key_modifier_del( ::efl::eolian::in_traits< ::efl::eina::string_view>::type keyname) const; 247 ::efl::eolian::return_traits<void>::type focus_in() const; 248 ::efl::eolian::return_traits<void>::type seat_focus_in( ::efl::eolian::in_traits< ::efl::input::Device>::type seat) const; 249 ::efl::eolian::return_traits<void>::type seat_focus_out( ::efl::eolian::in_traits< ::efl::input::Device>::type seat) const; 250 ::efl::eolian::return_traits<void>::type obscured_rectangle_add( ::efl::eolian::in_traits<int>::type x, ::efl::eolian::in_traits<int>::type y, ::efl::eolian::in_traits<int>::type w, ::efl::eolian::in_traits<int>::type h) const; 251 ::efl::eolian::return_traits<void>::type render_dump() const; 252 ::efl::eolian::return_traits<void>::type render() const; 253 ::efl::eolian::return_traits<void>::type font_path_prepend( ::efl::eolian::in_traits< ::efl::eina::string_view>::type path) const; 254 ::efl::eolian::return_traits<void>::type obscured_clear() const; 255 ::efl::eolian::return_traits<int>::type coord_screen_x_to_world( ::efl::eolian::in_traits<int>::type x) const; 256 ::efl::eolian::return_traits<void>::type key_lock_add( ::efl::eolian::in_traits< ::efl::eina::string_view>::type keyname) const; 257 ::efl::eolian::return_traits<void>::type render_idle_flush() const; 258 ::efl::eolian::return_traits<int>::type coord_world_y_to_screen( ::efl::eolian::in_traits<int>::type y) const; _eo_classeo_cxx::evas::Canvas259 static Efl_Class const* _eo_class() 260 { 261 return EVAS_CANVAS_CLASS; 262 } _eo_ptreo_cxx::evas::Canvas263 Eo* _eo_ptr() const { return *(reinterpret_cast<Eo **>(const_cast<Canvas *>(this))); } 264 operator ::evas::Canvas() const; 265 operator ::evas::Canvas&(); 266 operator ::evas::Canvas const&() const; 267 /// @cond LOCAL operator &eo_cxx::evas::Canvas268 ::efl::eolian::address_of_operator<Canvas, ::efl::Loop_Consumer, ::efl::Object, ::efl::canvas::Pointer, ::efl::canvas::Scene, ::efl::input::Interface> operator&() { return {this}; } operator &eo_cxx::evas::Canvas269 ::efl::eolian::address_of_operator<Canvas const , ::efl::Loop_Consumer const , ::efl::Object const , ::efl::canvas::Pointer const , ::efl::canvas::Scene const , ::efl::input::Interface const > operator&() const { return {this}; } 270 /// @endcond 271 }; 272 } 273 } 274 namespace evas { 275 struct Canvas : private ::efl::eo::concrete 276 , EO_CXX_INHERIT(::efl::Loop_Consumer) 277 , EO_CXX_INHERIT(::efl::Object) 278 , EO_CXX_INHERIT(::efl::canvas::Pointer) 279 , EO_CXX_INHERIT(::efl::canvas::Scene) 280 , EO_CXX_INHERIT(::efl::input::Interface) 281 { Canvasevas::Canvas282 explicit Canvas( ::Eo* eo) 283 : ::efl::eo::concrete(eo) {} Canvasevas::Canvas284 Canvas(std::nullptr_t) 285 : ::efl::eo::concrete(nullptr) {} 286 explicit Canvas() = default; 287 Canvas(Canvas const&) = default; 288 Canvas(Canvas&&) = default; 289 Canvas& operator=(Canvas const&) = default; 290 Canvas& operator=(Canvas&&) = default; 291 template <typename Derived> Canvasevas::Canvas292 Canvas(Derived&& derived 293 , typename std::enable_if< 294 ::efl::eo::is_eolian_object<Derived>::value 295 && std::is_base_of< Canvas, Derived>::value>::type* = 0) 296 : ::efl::eo::concrete(derived._eo_ptr()) {} 297 Canvasevas::Canvas298 Canvas( ::efl::eo::instantiate_t) 299 { 300 ::efl::eolian::do_eo_add( ::efl::eo::concrete::_eo_raw, ::efl::eo::concrete{nullptr}, _eo_class()); 301 } 302 template <typename T> Canvasevas::Canvas303 explicit Canvas( ::efl::eo::instantiate_t, T&& parent, typename std::enable_if< ::efl::eo::is_eolian_object<T>::value>::type* = 0) 304 { 305 ::efl::eolian::do_eo_add( ::efl::eo::concrete::_eo_raw, parent, _eo_class()); 306 } Canvasevas::Canvas307 template <typename F> Canvas( ::efl::eo::instantiate_t, F&& f, typename ::std::enable_if< ::efl::eolian::is_constructor_lambda<F, Canvas >::value>::type* = 0) 308 { 309 ::efl::eolian::do_eo_add( ::efl::eo::concrete::_eo_raw, ::efl::eo::concrete{nullptr}, _eo_class(), *this, std::forward<F>(f)); 310 } Canvasevas::Canvas311 template <typename T, typename F> Canvas( ::efl::eo::instantiate_t, T&& parent, F&& f, typename ::std::enable_if< ::efl::eolian::is_constructor_lambda<F, Canvas >::value && ::efl::eo::is_eolian_object<T>::value>::type* = 0) 312 { 313 ::efl::eolian::do_eo_add( ::efl::eo::concrete::_eo_raw, parent, _eo_class(), *this, std::forward<F>(f)); 314 } 315 316 ::efl::eolian::return_traits<int>::type image_cache_get() const; 317 ::efl::eolian::return_traits<void>::type image_cache_set( ::efl::eolian::in_traits<int>::type size) const; 318 ::efl::eolian::return_traits<Efl_Input_Flags>::type event_default_flags_get() const; 319 ::efl::eolian::return_traits<void>::type event_default_flags_set( ::efl::eolian::in_traits<Efl_Input_Flags>::type flags) const; 320 ::efl::eolian::return_traits<int>::type font_cache_get() const; 321 ::efl::eolian::return_traits<void>::type font_cache_set( ::efl::eolian::in_traits<int>::type size) const; 322 ::efl::eolian::return_traits<void*>::type data_attach_get() const; 323 ::efl::eolian::return_traits<void>::type data_attach_set( ::efl::eolian::in_traits<void*>::type data) const; 324 ::efl::eolian::return_traits< ::efl::canvas::Object>::type focus_get() const; 325 ::efl::eolian::return_traits< ::efl::canvas::Object>::type seat_focus_get( ::efl::eolian::in_traits< ::efl::input::Device>::type seat) const; 326 ::efl::eolian::return_traits< ::efl::canvas::Object>::type object_top_get() const; 327 ::efl::eolian::return_traits<void>::type pointer_canvas_xy_by_device_get( ::efl::eolian::in_traits< ::efl::input::Device>::type dev, ::efl::eolian::out_traits<int>::type x, ::efl::eolian::out_traits<int>::type y) const; 328 ::efl::eolian::return_traits<void>::type pointer_canvas_xy_get( ::efl::eolian::out_traits<int>::type x, ::efl::eolian::out_traits<int>::type y) const; 329 ::efl::eolian::return_traits<int>::type event_down_count_get() const; 330 ::efl::eolian::return_traits<int>::type smart_objects_calculate_count_get() const; 331 ::efl::eolian::return_traits<bool>::type focus_state_get() const; 332 ::efl::eolian::return_traits<bool>::type seat_focus_state_get( ::efl::eolian::in_traits< ::efl::input::Device>::type seat) const; 333 ::efl::eolian::return_traits<bool>::type changed_get() const; 334 ::efl::eolian::return_traits<void>::type pointer_output_xy_by_device_get( ::efl::eolian::in_traits< ::efl::input::Device>::type dev, ::efl::eolian::out_traits<int>::type x, ::efl::eolian::out_traits<int>::type y) const; 335 ::efl::eolian::return_traits<void>::type pointer_output_xy_get( ::efl::eolian::out_traits<int>::type x, ::efl::eolian::out_traits<int>::type y) const; 336 ::efl::eolian::return_traits< ::efl::canvas::Object>::type object_bottom_get() const; 337 ::efl::eolian::return_traits< unsigned int>::type pointer_button_down_mask_by_device_get( ::efl::eolian::in_traits< ::efl::input::Device>::type dev) const; 338 ::efl::eolian::return_traits< unsigned int>::type pointer_button_down_mask_get() const; 339 ::efl::eolian::return_traits< ::efl::input::Device>::type default_device_get( ::efl::eolian::in_traits<Efl_Input_Device_Type>::type type) const; 340 ::efl::eolian::return_traits< ::efl::eina::range_list< ::efl::canvas::Object>>::type tree_objects_at_xy_get( ::efl::eolian::in_traits< ::efl::canvas::Object>::type stop, ::efl::eolian::in_traits<int>::type x, ::efl::eolian::in_traits<int>::type y) const; 341 ::efl::eolian::return_traits<void>::type key_lock_on( ::efl::eolian::in_traits< ::efl::eina::string_view>::type keyname) const; 342 ::efl::eolian::return_traits<void>::type seat_key_lock_on( ::efl::eolian::in_traits< ::efl::eina::string_view>::type keyname, ::efl::eolian::in_traits< ::efl::input::Device>::type seat) const; 343 ::efl::eolian::return_traits<void>::type seat_key_lock_off( ::efl::eolian::in_traits< ::efl::eina::string_view>::type keyname, ::efl::eolian::in_traits< ::efl::input::Device>::type seat) const; 344 ::efl::eolian::return_traits<void>::type key_modifier_add( ::efl::eolian::in_traits< ::efl::eina::string_view>::type keyname) const; 345 ::efl::eolian::return_traits<void>::type key_modifier_off( ::efl::eolian::in_traits< ::efl::eina::string_view>::type keyname) const; 346 ::efl::eolian::return_traits<bool>::type render_async() const; 347 ::efl::eolian::return_traits<void>::type focus_out() const; 348 ::efl::eolian::return_traits<void>::type norender() const; 349 ::efl::eolian::return_traits<void>::type nochange_pop() const; 350 ::efl::eolian::return_traits<void>::type key_lock_off( ::efl::eolian::in_traits< ::efl::eina::string_view>::type keyname) const; 351 ::efl::eolian::return_traits<void>::type nochange_push() const; 352 ::efl::eolian::return_traits<void>::type font_cache_flush() const; 353 ::efl::eolian::return_traits<void>::type key_modifier_on( ::efl::eolian::in_traits< ::efl::eina::string_view>::type keyname) const; 354 ::efl::eolian::return_traits<void>::type seat_key_modifier_on( ::efl::eolian::in_traits< ::efl::eina::string_view>::type keyname, ::efl::eolian::in_traits< ::efl::input::Device>::type seat) const; 355 ::efl::eolian::return_traits<void>::type seat_key_modifier_off( ::efl::eolian::in_traits< ::efl::eina::string_view>::type keyname, ::efl::eolian::in_traits< ::efl::input::Device>::type seat) const; 356 ::efl::eolian::return_traits< ::efl::eina::range_list< ::efl::eina::string_view>>::type font_available_list() const; 357 ::efl::eolian::return_traits< ::efl::canvas::Object>::type object_name_find( ::efl::eolian::in_traits< ::efl::eina::string_view>::type name) const; 358 ::efl::eolian::return_traits<void>::type font_path_append( ::efl::eolian::in_traits< ::efl::eina::string_view>::type path) const; 359 ::efl::eolian::return_traits<void>::type font_path_clear() const; 360 ::efl::eolian::return_traits<void>::type touch_point_list_nth_xy_get( ::efl::eolian::in_traits< unsigned int>::type n, ::efl::eolian::out_traits<double>::type x, ::efl::eolian::out_traits<double>::type y) const; 361 ::efl::eolian::return_traits<void>::type key_lock_del( ::efl::eolian::in_traits< ::efl::eina::string_view>::type keyname) const; 362 ::efl::eolian::return_traits<void>::type damage_rectangle_add( ::efl::eolian::in_traits<int>::type x, ::efl::eolian::in_traits<int>::type y, ::efl::eolian::in_traits<int>::type w, ::efl::eolian::in_traits<int>::type h) const; 363 ::efl::eolian::return_traits<void>::type sync() const; 364 ::efl::eolian::return_traits< ::efl::eina::range_list< ::efl::eina::string_view>>::type font_path_list() const; 365 ::efl::eolian::return_traits<void>::type image_cache_reload() const; 366 ::efl::eolian::return_traits<int>::type coord_world_x_to_screen( ::efl::eolian::in_traits<int>::type x) const; 367 ::efl::eolian::return_traits< ::efl::eina::list<Eina_Rect const&>>::type render_updates() const; 368 ::efl::eolian::return_traits<void>::type image_cache_flush() const; 369 ::efl::eolian::return_traits<int>::type coord_screen_y_to_world( ::efl::eolian::in_traits<int>::type y) const; 370 ::efl::eolian::return_traits<void>::type key_modifier_del( ::efl::eolian::in_traits< ::efl::eina::string_view>::type keyname) const; 371 ::efl::eolian::return_traits<void>::type focus_in() const; 372 ::efl::eolian::return_traits<void>::type seat_focus_in( ::efl::eolian::in_traits< ::efl::input::Device>::type seat) const; 373 ::efl::eolian::return_traits<void>::type seat_focus_out( ::efl::eolian::in_traits< ::efl::input::Device>::type seat) const; 374 ::efl::eolian::return_traits<void>::type obscured_rectangle_add( ::efl::eolian::in_traits<int>::type x, ::efl::eolian::in_traits<int>::type y, ::efl::eolian::in_traits<int>::type w, ::efl::eolian::in_traits<int>::type h) const; 375 ::efl::eolian::return_traits<void>::type render_dump() const; 376 ::efl::eolian::return_traits<void>::type render() const; 377 ::efl::eolian::return_traits<void>::type font_path_prepend( ::efl::eolian::in_traits< ::efl::eina::string_view>::type path) const; 378 ::efl::eolian::return_traits<void>::type obscured_clear() const; 379 ::efl::eolian::return_traits<int>::type coord_screen_x_to_world( ::efl::eolian::in_traits<int>::type x) const; 380 ::efl::eolian::return_traits<void>::type key_lock_add( ::efl::eolian::in_traits< ::efl::eina::string_view>::type keyname) const; 381 ::efl::eolian::return_traits<void>::type render_idle_flush() const; 382 ::efl::eolian::return_traits<int>::type coord_world_y_to_screen( ::efl::eolian::in_traits<int>::type y) const; _eo_classevas::Canvas383 static Efl_Class const* _eo_class() 384 { 385 return EVAS_CANVAS_CLASS; 386 } _eo_ptrevas::Canvas387 Eo* _eo_ptr() const { return *(reinterpret_cast<Eo **>(const_cast<Canvas *>(this))); } 388 /// @cond LOCAL operator &evas::Canvas389 ::efl::eolian::address_of_operator<Canvas, ::efl::Loop_Consumer, ::efl::Object, ::efl::canvas::Pointer, ::efl::canvas::Scene, ::efl::input::Interface> operator&() { return {this}; } operator &evas::Canvas390 ::efl::eolian::address_of_operator<Canvas const , ::efl::Loop_Consumer const , ::efl::Object const , ::efl::canvas::Pointer const , ::efl::canvas::Scene const , ::efl::input::Interface const > operator&() const { return {this}; } 391 /// @endcond _get_wrefevas::Canvas392 ::efl::eo::wref<Canvas> _get_wref() const { return ::efl::eo::wref<Canvas>(*this); } _get_concreteevas::Canvas393 ::efl::eo::concrete const& _get_concrete() const { return *this; } _get_concreteevas::Canvas394 ::efl::eo::concrete& _get_concrete() { return *this; } 395 using ::efl::eo::concrete::_eo_ptr; 396 using ::efl::eo::concrete::_release; 397 using ::efl::eo::concrete::_reset; 398 using ::efl::eo::concrete::_delete; 399 using ::efl::eo::concrete::operator bool; 400 #ifdef EFL_CXXPERIMENTAL operator ->evas::Canvas401 const Canvas* operator->() const { return this; } operator ->evas::Canvas402 Canvas* operator->() { return this; } operator Eo*evas::Canvas403 operator Eo*() const { return _eo_ptr(); } 404 #endif operator ==(Canvas const & lhs,Canvas const & rhs)405 friend bool operator==(Canvas const& lhs, Canvas const& rhs) 406 { return lhs._get_concrete() == rhs._get_concrete(); } operator !=(Canvas const & lhs,Canvas const & rhs)407 friend bool operator!=(Canvas const& lhs, Canvas const& rhs) 408 { return !(lhs == rhs); } 409 }; 410 static_assert(sizeof(Canvas) == sizeof(Eo*), ""); 411 static_assert(std::is_standard_layout<Canvas>::value, ""); 412 } 413 #endif 414