Bitmap or custom images are used as imagery for a gadget by setting the gflg_gadgimage flag in the flags field of the gadget structure. an image structure must be set up to manage the bitmap data. The address of the Image structure is placed into the gadget's gadgetrender field. the bitmap image will be positioned relative to the gadget's select box. For more information about creating Intuition images, see the chapter "intuition images, line drawing, and text." for a listing of the gadget structure and all its flags see the "gadget structure" section later in this chapter.