![]() |
![]() |
![]() |
![]() |
Bitmap for the cursor
typedef struct Ph_bitmap_cursor_descr {
PhCursorDescription_t hdr;
PhBitmapCursorData_t bmp;
} PhBitmapCursorDescription_t;
The PhBitmapCursorDescription_t structure defines a bitmap cursor. The members include at least:
The PhBitmapCursorDescription_t contains these members:
The hdr has these members:
curdef->bmp.images - (char*)curdef +
curdef->bmp.bytesperline1 * curdef->bmp.size1.h +
curdef->bmp.bytesperline2 * curdef->bmp.size2.h
The PhBitmapCursorData_t structure defines the bitmap used as a cursor defined by PhBitmapCursorDescription_t.
typedef struct Ph_bitmap_cursor_data {
PhPoint_t size1;
PhPoint_t offset1;
PgColor_t color1;
char bytesperline1;
PhPoint_t size2;
PhPoint_t offset2;
PgColor_t color2;
char bytesperline2;
char Spare[14];
char images[];
} PhBitmapCursorData_t;
The members are:
![]() |
Most graphics drivers don't support alpha in the cursor colors. |
Photon
![]() |
![]() |
![]() |
![]() |