Hardware detection and profile selection for monitors. More...
Functions | |
| int | oyGetMonitorInfo (const char *display_name, char **manufacturer, char **model, char **serial, oyAlloc_f allocate_func) |
| brief pick up monitor information with Xlib | |
| int | oyGetScreenFromPosition (const char *display_name, int x, int y) |
| screen number from position | |
| char * | oyGetDisplayNameFromPosition (const char *display_name, int x, int y, oyAlloc_f allocate_func) |
| display name from position | |
| char * | oyGetMonitorProfile (const char *display_name, size_t *size, oyAlloc_f allocate_func) |
| get the monitor profile from the server | |
| char * | oyGetMonitorProfileNameFromDB (const char *display_name, oyAlloc_f allocate_func) |
| get the monitor profile filename from the device profile database | |
| int | oySetMonitorProfile (const char *display_name, const char *profil_name) |
| set the monitor profile by filename | |
| int | oyActivateMonitorProfiles (const char *display_name) |
| activate the monitor using the stored configuration | |
Hardware detection and profile selection for monitors.
The notation of screens for the X Window system is equal for traditional and Xinerama screens.
The X11 libraries will be loaded at runtime.
| int oyActivateMonitorProfiles | ( | const char * | display_name | ) |
activate the monitor using the stored configuration
Function: oyActivateMonitorProfiles Activate in case the appropriate profile is not yet setup in the server.
| display_name | the display string |
References oyOBJECT_CMM_API2_S.
| char* oyGetDisplayNameFromPosition | ( | const char * | display_name, | |
| int | x, | |||
| int | y, | |||
| oyAlloc_f | allocate_func | |||
| ) |
display name from position
Function: oyGetDisplayNameFromPosition This function will hit exact results only with Xinerama.
| display_name | raw display string | |
| x | x position on screen | |
| y | y position on screen | |
| allocate_func | function used to allocate memory for the string |
References oyOBJECT_CMM_API2_S.
| int oyGetMonitorInfo | ( | const char * | display_name, | |
| char ** | manufacturer, | |||
| char ** | model, | |||
| char ** | serial, | |||
| oyAlloc_f | allocate_func | |||
| ) |
brief pick up monitor information with Xlib
Function: oyGetMonitorInfo
| display_name | the display string | |
| [out] | manufacturer | the manufacturer of the monitor device |
| [out] | model | the model of the monitor device |
| [out] | serial | the serial number of the monitor device |
| allocate_func | the allocator for the above strings |
References oyOBJECT_CMM_API2_S.
| char* oyGetMonitorProfile | ( | const char * | display_name, | |
| size_t * | size, | |||
| oyAlloc_f | allocate_func | |||
| ) |
get the monitor profile from the server
Function: oyGetMonitorProfile
| display_name | the display string | |
| [out] | size | the size of profile |
| allocate_func | function used to allocate memory for the profile |
References oyOBJECT_CMM_API2_S.
| char* oyGetMonitorProfileNameFromDB | ( | const char * | display_name, | |
| oyAlloc_f | allocate_func | |||
| ) |
get the monitor profile filename from the device profile database
Function: oyGetMonitorProfileNameFromDB
| display_name | the display string | |
| allocate_func | function used to allocate memory for the string |
References oyOBJECT_CMM_API2_S.
| int oyGetScreenFromPosition | ( | const char * | display_name, | |
| int | x, | |||
| int | y | |||
| ) |
screen number from position
Function: oyGetScreenFromPosition This function will hit exact results only with Xinerama.
a platform specific function
| display_name | the display string | |
| x | x position on screen | |
| y | y position on screen |
References oyOBJECT_CMM_API2_S.
| int oySetMonitorProfile | ( | const char * | display_name, | |
| const char * | profil_name | |||
| ) |
set the monitor profile by filename
Function: oySetMonitorProfile
| display_name | the display string | |
| profil_name | the file to use as monitor profile or 0 to unset |
References oyOBJECT_CMM_API2_S.
1.6.1