Functions | |
int | oyGetMonitorInfo (const char *display, char **manufacturer, char **model, char **serial, oyAllocFunc_t allocate_func) |
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, oyAllocFunc_t allocate_func) |
display name from position | |
char * | oyGetMonitorProfile (const char *display, size_t *size, oyAllocFunc_t allocate_func) |
get the monitor profile | |
char * | oyGetMonitorProfileName (const char *display, oyAllocFunc_t allocate_func) |
get the monitor profile filename | |
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 |
The notation of screens for the X Window system is equal for traditional and Xinerama screens.
int oyActivateMonitorProfiles | ( | const char * | display_name | ) |
activate the monitor using the stored configuration
display_name | the display string |
char* oyGetDisplayNameFromPosition | ( | const char * | display_name, | |
int | x, | |||
int | y, | |||
oyAllocFunc_t | allocate_func | |||
) |
display name from position
This function will hit exact results only with Xinerama.
raw_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 |
int oyGetMonitorInfo | ( | const char * | display, | |
char ** | manufacturer, | |||
char ** | model, | |||
char ** | serial, | |||
oyAllocFunc_t | allocate_func | |||
) |
pick up monitor information with Xlib
display | 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 |
char* oyGetMonitorProfile | ( | const char * | display, | |
size_t * | size, | |||
oyAllocFunc_t | allocate_func | |||
) |
get the monitor profile
display | the display string | |
[out] | size | the size of profile |
allocate_func | function used to allocate memory for the profile |
char* oyGetMonitorProfileName | ( | const char * | display, | |
oyAllocFunc_t | allocate_func | |||
) |
get the monitor profile filename
display | the display string | |
allocate_func | function used to allocate memory for the string |
int oyGetScreenFromPosition | ( | const char * | display_name, | |
int | x, | |||
int | y | |||
) |
screen number from position
This function will hit exact results only with Xinerama.
display_name | the display string | |
x | x position on screen | |
y | y position on screen |
int oySetMonitorProfile | ( | const char * | display_name, | |
const char * | profil_name | |||
) |
set the monitor profile by filename
display_name | the display string | |
profil_name | the file to use as monitor profile |