2011-12-29 23:20:48 -08:00
|
|
|
/**
|
2012-02-17 03:26:40 -08:00
|
|
|
* @defgroup Mirroring Mirroring
|
2011-12-29 23:20:48 -08:00
|
|
|
*
|
|
|
|
* These functions allow you to set ui-mirroring on specific
|
|
|
|
* widgets or the whole interface. Widgets can be in one of two
|
|
|
|
* modes, automatic and manual. Automatic means they'll be changed
|
|
|
|
* according to the system mirroring mode and manual means only
|
|
|
|
* explicit changes will matter. You are not supposed to change
|
|
|
|
* mirroring state of a widget set to automatic, will mostly work,
|
|
|
|
* but the behavior is not really defined.
|
|
|
|
*
|
|
|
|
* @{
|
|
|
|
*/
|
2011-12-29 22:49:28 -08:00
|
|
|
|
2011-12-29 23:20:48 -08:00
|
|
|
/**
|
|
|
|
* Get the system mirrored mode. This determines the default mirrored mode
|
|
|
|
* of widgets.
|
|
|
|
*
|
|
|
|
* @return EINA_TRUE if mirrored is set, EINA_FALSE otherwise
|
|
|
|
*/
|
2012-02-17 03:26:40 -08:00
|
|
|
EAPI Eina_Bool elm_mirrored_get(void);
|
2011-12-29 22:49:28 -08:00
|
|
|
|
2011-12-29 23:20:48 -08:00
|
|
|
/**
|
|
|
|
* Set the system mirrored mode. This determines the default mirrored mode
|
|
|
|
* of widgets.
|
|
|
|
*
|
|
|
|
* @param mirrored EINA_TRUE to set mirrored mode, EINA_FALSE to unset it.
|
|
|
|
*/
|
2012-02-17 03:26:40 -08:00
|
|
|
EAPI void elm_mirrored_set(Eina_Bool mirrored);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Get the widget's mirrored mode.
|
|
|
|
*
|
|
|
|
* @return EINA_TRUE if mirrored is set, EINA_FALSE otherwise
|
|
|
|
*/
|
|
|
|
EAPI Eina_Bool elm_object_mirrored_get(const Evas_Object *obj);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Set the widget's mirrored mode.
|
|
|
|
*
|
|
|
|
* @param mirrored EINA_TRUE to set mirrored mode, EINA_FALSE to unset it.
|
|
|
|
*/
|
2011-12-30 01:48:46 -08:00
|
|
|
EAPI void elm_object_mirrored_set(Evas_Object *obj, Eina_Bool mirrored);
|
2011-12-29 22:49:28 -08:00
|
|
|
|
2011-12-29 23:20:48 -08:00
|
|
|
/**
|
|
|
|
* Returns the widget's mirrored mode setting.
|
|
|
|
*
|
|
|
|
* @param obj The widget.
|
|
|
|
* @return mirrored mode setting of the object.
|
|
|
|
*
|
|
|
|
**/
|
2011-12-30 01:48:46 -08:00
|
|
|
EAPI Eina_Bool elm_object_mirrored_automatic_get(const Evas_Object *obj);
|
2011-12-29 22:49:28 -08:00
|
|
|
|
2011-12-29 23:20:48 -08:00
|
|
|
/**
|
|
|
|
* Sets the widget's mirrored mode setting.
|
|
|
|
* When widget in automatic mode, it follows the system mirrored mode set by
|
|
|
|
* elm_mirrored_set().
|
|
|
|
* @param obj The widget.
|
|
|
|
* @param automatic EINA_TRUE for auto mirrored mode. EINA_FALSE for manual.
|
|
|
|
*/
|
2011-12-30 01:48:46 -08:00
|
|
|
EAPI void elm_object_mirrored_automatic_set(Evas_Object *obj, Eina_Bool automatic);
|
2011-12-29 22:49:28 -08:00
|
|
|
|
2011-12-29 23:20:48 -08:00
|
|
|
/**
|
|
|
|
* @}
|
|
|
|
*/
|