EvasObject: Add getFramespaceGeometry()
authorBrian Lovin <brian.j.lovin@intel.com>
Tue, 2 Apr 2013 20:24:56 +0000 (13:24 -0700)
committerBrian Lovin <brian.j.lovin@intel.com>
Tue, 2 Apr 2013 20:24:56 +0000 (13:24 -0700)
src/efl/evasobject.cpp
src/efl/evasobject.h

index cfee2e5..4136dff 100644 (file)
@@ -52,6 +52,18 @@ void EvasObject::hide()
        evas_object_hide(*this);
 }
 
+Geometry EvasObject::getFramespaceGeometry() const
+{
+       Geometry g;
+       
+       evas_output_framespace_get(
+               evas_object_evas_get(*this),
+               &g.x, &g.y, &g.width, &g.height
+       );
+       return g;
+}
+
+
 Geometry EvasObject::getGeometry() const
 {
        Geometry g;
index e2214de..4c53832 100644 (file)
@@ -20,6 +20,8 @@ public:
        int getHeight() const;
        int getX() const;
        int getY() const;
+       
+       Geometry getFramespaceGeometry() const;
        Geometry getGeometry() const;
        Position getPosition() const;