Oyranos  0.9.7
Oyranos is a full featured Color Management System
Macros | Functions | Variables
Collaboration diagram for disp Module(s):

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...
 

Detailed Description

Macro Definition Documentation

oyCMMapi8_s_ _api8   catCMMfunc( CUPS, _api8 )

oyCMMapi8_s implementations

CMM_NICK oyCMMapi8_s implementations.

Monitor Device Node.

_api8

Version
Oyranos: 0.1.10
Since
2009/01/19 (Oyranos: 0.1.10)
Date
2009/12/22

_api8 oyCMMapi8_s implementations

Version
Oyranos: 0.1.13
Since
2009/01/19 (Oyranos: 0.1.10)
Date
2010/12/09

_api8

Version
Oyranos: 0.1.10
Since
2009/01/19 (Oyranos: 0.1.10)
Date
2009/12/28

Referenced by Configs_FromPattern(), Configs_Modify(), and ConfigsFromPatternUsage().

#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.

Function Documentation

int CMMMessageFuncSet ( oyMessage_f  message_func)

API requirement.

CMMMessageFuncSet

Version
Oyranos: 0.1.8
Date
2007/12/12
Since
2007/12/12 (Oyranos: 0.1.8)
int Config_Rank ( oyConfig_s config)

oyCMMapi8_s monitor check

Function Config_Rank

Parameters
[in]configthe monitor device configuration
Returns
rank value
Version
Oyranos: 0.1.10
Date
2009/01/26
Since
2009/01/26 (Oyranos: 0.1.10)

References GetText(), oyNAME_NAME, and oyNAME_NICK.

int Configs_FromPattern ( const char *  registration,
oyOptions_s options,
oyConfigs_s **  s 
)

oyCMMapi8_s monitors

Function Configs_FromPattern

Version
Oyranos: 0.1.10
Since
2009/01/19 (Oyranos: 0.1.10)
Date
2009/01/28
  1. In case no option is provided or something fails, show a message.
  2. obtain a proper device_name
  3. handle the actual call

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, Configs_Modify(), ConfigsUsage(), OY_CREATE_NEW, oy_debug, OY_SLASH, oyBlob_s::oyBlob_GetPointer(), oyBlob_s::oyBlob_GetSize(), oyConfig_s::oyConfig_FromRegistration(), oyConfig_s::oyConfig_GetOptions(), oyConfig_s::oyConfig_GetRankMap(), oyConfig_s::oyConfig_SetRankMap(), oyConfigs_s::oyConfigs_Count(), oyConfigs_s::oyConfigs_MoveIn(), oyConfigs_s::oyConfigs_New(), oyFilterRegistrationMatch(), oyNAME_NICK, oyOBJECT_BLOB_S, oyOBJECT_CMM_API8_S, oyOBJECT_PROFILE_S, oyOptions_s::oyOptions_Count(), oyOptions_s::oyOptions_FindString(), oyOptions_s::oyOptions_GetText(), oyOptions_s::oyOptions_GetType(), oyOptions_s::oyOptions_Release(), oyOptions_s::oyOptions_SetFromString(), oyProfile_s::oyProfile_AddDevice(), oyProfile_s::oyProfile_FromName(), oyProfile_s::oyProfile_GetFileName(), oyProfile_s::oyProfile_GetMem(), oyProfile_s::oyProfile_GetSize(), and oyProfile_s::oyProfile_Release().

int Configs_Modify ( oyConfigs_s devices,
oyOptions_s options 
)

oyCMMapi8_s monitor manipulation

Function Configs_Modify

Version
Oyranos: 0.1.10
Since
2009/01/19 (Oyranos: 0.1.10)
Date
2009/08/21
  1. In case no option is provided or something fails, show a message.
  2. handle the actual call

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_CREATE_NEW, oy_debug, OY_SLASH, OY_SLASH_C, OY_TYPE_STD, oyConfig_s::oyConfig_Find(), oyConfig_s::oyConfig_FindString(), oyConfig_s::oyConfig_GetOptions(), oyConfig_s::oyConfig_GetRankMap(), oyConfig_s::oyConfig_GetRegistration(), oyConfig_s::oyConfig_Release(), oyConfig_s::oyConfig_SetRankMap(), oyConfigs_s::oyConfigs_Count(), oyConfigs_s::oyConfigs_Get(), oyFilterRegistrationMatch(), oyNAME_DESCRIPTION, oyNAME_NICK, oyNAME_PATTERN, oyOBJECT_CMM_API8_S, oyOBJECT_PROFILE_S, oyOBJECT_RECTANGLE_S, oyOption_s::oyOption_Copy(), oyOption_s::oyOption_FromRegistration(), oyOption_s::oyOption_GetStruct(), oyOption_s::oyOption_MoveInStruct(), oyOption_s::oyOption_Release(), oyOptions_s::oyOptions_Count(), oyOptions_s::oyOptions_Find(), oyOptions_s::oyOptions_FindInt(), oyOptions_s::oyOptions_FindString(), oyOptions_s::oyOptions_GetText(), oyOptions_s::oyOptions_GetType(), oyOptions_s::oyOptions_Handle(), oyOptions_s::oyOptions_MoveIn(), oyOptions_s::oyOptions_New(), oyOptions_s::oyOptions_Release(), oyOptions_s::oyOptions_Set(), oyOptions_s::oyOptions_SetFromInt(), oyOptions_s::oyOptions_SetFromString(), oyProfile_s::oyProfile_AddDevice(), oyProfile_s::oyProfile_AddTagText(), oyProfile_s::oyProfile_FromMem(), oyProfile_s::oyProfile_FromName(), oyProfile_s::oyProfile_GetFileName(), oyProfile_s::oyProfile_GetMem(), oyProfile_s::oyProfile_GetSignature(), oyProfile_s::oyProfile_GetSize(), oyProfile_s::oyProfile_GetText(), oyProfile_s::oyProfile_Release(), oyRectangle_s::oyRectangle_NewWith(), oyRectangle_s::oyRectangle_Show(), and oySIGNATURE_MAGIC.

Referenced by Configs_FromPattern().

void ConfigsUsage ( oyStruct_s options)
const char* GetText ( const char *  select,
oyNAME_e  type,
oyStruct_s *context  OY_UNUSED 
)

This function implements oyCMMinfoGetText_f.

Version
Oyranos: 0.1.10
Since
2008/12/23 (Oyranos: 0.1.10)
Date
2008/12/30

References oyNAME_NAME, and oyNAME_NICK.

Referenced by Config_Rank().

Variable Documentation

oyCMMapi8_s_ _api8
Initial value:
= {
0,0,0,
next_api,
CMMInit,
MONITOR_REGISTRATION,
CMM_VERSION,
CMM_API_VERSION,
0,
0,
0,
&_api8_icon,
NULL
}
int Configs_FromPattern(const char *registration, oyOptions_s *options, oyConfigs_s **s)
oyCMMapi8_s monitors
Definition: oyranos_cmm_disp.c:358
int Configs_Modify(oyConfigs_s *devices, oyOptions_s *options)
oyCMMapi8_s monitor manipulation
Definition: oyranos_cmm_disp.c:618
The CMM API UI part.
Definition: oyCMMui_s.h:87
Definition: oyranos_object.h:173
oyCMMui_s_ _api8_ui
Monitor Device Node UI.
Definition: oyranos_cmm_disp.c:1269
int Config_Rank(oyConfig_s *config)
oyCMMapi8_s monitor check
Definition: oyranos_cmm_disp.c:1187
int CMMMessageFuncSet(oyMessage_f message_func)
API requirement.
Definition: oyranos_cmm_disp.c:117

Monitor Device Node.

_api8 oyCMMapi8_s implementations

Version
Oyranos: 0.1.13
Since
2009/01/19 (Oyranos: 0.1.10)
Date
2010/12/09

Referenced by Configs_FromPattern(), and Configs_Modify().

oyCMMui_s_ _api8_ui
Initial value:
= {
0,0,0,
CMM_VERSION,
CMM_API_VERSION,
0,
0,
"Color/Device/Monitor",
0,
0,
Api8UiGetText,
_api8_ui_texts,
}
Definition: oyranos_object.h:172
oyCMMapi8_s_ _api8
Monitor Device Node.
Definition: oyranos_cmm_disp.c:1301
the module API 4,6,7 interface base
Definition: oyCMMapiFilter_s.h:66

Monitor Device Node UI.

_api8_ui oyCMMapi8_s::ui implementation

The UI for Monitor devices.

Version
Oyranos: 0.1.10
Since
2009/12/14 (Oyranos: 0.1.10)
Date
2009/12/16
oyCMM_s _cmm_module
Initial value:
= {
0,0,0,
CMM_NICK,
"0.9",
(char**)_texts,
&_api8_icon,
NULL
}
oyCMMapi8_s_ _api8
Monitor Device Node.
Definition: oyranos_cmm_disp.c:1301
the basic API interface
Definition: oyCMMapi_s.h:88
#define OYRANOS_VERSION
Definition: oyranos_version.h:11
const char * GetText(const char *select, oyNAME_e type, oyStruct_s *context OY_UNUSED)
Definition: oyranos_cmm_disp.c:1337
Definition: oyranos_object.h:161

Module Infos.

_cmm_module

Version
Oyranos: 0.1.10
Since
2007/12/12 (Oyranos: 0.1.8)
Date
2008/12/30