⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 color.h

📁 一个内存数据库的源代码这是服务器端还有客户端
💻 H
字号:
#ifndef _COLOR_H#define _COLOR_Htypedef unsigned int color;#ifdef WIN32#ifndef LIBCOLOR#define color_export extern __declspec(dllimport)#else#define color_export extern __declspec(dllexport)#endif#else#define color_export extern#endifcolor_export str CLRstr(str *val, color *c);color_export str CLRcolor(color *c, str *val);color_export str CLRred(int *r, color *c);color_export str CLRgreen(int *g, color *c);color_export str CLRblue(int *b, color *c);color_export str CLRhue(flt *r, color *c);color_export str CLRsaturation(flt *g, color *c);color_export str CLRvalue(flt *b, color *c);color_export str CLRhueInt(int *r, color *c);color_export str CLRsaturationInt(int *g, color *c);color_export str CLRvalueInt(int *b, color *c);color_export str CLRluminance(int *r, color *c);color_export str CLRcr(int *r, color *c);color_export str CLRcb(int *g, color *c);color_export str CLRhsv(color *c, flt *h, flt *s, flt *v);color_export str CLRrgb(color *rgb, int *r, int *g, int *b);color_export str CLRycc(color *c, int *y, int *cr, int *cb);color_export int color_fromstr(char *colorStr, int *len, color **c);color_export int color_tostr(char **colorStr, int *len, color *c);color_export str CLRprintf(int *ret, color *c);color_export str CLRprintf2(int *ret, str *form, color *c);#define color_nil ((color)int_nil)#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -