forked from enlightenment/enlightenment
E (RandR): Add function prototype to get any changes from the monitor.
Add enum so that we can keep track of exactly what has changed. Signed-off-by: Christopher Michael <cp.michael@samsung.com> SVN revision: 77869
This commit is contained in:
parent
f4cc7d989d
commit
21bf9173f5
|
@ -2,6 +2,19 @@
|
||||||
#else
|
#else
|
||||||
# ifndef E_SMART_MONITOR_H
|
# ifndef E_SMART_MONITOR_H
|
||||||
|
|
||||||
|
typedef enum _E_Smart_Monitor_Changes E_Smart_Monitor_Changes;
|
||||||
|
enum _E_Smart_Monitor_Changes
|
||||||
|
{
|
||||||
|
E_SMART_MONITOR_CHANGED_NONE = 0,
|
||||||
|
E_SMART_MONITOR_CHANGED_CRTC = (1 << 0),
|
||||||
|
E_SMART_MONITOR_CHANGED_MODE = (1 << 1),
|
||||||
|
E_SMART_MONITOR_CHANGED_POSITION = (1 << 2),
|
||||||
|
E_SMART_MONITOR_CHANGED_ROTATION = (1 << 3),
|
||||||
|
E_SMART_MONITOR_CHANGED_REFRESH = (1 << 4),
|
||||||
|
E_SMART_MONITOR_CHANGED_RESOLUTION = (1 << 5),
|
||||||
|
E_SMART_MONITOR_CHANGED_ENABLED = (1 << 6)
|
||||||
|
};
|
||||||
|
|
||||||
Evas_Object *e_smart_monitor_add(Evas *evas);
|
Evas_Object *e_smart_monitor_add(Evas *evas);
|
||||||
void e_smart_monitor_layout_set(Evas_Object *obj, Evas_Object *layout);
|
void e_smart_monitor_layout_set(Evas_Object *obj, Evas_Object *layout);
|
||||||
void e_smart_monitor_info_set(Evas_Object *obj, E_Randr_Output_Info *output, E_Randr_Crtc_Info *crtc);
|
void e_smart_monitor_info_set(Evas_Object *obj, E_Randr_Output_Info *output, E_Randr_Crtc_Info *crtc);
|
||||||
|
@ -9,12 +22,16 @@ E_Randr_Crtc_Info *e_smart_monitor_crtc_get(Evas_Object *obj);
|
||||||
E_Randr_Output_Info *e_smart_monitor_output_get(Evas_Object *obj);
|
E_Randr_Output_Info *e_smart_monitor_output_get(Evas_Object *obj);
|
||||||
void e_smart_monitor_crtc_geometry_get(Evas_Object *obj, Evas_Coord *x, Evas_Coord *y, Evas_Coord *w, Evas_Coord *h);
|
void e_smart_monitor_crtc_geometry_get(Evas_Object *obj, Evas_Coord *x, Evas_Coord *y, Evas_Coord *w, Evas_Coord *h);
|
||||||
void e_smart_monitor_move_geometry_get(Evas_Object *obj, Evas_Coord *x, Evas_Coord *y, Evas_Coord *w, Evas_Coord *h);
|
void e_smart_monitor_move_geometry_get(Evas_Object *obj, Evas_Coord *x, Evas_Coord *y, Evas_Coord *w, Evas_Coord *h);
|
||||||
|
Eina_Bool e_smart_monitor_changed_get(Evas_Object *obj);
|
||||||
|
E_Smart_Monitor_Changes e_smart_monitor_changes_get(Evas_Object *obj);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Eina_Bool e_smart_monitor_moving_get(Evas_Object *obj);
|
Eina_Bool e_smart_monitor_moving_get(Evas_Object *obj);
|
||||||
void e_smart_monitor_position_get(Evas_Object *obj, Evas_Coord *x, Evas_Coord *y);
|
void e_smart_monitor_position_get(Evas_Object *obj, Evas_Coord *x, Evas_Coord *y);
|
||||||
Ecore_X_Randr_Orientation e_smart_monitor_orientation_get(Evas_Object *obj);
|
Ecore_X_Randr_Orientation e_smart_monitor_orientation_get(Evas_Object *obj);
|
||||||
Ecore_X_Randr_Mode_Info *e_smart_monitor_mode_get(Evas_Object *obj);
|
Ecore_X_Randr_Mode_Info *e_smart_monitor_mode_get(Evas_Object *obj);
|
||||||
Eina_Bool e_smart_monitor_connected_get(Evas_Object *obj);
|
Eina_Bool e_smart_monitor_enabled_get(Evas_Object *obj);
|
||||||
Eina_Bool e_smart_monitor_changed_get(Evas_Object *obj);
|
|
||||||
|
|
||||||
# define E_SMART_MONITOR_H
|
# define E_SMART_MONITOR_H
|
||||||
# endif
|
# endif
|
||||||
|
|
Loading…
Reference in New Issue