2011-11-05 23:41:39 -07:00
|
|
|
#ifdef E_TYPEDEFS
|
|
|
|
#else
|
|
|
|
#ifndef E_INT_CONFIG_RANDR_H
|
|
|
|
#define E_INT_CONFIG_RANDR_H
|
|
|
|
|
|
|
|
#include "e.h"
|
|
|
|
|
|
|
|
typedef struct _E_Config_Randr_Dialog_Output_Dialog_Data E_Config_Randr_Dialog_Output_Dialog_Data;
|
|
|
|
typedef struct _E_Config_Randr_Dialog_Confirmation_Dialog_Data E_Config_Randr_Dialog_Confirmation_Dialog_Data;
|
2011-12-20 17:23:16 -08:00
|
|
|
typedef struct _Config Config;
|
2011-11-05 23:41:39 -07:00
|
|
|
|
|
|
|
struct _E_Config_Dialog_Data
|
|
|
|
{
|
|
|
|
E_Config_Dialog *cfd;
|
|
|
|
|
|
|
|
//list of E_Config_Randr_Dialog_Output_Dialog_Data
|
|
|
|
Eina_List *output_dialog_data_list;
|
|
|
|
E_Manager *manager;
|
|
|
|
struct {
|
2011-12-20 17:23:16 -08:00
|
|
|
Evas *canvas;
|
2011-11-05 23:41:39 -07:00
|
|
|
Evas_Object *dialog, *widget_list, *selected_eo;
|
|
|
|
E_Config_Randr_Dialog_Output_Dialog_Data *selected_output_dd;
|
|
|
|
E_Config_Randr_Dialog_Confirmation_Dialog_Data *confirmation_dialog;
|
|
|
|
struct {
|
|
|
|
struct {
|
2011-12-20 17:23:16 -08:00
|
|
|
Evas_Object *dialog, *widget_list, *swallowing_edje, *smart_parent, *suggestion, *clipper, *check_display_disabled_outputs;
|
2011-11-05 23:41:39 -07:00
|
|
|
Evas_Coord_Point previous_pos, relative_zero;
|
2011-11-18 00:07:48 -08:00
|
|
|
Evas_Coord_Rectangle disabled_output_size;
|
2011-12-20 17:23:16 -08:00
|
|
|
int suggestion_dist_min, check_val_display_disabled_outputs;
|
2011-11-05 23:41:39 -07:00
|
|
|
} arrangement;
|
|
|
|
struct {
|
|
|
|
Evas_Object *dialog;
|
|
|
|
//Evas_Object *swallowing_edje;
|
|
|
|
Evas_Object *radio_above, *radio_right, *radio_below, *radio_left, *radio_clone, *radio_none;
|
|
|
|
int radio_val;
|
|
|
|
//Evas_Object *current_displays_setup, *current_displays_setup_background, *new_display, *new_display_background;
|
|
|
|
} policies;
|
|
|
|
struct {
|
|
|
|
Evas_Object *dialog;
|
|
|
|
} resolutions;
|
|
|
|
struct {
|
|
|
|
Evas_Object *dialog;
|
|
|
|
//Evas_Object *swallowing_edje;
|
|
|
|
Evas_Object *radio_normal, *radio_rot90, *radio_rot180, *radio_rot270, *radio_reflect_horizontal, *radio_reflect_vertical;
|
|
|
|
int radio_val;
|
|
|
|
} orientation;
|
|
|
|
} subdialogs;
|
|
|
|
} gui;
|
|
|
|
Ecore_X_Randr_Screen_Size screen_size;
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
struct _E_Config_Randr_Dialog_Output_Dialog_Data
|
|
|
|
{
|
|
|
|
E_Randr_Crtc_Info *crtc;
|
|
|
|
E_Randr_Output_Info *output;
|
|
|
|
Evas_Coord_Point previous_pos, new_pos;
|
|
|
|
Ecore_X_Randr_Mode_Info *previous_mode, *new_mode, *preferred_mode;
|
|
|
|
Ecore_X_Randr_Orientation previous_orientation, new_orientation;
|
|
|
|
Ecore_X_Randr_Output_Policy previous_policy, new_policy;
|
|
|
|
Evas_Object *bg;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct _E_Config_Randr_Dialog_Confirmation_Dialog_Data
|
|
|
|
{
|
|
|
|
E_Config_Dialog *cfd;
|
|
|
|
E_Config_Dialog_Data *cfdata;
|
|
|
|
E_Dialog *dialog;
|
|
|
|
Ecore_Timer *timer;
|
|
|
|
int countdown;
|
|
|
|
};
|
|
|
|
|
2011-12-20 17:23:16 -08:00
|
|
|
struct _Config
|
|
|
|
{
|
|
|
|
Eina_Bool display_disabled_outputs;
|
|
|
|
};
|
|
|
|
|
2011-11-05 23:41:39 -07:00
|
|
|
E_Config_Dialog *e_int_config_randr(E_Container *con, const char *params __UNUSED__);
|
|
|
|
|
|
|
|
#endif
|
|
|
|
#endif
|