mirror of
https://gitee.com/idea4good/GuiLite.git
synced 2025-06-28 13:34:07 +08:00

* fix typo * refactor display/surface * Merge branch 'master' into dev * add boundary check for fill_rect * Merge branch 'master' into dev * Merge branch 'master' into dev * refactor wnd.cpp * rename some variables
29 lines
550 B
C
29 lines
550 B
C
#ifndef GUILITE_CORE_INCLUDE_RESOURCE_H
|
|
#define GUILITE_CORE_INCLUDE_RESOURCE_H
|
|
|
|
//BITMAP
|
|
typedef struct struct_bitmap_info
|
|
{
|
|
unsigned short width;
|
|
unsigned short height;
|
|
unsigned short color_bits;//support 16 bits only
|
|
const unsigned short* pixel_color_array;
|
|
} BITMAP_INFO;
|
|
|
|
//FONT
|
|
typedef struct struct_lattice
|
|
{
|
|
unsigned int utf8_code;
|
|
unsigned char width;
|
|
const unsigned char* pixel_gray_array;
|
|
} LATTICE;
|
|
|
|
typedef struct struct_font_info
|
|
{
|
|
unsigned char height;
|
|
unsigned int count;
|
|
LATTICE* lattice_array;
|
|
} FONT_INFO;
|
|
|
|
#endif
|