mirror of
https://gitee.com/idea4good/GuiLite.git
synced 2025-01-29 17:22:55 +08:00
14 lines
503 B
C++
14 lines
503 B
C++
#ifndef GUILITE_CORE_INCLUDE_BITMAP_H
|
|
#define GUILITE_CORE_INCLUDE_BITMAP_H
|
|
|
|
#define DEFAULT_MASK_COLOR 0xFF080408
|
|
class c_surface;
|
|
class c_bitmap
|
|
{
|
|
public:
|
|
static void draw_bitmap(c_surface* surface, int z_order, const BITMAP_INFO *pBitmap, int x, int y, unsigned int mask_rgb = DEFAULT_MASK_COLOR);
|
|
static void draw_bitmap(c_surface* surface, int z_order, const BITMAP_INFO* pBitmap, int x, int y, int src_x, int src_y, int width, int height, unsigned int mask_rgb = DEFAULT_MASK_COLOR);
|
|
};
|
|
|
|
#endif
|