mirror of
https://gitee.com/idea4good/GuiLite.git
synced 2025-01-15 17:02:52 +08:00
29 lines
504 B
C
29 lines
504 B
C
#ifndef RESOURCE_H
|
|
#define RESOURCE_H
|
|
|
|
//BITMAP
|
|
typedef struct struct_bitmap_info
|
|
{
|
|
unsigned short XSize;
|
|
unsigned short YSize;
|
|
unsigned short BitsPerPixel;
|
|
const unsigned char* pData; /* Pointer to picture data (indices) */
|
|
} BITMAP_INFO;
|
|
|
|
//FONT
|
|
typedef struct struct_lattice
|
|
{
|
|
unsigned int utf8_code;
|
|
unsigned char width;
|
|
const unsigned char* p_data;
|
|
} LATTICE;
|
|
|
|
typedef struct struct_font_info
|
|
{
|
|
unsigned char height;
|
|
unsigned int count;
|
|
LATTICE* lattice_array;
|
|
} FONT_INFO;
|
|
|
|
#endif
|