PtBitmap

PtBitmap -- A bitmapped image.

Synopsis

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)    
}
		

Base Classes

PtWidget <-- PtBasic <-- PtBitmap

Description

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.

Note

For detailed information, please refer to PtBitmap in the Photon documentation.

Instance Variables

bitmap_balloon

bitmap_balloon_color

bitmap_balloon_fill_color

bitmap_balloon_position

This instance variable may have one of the following values:

bitmap_colors

bitmap_data

bitmap_flags

This instance variable may be a combination of zero or more of the following flags:

bitmap_text

set_bg_color

set_bg_fill

set_bitmap_colors

set_bitmap_data

Copyright 1995-2002 by Cogent Real-Time Systems, Inc.