tccolor.h

来自「这是用C++ Builder写的两个位图转换成C51格式的提取程序源代码.仅供参」· C头文件 代码 · 共 23 行

H
23
字号
//---------------------------------------------------------------------------
#ifndef TCColorH
#define TCColorH
struct TCColor
{
 union
 {
  TColor Color;
  struct
  {
   unsigned char Red;
   unsigned char Green;
   unsigned char Blue;
   unsigned char Reserved;
  };
 };
 TCColor(TColor c):Color(c){}
 TCColor(unsigned char R, unsigned char G, unsigned char B):
  Red(R), Green(G), Blue(B), Reserved(0){}
};
//---------------------------------------------------------------------------
#endif

⌨️ 快捷键说明

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