![]() |
Oyranos Color Management System API |
The API header for general users to include in your application. More...
Namespaces | |
oyranos | |
The Oyranos namespace. | |
Macros | |
#define | oyDEFAULT_PROFILE oyPROFILE_e |
#define | OY_LAYOUT_NO_CHOICES 0x01 /**!< show informational */ |
layout flags for widgets More... | |
Functions | |
int | oyGetBehaviour (oyBEHAVIOUR_e type) |
int | oySetBehaviour (oyBEHAVIOUR_e type, int choice) |
int | oyPolicySaveActual (oyGROUP_e group, const char *name) |
save a options group to a file More... | |
char * | oyPolicyToXML (oyGROUP_e group, int add_header, oyAlloc_f alloc_func) |
int | oyReadXMLPolicy (oyGROUP_e group, const char *xml) |
int | oyPolicySet (const char *policy, const char *full_name) |
int | oyPolicyFileNameGet (const char *policy_name, char **full_name, oyAlloc_f allocateFunc) |
resolve the file name of a policy More... | |
char * | oyGetPathFromProfileName (const char *profile_name, oyAlloc_f) |
int | oySetDefaultProfile (oyPROFILE_e type, const char *file_name) |
int | oySetDefaultProfileBlock (oyPROFILE_e type, const char *file_name, void *mem, size_t size) |
char * | oyGetDefaultProfileName (oyPROFILE_e type, oyAlloc_f alloc_func) |
char ** | oyProfileListGet (const char *colorsig, uint32_t *size, oyAlloc_f allocateFunc) |
get a list of profile filenames More... | |
int | oyCheckProfile (const char *name, const char *unused) |
check an file if it is a profile More... | |
int | oyCheckProfileMem (const void *mem, size_t size, const char *unused) |
check an memory block if it is a profile More... | |
size_t | oyGetProfileSize (const char *profilename) |
get the profiles size More... | |
void * | oyGetProfileBlock (const char *profilename, size_t *size, oyAlloc_f alloc_func) |
obtain an memory block in the responsibility of the user More... | |
oyWIDGET_e * | oyWidgetListGet (oyGROUP_e group, int *count, oyAlloc_f allocate_func) |
all widgets of a group More... | |
oyWIDGET_TYPE_e | oyWidgetTitleGet (oyWIDGET_e option, const oyGROUP_e **categories, const char **name, const char **tooltip, int *flags) |
Get a special Options UI strings. More... | |
int | oyOptionChoicesGet (oyWIDGET_e option, int *choices, const char ***choices_string_list, int *current) |
Get a Options choices UI strings. More... | |
void | oyOptionChoicesFree (oyWIDGET_e option, char ***list, int size) |
delete list of choices from a option More... | |
int | oyProfileGetMD5 (void *buffer, size_t size, unsigned char *md5_return) |
calculate a md5 digest beginning after the header offset More... | |
The API header for general users to include in your application.
public Oyranos API's
This file contains all functions and structs available in the Oyranos API.
For further macros see
Oyranos is an open source Color Management System
#define OY_LAYOUT_NO_CHOICES 0x01 /**!< show informational */ |
layout flags for widgets
#define oyDEFAULT_PROFILE oyPROFILE_e |
enum oyBEHAVIOUR_e |
Behaviour settings.
possibly include the default profiles here
enum oyGROUP_e |
Widget Groups.
enum oyPROFILE_e |
Default Profiles.
enum oyWIDGET_e |
options for UI presentation, covering all kind of settings
enum oyWIDGET_TYPE_e |
type of widget
Enumerator | |
---|---|
oyWIDGETTYPE_BEHAVIOUR |
!< group creating a new visibility (tab, leave) |
oyWIDGETTYPE_INT |
!< select a profile through a list widget |
oyWIDGETTYPE_FLOAT |
!< TODO
|
oyWIDGETTYPE_CHOICE |
!< IEEE floating point number |
oyWIDGETTYPE_LIST |
!< option from a array of choices |
oyWIDGETTYPE_VOID |
!< list widget, like for paths |
oyWIDGETTYPE_END |
!< data block, should not be selectable |