#include <button.h>
Inheritance diagram for Button:

Public Member Functions | |
| Button (TWindow *menu, char *identbranch, int asciicode=0, bool keepkey=0) | |
| virtual void | draw_default () |
| virtual void | draw_focus () |
| virtual void | draw_selected () |
Public Attributes | |
| RLE_SPRITE * | bmp_default |
| RLE_SPRITE * | bmp_focus |
| RLE_SPRITE * | bmp_selected |
Naming:
The "default" image is used for auto-location.
|
||||||||||||||||||||
|
constructor |
|
|
draw routine when mouse is outside the button area Reimplemented from ButtonBitmapped. |
|
|
draw routine when mouse is inside the button area Reimplemented from ButtonBitmapped. |
|
|
draw routine when the mouse button is pressed Reimplemented from ButtonBitmapped. |
|
|
the bitmap that's shown by default, ie if there's no mouse nearby. This bitmap is required |
|
|
the bitmap that's show when the mouse is over the area |
|
|
the bitmap that's show when the mouse button is pressed |
1.4.6-NO