?? load_save.h
字號:
/*************
load_save.h
**************/
#ifndef __LOAD_SAVE_H_
#define __LOAD_SAVE_H_
#include<stdio.h>
typedef unsigned short U16;
typedef unsigned int U32;
typedef unsigned char U8;
typedef struct tagBITMAPFILEHEADER{
U16 filetype;
U32 filesize;
U16 bland1;
U16 bland2;
U32 startPosition;
}__attribute__((packed)) BmpHead;
//typedef menu{}
typedef struct tagBITMAPINFOHEADER{
U32 Length;
U32 width;
U32 height;
U16 colorPlane;
U16 bitColor;
U32 zipFormat;
U32 realSize;
U32 xPels;
U32 yPels;
U32 colorUse;
U32 colorImportant;
}__attribute__((packed)) InfoHead;
typedef struct tagRGBQUAD{
U8 rgbBlue;
U8 rgbGreen;
U8 rgbRed;
U8 rgbReserved;
}RGBMixPlate;
typedef struct infomation{
struct tagBITMAPINFOHEADER InfoHead;
U8 bmiColors[1024];
// char* bmiColor = (char *)malloc(sizeof(char)*sizeof(RGBMixPlate)*(BmpHead.startPosition-54));
}__attribute__((packed)) BITMAPINFO;
int Transfer(U16*color24bit, int len, U8 *Index, RGBMixPlate *mainColor);
#endif
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -