A button with an arrow in it. More...
Inherits Button.
Public Member Functions | |
| ArrowButton (const String &buttonName, float arrowDirection, const Colour &arrowColour) | |
| Creates an ArrowButton. | |
| ~ArrowButton () | |
| Destructor. | |
Protected Member Functions | |
| void | paintButton (Graphics &g, bool isMouseOverButton, bool isButtonDown) |
| void | buttonStateChanged () |
A button with an arrow in it.
| ArrowButton::ArrowButton | ( | const String & | buttonName, | |
| float | arrowDirection, | |||
| const Colour & | arrowColour | |||
| ) |
Creates an ArrowButton.
| buttonName | the name to give the button | |
| arrowDirection | the direction the arrow should point in, where 0.0 is pointing right, 0.25 is down, 0.5 is left, 0.75 is up | |
| arrowColour | the colour to use for the arrow |
| ArrowButton::~ArrowButton | ( | ) |
Destructor.
| void ArrowButton::paintButton | ( | Graphics & | g, | |
| bool | isMouseOverButton, | |||
| bool | isButtonDown | |||
| ) | [protected, virtual] |
For internal use only.
Implements Button.
| void ArrowButton::buttonStateChanged | ( | ) | [protected, virtual] |
For internal use only.
Reimplemented from Button.
1.6.3