> More...
#include <mi32/inibase.h>#include <mi32/colorspc.h>#include <mi32/membuf.h>

Go to the source code of this file.
Classes | |
| struct | COLOR |
| Structure to contain single color specification with possible transparency. More... | |
Defines | |
| #define | CLASSLIBEXPORT MI_DLLCLASSIMPORT |
| #define | NUMSTDCOLORS 80 |
| #define | STD64STEP 21845 |
Enumerations | |
| enum | COLORMODEL { COLORMODEL_RGB = 0, COLORMODEL_CMY = 1, COLORMODEL_CMYK = 2, COLORMODEL_COUNT } |
Functions | |
| int | IniRead (INIHANDLE hdl, const char *group, const char *field, COLOR &value, const COLOR &dft) |
| int | IniRead (INIHANDLE hdl, const char *group, const char *field, COLOR &value) |
| int | IniWrite (INIHANDLE hdl, const char *group, const char *field, const COLOR &value) |
| bool | operator!= (const COLOR &lhs, const COLOR &rhs) |
| bool | operator== (const COLOR &lhs, const COLOR &rhs) |
| void | SwapBytes (COLOR &color) |
>
Definitions for COLOR structure and functions
| #define CLASSLIBEXPORT MI_DLLCLASSIMPORT |
| #define NUMSTDCOLORS 80 |
64 color + 16 gray
| #define STD64STEP 21845 |
Step value for creating 64 "standard" colors (65535 / 3).
| enum COLORMODEL |
| int IniRead | ( | INIHANDLE | hdl, | |
| const char * | group, | |||
| const char * | field, | |||
| COLOR & | value, | |||
| const COLOR & | dft | |||
| ) | [inline] |
Read 'COLOR' value from INI file with default.
Read 'COLOR' value from INI file.
| int IniWrite | ( | INIHANDLE | hdl, | |
| const char * | group, | |||
| const char * | field, | |||
| const COLOR & | value | |||
| ) | [inline] |
Write 'COLOR' value to INI file.
1.6.1