You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
689 B
C++
27 lines
689 B
C++
#pragma once
|
|
#include "LabVecRang.h"
|
|
|
|
//笔参数
|
|
class CPenPar
|
|
{
|
|
public:
|
|
CPenPar(void);
|
|
~CPenPar(void);
|
|
CPenPar operator=(CPenPar rls);
|
|
void WriteWorkFile(vector<CLab> &LabVec);
|
|
void ReadWorkFile(CLabVecRang &LabVecRang);
|
|
COLORREF GetColor(){return m_color;};
|
|
void SetColor(COLORREF c){m_color = c;};
|
|
void Serialize(CArchive &ar);
|
|
double GetParByIdx(int idx);
|
|
void SetParByIdx(int idx,double val);
|
|
double &GetParReference(int idx){return m_ParVec[idx];};
|
|
private:
|
|
void CreatParVec();
|
|
public:
|
|
COLORREF m_color;//笔的颜色
|
|
bool m_bSelected;//是否被选中
|
|
vector<double> m_ParVec;//参数容器
|
|
};
|
|
|