class csButton : public csComponent The Button class implements different types of push buttons
If iDelete is true, bitmaps will be automatically deleted when they will not be needed anymore (i
The Button class implements different types of push buttons. Buttons can contain a text string and/or a bitmap.
If iDelete is true, bitmaps will be automatically deleted when they
will not be needed anymore (i.e. button disposal or another SetBitmap)
bool Pressed
csButton(csComponent *iParent, int iCommandCode, int iButtonStyle = CSBS_DEFAULTVALUE, csButtonFrameStyle iFrameStyle = csbfsOblique)
virtual ~csButton()
virtual void SetText(char *iText)
void SetBitmap(csSprite2D *iNormal, csSprite2D *iPressed, bool iDelete = true)
void GetBitmap(csSprite2D **iNormal, csSprite2D **iPressed)
void FreeBitmaps()
virtual void Draw()
virtual bool HandleEvent(csEvent &Event)
virtual bool PostHandleEvent(csEvent &Event)
virtual void SetState(int mask, bool enable)
virtual void SuggestSize(int &w, int &h)
int GetCommandCode()
virtual void SetPressed(bool state)
virtual void Press()
bool HandleKeyPress(csEvent &Event)
void DeselectNeighbours()
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de