20 lines
492 B
C
20 lines
492 B
C
#ifndef PAI_FRAME_BASECOLOR__H
|
|
#define PAI_FRAME_BASECOLOR__H
|
|
|
|
#define COLOR_MODE 0
|
|
#define GRAY_MODE 1
|
|
#define MONO_MODE 2
|
|
#define DEFAULT_COLOR 0
|
|
#define USER_DEFINE_COLOR 1
|
|
|
|
#include "BaseFunExport.h"
|
|
#include <QColor>
|
|
struct BASEFUN_EXPORT ColorMessage
|
|
{
|
|
int ColorNum; //颜色级数
|
|
int Mode; //调色方式
|
|
QColor Color[256]; //定义颜色数组
|
|
};
|
|
int BASEFUN_EXPORT GetVDLDefaultColor(QColor *crColor,int nColorNum,int iMode);
|
|
#endif PAI_FRAME_BASECOLOR__H
|