[Contents] [index] [Help] [Retrace] [browse <] [Browse >]

Class:                  frbuttonclass
Superclass:             buttongclass
Include File:           <intuition/gadgetclass.h>

This is a special class of button gadget that puts a Boopsi framing image
around some other display element.  This display element can be one of
three things: plain text from the ga_text attribute, an intuitext from the
ga_intuitext attribute, or an image from the ga_labelimage attribute.

The user activates the gadget by clicking within the bounds of the
gadget's framing image, which it gets from the ga_image attribute.
Usually the framing image is an instance of an image class that supports
the IM_FRAMEBOX method (like frameiclass).  if the framing image supports
the IM_FRAMEBOX method, the frbuttonclass object centers the frame image
around the display element.  See the imageclass description of im_framebox
for more information.

New Methods:
------------
None.

Changed Methods:
----------------
 om_new    gm_hittest    gm_render 

Attributes:
-----------
 ga_width, ga_height (s) 
 ga_drawinfo (i) 
 ga_text, ga_intuitext, ga_labelimage (is)