* limitations under the License.
*/
+#define ELM_INTERFACE_ATSPI_COMPONENT_PROTECTED
#define ELM_INTERNAL_API_ARGESFSDFEFC 1
#include <Eo.h>
return sd->mode;
}
+EOLIAN static void
+_eext_floatingbutton_elm_interface_atspi_component_extents_get(Eo *obj EINA_UNUSED, Eext_Floatingbutton_Data *sd, Eina_Bool screen_coords, int *x, int *y, int *w, int *h)
+{
+ int ee_x, ee_y;
+
+ if (!sd->box)
+ {
+ if (x) *x = -1;
+ if (y) *y = -1;
+ if (w) *w = -1;
+ if (h) *h = -1;
+ return;
+ }
+ evas_object_geometry_get(sd->box, x, y, w, h);
+
+ if (screen_coords)
+ {
+ Ecore_Evas *ee = ecore_evas_ecore_evas_get(evas_object_evas_get(sd->box));
+ if (!ee) return;
+ ecore_evas_geometry_get(ee, &ee_x, &ee_y, NULL, NULL);
+ if (x) *x += ee_x;
+ if (y) *y += ee_y;
+ }
+}
+
#include "eext_floatingbutton.eo.c"