class PtBitmap PtBasic { bitmap_balloon; // PtWidget (Pt_ARG_BITMAP_BALLOON) bitmap_balloon_color; // color (Pt_ARG_BITMAP_BALLOON_COLOR) bitmap_balloon_fill_color; // color (Pt_ARG_BITMAP_BALLOON_FILL_COLOR) bitmap_balloon_position; // short (Pt_ARG_BITMAP_BALLOON_POSITION) bitmap_colors; // color array (Pt_ARG_BITMAP_COLORS) bitmap_data; // char array array (Pt_ARG_BITMAP_DATA) bitmap_flags; // flag (Pt_ARG_BITMAP_FLAGS) bitmap_text; // string (Pt_ARG_BITMAP_TEXT) set_bg_color; // color (Pt_ARG_BMP_SET_BG_COLOR) set_bg_fill; // unsigned char (Pt_ARG_BMP_SET_BG_FILL) set_bitmap_colors; // color array (Pt_ARG_SET_BITMAP_COLORS) set_bitmap_data; // char array array (Pt_ARG_SET_BITMAP_DATA) }
This widget is used to draw bitmaps, but is difficult to create and use in code. The easiest way to work with images in Gamma is with the PhImage class, which lets you create images in other applications and attach them to a PtPane or PtButton as necessary.
If for some reason you need a PtBitmap, it is fully supported in Gamma, but we recommend creating and modifying it in PhAB, not in code.
For detailed information, please refer to PtBitmap in the Photon documentation. |
This instance variable may have one of the following values:
Constant | Description |
---|---|
Pt_BITMAP_BALLOON_RIGHT | The text will pop up on the right. |
Pt_BITMAP_BALLOON_LEFT | The text will pop up on the left. |
Pt_BITMAP_BALLOON_TOP | The text will pop up at the top. |
Pt_BITMAP_BALLOON_BOTTOM | The text will pop up at the bottom. |
Pt_BITMAP_BALLOON_INPLACE | The text will pop up in place. |
This instance variable may be a combination of zero or more of the following flags:
Constant | Description |
---|---|
Pt_BITMAP_SHOW_BALLOON | Causes balloon help to be shown if the cursor remains stationary over the bitmap for 1.25 seconds. |
Copyright © 1995-2010 by Cogent Real-Time Systems, Inc. All rights reserved.