mirror of
https://github.com/brl/mutter.git
synced 2024-11-26 10:00:45 -05:00
monitor-manager: Cleanup class struct
It was wierdly formatted, missed argument variable names, didn't use stdint types. Clean this up a bit. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1689>
This commit is contained in:
parent
0e9a92a429
commit
e41a0e47dc
@ -199,68 +199,68 @@ struct _MetaMonitorManagerClass
|
|||||||
{
|
{
|
||||||
MetaDBusDisplayConfigSkeletonClass parent_class;
|
MetaDBusDisplayConfigSkeletonClass parent_class;
|
||||||
|
|
||||||
GBytes* (*read_edid) (MetaMonitorManager *,
|
GBytes * (* read_edid) (MetaMonitorManager *manager,
|
||||||
MetaOutput *);
|
MetaOutput *output);
|
||||||
|
|
||||||
void (*read_current_state) (MetaMonitorManager *);
|
void (* read_current_state) (MetaMonitorManager *manager);
|
||||||
|
|
||||||
void (*ensure_initial_config) (MetaMonitorManager *);
|
void (* ensure_initial_config) (MetaMonitorManager *manager);
|
||||||
|
|
||||||
gboolean (*apply_monitors_config) (MetaMonitorManager *,
|
gboolean (* apply_monitors_config) (MetaMonitorManager *manager,
|
||||||
MetaMonitorsConfig *,
|
MetaMonitorsConfig *config,
|
||||||
MetaMonitorsConfigMethod ,
|
MetaMonitorsConfigMethod method,
|
||||||
GError **);
|
GError **error);
|
||||||
|
|
||||||
void (*set_power_save_mode) (MetaMonitorManager *,
|
void (* set_power_save_mode) (MetaMonitorManager *manager,
|
||||||
MetaPowerSave);
|
MetaPowerSave power_save);
|
||||||
|
|
||||||
void (*change_backlight) (MetaMonitorManager *,
|
void (* change_backlight) (MetaMonitorManager *manager,
|
||||||
MetaOutput *,
|
MetaOutput *output,
|
||||||
int);
|
int backlight);
|
||||||
|
|
||||||
void (*get_crtc_gamma) (MetaMonitorManager *,
|
void (* get_crtc_gamma) (MetaMonitorManager *manager,
|
||||||
MetaCrtc *,
|
MetaCrtc *crtc,
|
||||||
gsize *,
|
size_t *size,
|
||||||
unsigned short **,
|
unsigned short **red,
|
||||||
unsigned short **,
|
unsigned short **green,
|
||||||
unsigned short **);
|
unsigned short **blue);
|
||||||
void (*set_crtc_gamma) (MetaMonitorManager *,
|
void (* set_crtc_gamma) (MetaMonitorManager *manager,
|
||||||
MetaCrtc *,
|
MetaCrtc *crtc,
|
||||||
gsize ,
|
size_t size,
|
||||||
unsigned short *,
|
unsigned short *red,
|
||||||
unsigned short *,
|
unsigned short *green,
|
||||||
unsigned short *);
|
unsigned short *blue);
|
||||||
|
|
||||||
void (*tiled_monitor_added) (MetaMonitorManager *,
|
void (* tiled_monitor_added) (MetaMonitorManager *manager,
|
||||||
MetaMonitor *);
|
MetaMonitor *monitor);
|
||||||
|
|
||||||
void (*tiled_monitor_removed) (MetaMonitorManager *,
|
void (* tiled_monitor_removed) (MetaMonitorManager *manager,
|
||||||
MetaMonitor *);
|
MetaMonitor *monitor);
|
||||||
|
|
||||||
gboolean (*is_transform_handled) (MetaMonitorManager *,
|
gboolean (* is_transform_handled) (MetaMonitorManager *manager,
|
||||||
MetaCrtc *,
|
MetaCrtc *crtc,
|
||||||
MetaMonitorTransform);
|
MetaMonitorTransform transform);
|
||||||
|
|
||||||
float (*calculate_monitor_mode_scale) (MetaMonitorManager *,
|
float (* calculate_monitor_mode_scale) (MetaMonitorManager *manager,
|
||||||
MetaMonitor *,
|
MetaMonitor *monitor,
|
||||||
MetaMonitorMode *);
|
MetaMonitorMode *monitor_mode);
|
||||||
|
|
||||||
float * (*calculate_supported_scales) (MetaMonitorManager *,
|
float * (* calculate_supported_scales) (MetaMonitorManager *manager,
|
||||||
MetaLogicalMonitorLayoutMode ,
|
MetaLogicalMonitorLayoutMode layout_mode,
|
||||||
MetaMonitor *,
|
MetaMonitor *monitor,
|
||||||
MetaMonitorMode *,
|
MetaMonitorMode *monitor_mode,
|
||||||
int *);
|
int *n_supported_scales);
|
||||||
|
|
||||||
MetaMonitorManagerCapability (*get_capabilities) (MetaMonitorManager *);
|
MetaMonitorManagerCapability (* get_capabilities) (MetaMonitorManager *manager);
|
||||||
|
|
||||||
gboolean (*get_max_screen_size) (MetaMonitorManager *,
|
gboolean (* get_max_screen_size) (MetaMonitorManager *manager,
|
||||||
int *,
|
int *width,
|
||||||
int *);
|
int *height);
|
||||||
|
|
||||||
MetaLogicalMonitorLayoutMode (*get_default_layout_mode) (MetaMonitorManager *);
|
MetaLogicalMonitorLayoutMode (* get_default_layout_mode) (MetaMonitorManager *manager);
|
||||||
|
|
||||||
void (*set_output_ctm) (MetaOutput *,
|
void (* set_output_ctm) (MetaOutput *output,
|
||||||
const MetaOutputCtm *);
|
const MetaOutputCtm *ctm);
|
||||||
};
|
};
|
||||||
|
|
||||||
META_EXPORT_TEST
|
META_EXPORT_TEST
|
||||||
|
Loading…
Reference in New Issue
Block a user