2019-08-19 16:03:27 +08:00
|
|
|
#ifndef GUILITE_CORE_INCLUDE_RESOURCE_H
|
|
|
|
#define GUILITE_CORE_INCLUDE_RESOURCE_H
|
2018-10-04 14:30:29 +08:00
|
|
|
|
|
|
|
//BITMAP
|
|
|
|
typedef struct struct_bitmap_info
|
|
|
|
{
|
2019-10-02 10:49:41 +08:00
|
|
|
unsigned short width;
|
|
|
|
unsigned short height;
|
|
|
|
unsigned short color_bits;//support 16 bits only
|
|
|
|
const unsigned short* pixel_color_array;
|
2018-10-04 14:30:29 +08:00
|
|
|
} BITMAP_INFO;
|
|
|
|
|
|
|
|
//FONT
|
|
|
|
typedef struct struct_lattice
|
|
|
|
{
|
|
|
|
unsigned int utf8_code;
|
|
|
|
unsigned char width;
|
2019-10-02 10:49:41 +08:00
|
|
|
const unsigned char* pixel_gray_array;
|
2018-10-04 14:30:29 +08:00
|
|
|
} LATTICE;
|
|
|
|
|
|
|
|
typedef struct struct_font_info
|
|
|
|
{
|
|
|
|
unsigned char height;
|
|
|
|
unsigned int count;
|
|
|
|
LATTICE* lattice_array;
|
|
|
|
} FONT_INFO;
|
|
|
|
|
|
|
|
#endif
|