GuiLite/workspace/core_include/resource.h

26 lines
485 B
C
Raw Normal View History

#pragma once
2018-10-04 14:30:29 +08:00
//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;
2018-10-04 14:30:29 +08:00
} BITMAP_INFO;
//FONT
typedef struct struct_lattice
{
unsigned int utf8_code;
unsigned char width;
2021-03-26 11:32:11 +08:00
const unsigned char* pixel_buffer;
2018-10-04 14:30:29 +08:00
} LATTICE;
2021-03-26 11:32:11 +08:00
typedef struct struct_lattice_font_info
2018-10-04 14:30:29 +08:00
{
unsigned char height;
unsigned int count;
LATTICE* lattice_array;
2021-03-26 11:32:11 +08:00
} LATTICE_FONT_INFO;