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:
This instance variable may be a combination of zero or more of the following flags: