Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/ph/phcursordef_t.html on line 1

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/ph/phcursordef_t.html on line 1

Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/ph/phcursordef_t.html on line 8

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/ph/phcursordef_t.html on line 8

PhCursorDef_t

Bitmap for the cursor

Synopsis:

typedef struct Ph_cursor_def {
    PhRegionDataHdr_t   hdr;
    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[1];
} PhCursorDef_t;

Description:

The PhCursorDef_t structure is used to define bitmaps to be used as the cursor. The members include at least:

hdr
A pointer to a PhRegionDataHdr_t structure that defines the region data header.
size1
The dimensions of the first bitmap plane, in pixels.
offset1
The position of the upper-left corner of the first plane of the bitmap, relative to the hot spot.
color1
The color of the first bitmap plane.
bytesperline1
The number of bytes per line for the first bitmap plane.
size2
The dimensions of the second bitmap plane, in pixels.
offset2
The position of the upper-left corner of the second plane of the bitmap, relative to the hot spot.
color2
The color of the second bitplane. You can't have more than two bitplanes.
bytesperline2
The number of bytes per line for the second bitmap plane.
images
The bitmap image data, as a series of 1-bit-per-pixel planes.

Note: Most graphics drivers don't support alpha in the cursor colors.

Classification:

Photon

See also:

PgColor_t, PhPoint_t, PhRegionDataHdr_t

Pt_ARG_BITMAP_CURSOR (PtWidget) in the Widget Reference


Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/ph/phcursordef_t.html on line 143

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/ph/phcursordef_t.html on line 143