E (RandR): Add function to retrieve monitor's output.

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 77867
This commit is contained in:
Christopher Michael 2012-10-11 12:42:20 +00:00 committed by Christopher Michael
parent 2ab321cf3b
commit 23fb072172
1 changed files with 13 additions and 0 deletions

View File

@ -373,6 +373,19 @@ e_smart_monitor_crtc_get(Evas_Object *obj)
return crtc;
}
E_Randr_Output_Info *
e_smart_monitor_output_get(Evas_Object *obj)
{
E_Smart_Data *sd;
if (!obj) return NULL;
if (!(sd = evas_object_smart_data_get(obj)))
return NULL;
return sd->output;
}
void
e_smart_monitor_crtc_geometry_get(Evas_Object *obj, Evas_Coord *x, Evas_Coord *y, Evas_Coord *w, Evas_Coord *h)
{