2013-02-19 02:55:07 -08:00
|
|
|
#ifdef E_TYPEDEFS
|
|
|
|
#else
|
|
|
|
# ifndef E_SMART_MONITOR_H
|
|
|
|
# define E_SMART_MONITOR_H
|
|
|
|
|
2013-02-19 02:59:47 -08:00
|
|
|
typedef enum _E_Smart_Monitor_Changes E_Smart_Monitor_Changes;
|
|
|
|
enum _E_Smart_Monitor_Changes
|
|
|
|
{
|
|
|
|
E_SMART_MONITOR_CHANGED_NONE = 0,
|
2013-05-24 05:05:41 -07:00
|
|
|
E_SMART_MONITOR_CHANGED_MODE = (1 << 0),
|
|
|
|
E_SMART_MONITOR_CHANGED_POSITION = (1 << 1),
|
|
|
|
E_SMART_MONITOR_CHANGED_ORIENTATION = (1 << 2),
|
|
|
|
E_SMART_MONITOR_CHANGED_ENABLED = (1 << 3),
|
2013-09-26 04:12:19 -07:00
|
|
|
E_SMART_MONITOR_CHANGED_PRIMARY = (1 << 4),
|
|
|
|
E_SMART_MONITOR_CHANGED_CLONE = (1 << 5)
|
2013-02-19 02:59:47 -08:00
|
|
|
};
|
|
|
|
|
2013-02-19 02:55:25 -08:00
|
|
|
Evas_Object *e_smart_monitor_add(Evas *evas);
|
2013-02-19 02:57:12 -08:00
|
|
|
void e_smart_monitor_crtc_set(Evas_Object *obj, Ecore_X_Randr_Crtc crtc, Evas_Coord cx, Evas_Coord cy, Evas_Coord cw, Evas_Coord ch);
|
2013-02-19 02:59:33 -08:00
|
|
|
Ecore_X_Randr_Crtc e_smart_monitor_crtc_get(Evas_Object *obj);
|
2013-02-19 02:56:40 -08:00
|
|
|
void e_smart_monitor_output_set(Evas_Object *obj, Ecore_X_Randr_Output output);
|
2013-02-19 02:57:41 -08:00
|
|
|
void e_smart_monitor_grid_set(Evas_Object *obj, Evas_Object *grid, Evas_Coord gx, Evas_Coord gy, Evas_Coord gw, Evas_Coord gh);
|
2013-02-19 02:58:57 -08:00
|
|
|
void e_smart_monitor_grid_virtual_size_set(Evas_Object *obj, Evas_Coord vw, Evas_Coord vh);
|
2013-02-19 02:56:54 -08:00
|
|
|
void e_smart_monitor_background_set(Evas_Object *obj, Evas_Coord dx, Evas_Coord dy);
|
2013-02-19 02:58:57 -08:00
|
|
|
void e_smart_monitor_current_geometry_set(Evas_Object *obj, Evas_Coord x, Evas_Coord y, Evas_Coord w, Evas_Coord h);
|
2013-02-19 03:01:18 -08:00
|
|
|
void e_smart_monitor_current_geometry_get(Evas_Object *obj, Evas_Coord *x, Evas_Coord *y, Evas_Coord *w, Evas_Coord *h);
|
2013-08-01 00:15:49 -07:00
|
|
|
void e_smart_monitor_previous_geometry_get(Evas_Object *obj, Evas_Coord *x, Evas_Coord *y, Evas_Coord *w, Evas_Coord *h);
|
2013-02-19 02:59:33 -08:00
|
|
|
void e_smart_monitor_clone_set(Evas_Object *obj, Evas_Object *parent);
|
2013-02-19 03:01:18 -08:00
|
|
|
Evas_Object *e_smart_monitor_clone_parent_get(Evas_Object *obj);
|
2013-02-19 03:00:00 -08:00
|
|
|
E_Smart_Monitor_Changes e_smart_monitor_changes_get(Evas_Object *obj);
|
|
|
|
Eina_Bool e_smart_monitor_changes_apply(Evas_Object *obj);
|
2013-05-24 05:05:41 -07:00
|
|
|
const char *e_smart_monitor_name_get(Evas_Object *obj);
|
|
|
|
Ecore_X_Randr_Output e_smart_monitor_output_get(Evas_Object *obj);
|
2013-08-02 03:03:49 -07:00
|
|
|
void e_smart_monitor_indicator_available_set(Evas_Object *obj, Eina_Bool available);
|
2013-02-19 02:55:25 -08:00
|
|
|
|
2013-02-19 02:55:07 -08:00
|
|
|
# endif
|
|
|
|
#endif
|