src/lib conflict fixed
[framework/uifw/elementary.git] / src / lib / elm_mirroring.h
1 /**
2  * @defgroup Mirroring Mirroring
3  *
4  * These functions allow you to set ui-mirroring on specific
5  * widgets or the whole interface. Widgets can be in one of two
6  * modes, automatic and manual.  Automatic means they'll be changed
7  * according to the system mirroring mode and manual means only
8  * explicit changes will matter. You are not supposed to change
9  * mirroring state of a widget set to automatic, will mostly work,
10  * but the behavior is not really defined.
11  *
12  * @{
13  */
14
15 /**
16  * Get the widget's mirrored mode.
17  *
18  * @param obj The widget.
19  * @return EINA_TRUE if mirrored is set, EINA_FALSE otherwise
20  */
21 EAPI Eina_Bool elm_object_mirrored_get(const Evas_Object *obj);
22
23 /**
24  * Set the widget's mirrored mode.
25  *
26  * @param obj The widget.
27  * @param mirrored EINA_TRUE to set mirrored mode, EINA_FALSE to unset it.
28  */
29 EAPI void      elm_object_mirrored_set(Evas_Object *obj, Eina_Bool mirrored);
30
31 /**
32  * Returns the widget's mirrored mode setting.
33  *
34  * @param obj The widget.
35  * @return mirrored mode setting of the object.
36  *
37  **/
38 EAPI Eina_Bool elm_object_mirrored_automatic_get(const Evas_Object *obj);
39
40 /**
41  * Sets the widget's mirrored mode setting.
42  * When widget in automatic mode, it follows the system mirrored mode set by
43  * elm_mirrored_set().
44  * @param obj The widget.
45  * @param automatic EINA_TRUE for auto mirrored mode. EINA_FALSE for manual.
46  */
47 EAPI void      elm_object_mirrored_automatic_set(Evas_Object *obj, Eina_Bool automatic);
48
49 /**
50  * @}
51  */