![]() |
Oyranos Colour Management System API |
The API header for general users to include in your application. More...
#include <stdlib.h>
#include <inttypes.h>
#include "oyranos_definitions.h"
#include "oyranos_version.h"
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 Colour Management System
#define OY_LAYOUT_NO_CHOICES 0x01 |
layout flags for widgets
#define oyDEFAULT_PROFILE oyPROFILE_e |
typedef void*(* oyAlloc_f)(size_t size) |
[in] | size | the size to allocate |
Place here your allocator, like:
void* myAllocFunc (size_t size) { return malloc (size); }
typedef void(* oyDeAlloc_f)(void *data) |
[in] | data | the pointer to free |
Place here your deallocator, like:
void* myDeAllocFunc (void *data) { return free (data); }
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
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 |
int oyMessageFuncSet | ( | oyMessage_f | message_func | ) |
oyMessageFuncSet
const char* oy_domain_codeset |
codeset for Oyranos
set here the codeset part, e.g. "UTF-8", which shall be delivered from Oyranos string translations. Set this variable before any call to Oyranos. The environment variable OY_LOCALEDIR overrides the static inbuild OY_LOCALEDIR macro defined in config.h . OY_LOCALEDIR should match a corresponding $prefix/share/locale path.