![]() |
Oyranos
0.9.7
Oyranos is a full featured Color Management System
|
Macros | |
#define | MONITOR_REGISTRATION_BASE OY_TOP_SHARED OY_SLASH OY_DOMAIN_STD OY_SLASH OY_TYPE_STD OY_SLASH "device" OY_SLASH "config.icc_profile.monitor." |
#define | _api8 catCMMfunc( CUPS, _api8 ) |
oyCMMapi8_s implementations More... | |
Functions | |
int | Configs_Modify (oyConfigs_s *devices, oyOptions_s *options) |
oyCMMapi8_s monitor manipulation More... | |
int | CMMMessageFuncSet (oyMessage_f message_func) |
API requirement. More... | |
void | ConfigsUsage (oyStruct_s *options) |
int | Configs_FromPattern (const char *registration, oyOptions_s *options, oyConfigs_s **s) |
oyCMMapi8_s monitors More... | |
int | Config_Rank (oyConfig_s *config) |
oyCMMapi8_s monitor check More... | |
const char * | GetText (const char *select, oyNAME_e type, oyStruct_s *context OY_UNUSED) |
Variables | |
oyCMMapi8_s_ | _api8 |
Monitor Device Node. More... | |
oyCMMui_s_ | _api8_ui |
Monitor Device Node UI. More... | |
oyCMM_s | _cmm_module |
Module Infos. More... | |
oyCMMapi8_s_ _api8 catCMMfunc( CUPS, _api8 ) |
oyCMMapi8_s implementations
CMM_NICK oyCMMapi8_s implementations.
Monitor Device Node.
@instance _api8
@instance _api8
oyCMMapi8_s implementations
@instance _api8
Referenced by Configs_FromPattern().
#define MONITOR_REGISTRATION_BASE OY_TOP_SHARED OY_SLASH OY_DOMAIN_STD OY_SLASH OY_TYPE_STD OY_SLASH "device" OY_SLASH "config.icc_profile.monitor." |
Common monitor registration base string
Dependent on your platform are different CMM_NICKs implemented. A few are "qarz" and "oyX1". They can be labeld as "native" in case the module fits to the primary platform displaying system.
int CMMMessageFuncSet | ( | oyMessage_f | message_func | ) |
API requirement.
@func CMMMessageFuncSet
int Config_Rank | ( | oyConfig_s * | config | ) |
oyCMMapi8_s monitor check
Function Config_Rank
[in] | config | the monitor device configuration |
int Configs_FromPattern | ( | const char * | registration, |
oyOptions_s * | options, | ||
oyConfigs_s ** | s | ||
) |
oyCMMapi8_s monitors
Function Configs_FromPattern
3.1 "list" call
3.1.1 iterate over all requested devices
3.1.2 tell the "device_name"
3.3 "setup" call; bring a profile to the device
3.4 "unset" call; clear a profile from a device
3.5 "help" call; display a help text
3.6 internal "add_meta" call; Embedd infos to ICC profile as meta tag. Might be moved to a oyCMMapi10_s object.
References _api8, ConfigsUsage(), oyConfigs_s::oyConfigs_New(), oyFilterRegistrationMatch(), oyOBJECT_CMM_API8_S, oyOptions_s::oyOptions_Count(), and oyOptions_s::oyOptions_FindString().
int Configs_Modify | ( | oyConfigs_s * | devices, |
oyOptions_s * | options | ||
) |
oyCMMapi8_s monitor manipulation
Function Configs_Modify
3.1 "list" call
3.1.1 iterate over all provided devices
3.1.2 get the "device_name"
3.1.3 tell the "device_rectangle" in a oyRectangle_s
3.1.4 tell the "icc_profile" in a oyProfile_s
Warn and return issue on not found profile.
3.1.5 construct a oyNAME_NAME string
3.1.6 add the rank scheme to combine properties
3.3 "setup" call; bring a profile to the device
3.1.1 iterate over all provided devices
3.1.2 get the "device_name"
3.4 "unset" call; clear a profile from a device
3.1.1 iterate over all provided devices
3.1.2 get the "device_name"
3.5 "help" call; display a help text
References _api8, ConfigsUsage(), oy_debug, oyConfig_s::oyConfig_Find(), oyConfig_s::oyConfig_FindString(), oyConfig_s::oyConfig_GetRegistration(), oyConfig_s::oyConfig_Release(), oyConfigs_s::oyConfigs_Count(), oyConfigs_s::oyConfigs_Get(), oyFilterRegistrationMatch(), oyOBJECT_CMM_API8_S, oyOption_s::oyOption_FromRegistration(), oyOptions_s::oyOptions_Count(), oyOptions_s::oyOptions_FindString(), and oyRectangle_s::oyRectangle_NewWith().
void ConfigsUsage | ( | oyStruct_s * | options | ) |
oyMSG_WARN shall make shure our message will be visible.
Referenced by Configs_FromPattern(), and Configs_Modify().
const char* GetText | ( | const char * | select, |
oyNAME_e | type, | ||
oyStruct_s *context | OY_UNUSED | ||
) |
This function implements oyCMMinfoGetText_f.
oyCMMapi8_s_ _api8 |
Monitor Device Node.
@instance _api8
oyCMMapi8_s implementations
Referenced by Configs_FromPattern(), and Configs_Modify().
oyCMMui_s_ _api8_ui |
Monitor Device Node UI.
@instance _api8_ui
oyCMMapi8_s::ui implementation
The UI for Monitor devices.
oyCMM_s _cmm_module |
Module Infos.
@instance _cmm_module