Add function to return current enabled state.

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

SVN revision: 81139
This commit is contained in:
Christopher Michael 2012-12-17 13:42:12 +00:00 committed by Christopher Michael
parent cce210cd53
commit 3ba73d30d8
1 changed files with 13 additions and 0 deletions

View File

@ -441,6 +441,19 @@ e_smart_monitor_current_mode_get(Evas_Object *obj)
return sd->current.mode;
}
Eina_Bool
e_smart_monitor_current_enabled_get(Evas_Object *obj)
{
E_Smart_Data *sd;
/* try to get the objects smart data */
if (!(sd = evas_object_smart_data_get(obj)))
return EINA_FALSE;
/* return the current enabled mode */
return sd->current.enabled;
}
void
e_smart_monitor_clone_add(Evas_Object *obj, Evas_Object *mon)
{