ButtonBitmapped Class Reference

#include <button_bitmapped.h>

Inheritance diagram for ButtonBitmapped:

ButtonBase Area Button ButtonSwitch AreaDraw AreaTablet AreaTV AreaTabletScrolled ButtonText ScrollBar AreaListIcons AreaListText AreaTextInfo ButtonValue AreaTextEdit List of all members.

Public Member Functions

 ButtonBitmapped (TWindow *menu, char *identbranch, int asciicode, bool akeepkey=0)
BITMAP * getbmp (char *name)
RLE_SPRITE * getrle (char *name)
BITMAP * getbmp_nobutton (char *name)
RLE_SPRITE * getrle_nobutton (char *name)

Detailed Description

A more specialized button type, which provides graphical routines for display, by using (allegro) bitmaps. Since twgui is a bitmap-oriented graphical interface, all button types are derived from this.

In case one requires a non-bitmapped drawing algorithm, derive that special button type from the ButtonBase.


Constructor & Destructor Documentation

ButtonBitmapped::ButtonBitmapped TWindow menu,
char *  identbranch,
int  asciicode,
bool  akeepkey = 0
 

constructor


Member Function Documentation

BITMAP * ButtonBitmapped::getbmp char *  name  ) 
 

obtain a bitmap, specific to this "object"

BITMAP * ButtonBitmapped::getbmp_nobutton char *  name  ) 
 

similar, but without name completion (button directory)

RLE_SPRITE * ButtonBitmapped::getrle char *  name  ) 
 

adds an extra step, and changes the bitmap you load into an RLE sprite

RLE_SPRITE * ButtonBitmapped::getrle_nobutton char *  name  ) 
 

similar, but without name completion (button directory)


The documentation for this class was generated from the following files:
Generated on Tue Feb 14 13:48:44 2006 for Twgui by  doxygen 1.4.6-NO