![]() Rogue Wave Views 5.5.1 |
Rogue Wave Views |
Rogue Wave Views Documentation Home |
Gadget class. More...
#include <ilviews/gadgets/arrowb.h>
Public Member Functions | |
| IlvArrowButton (IlvDisplay *display, const IlvPoint &at, IlvDirection direction, IlUShort thickness=IlvDefaultGadgetThickness, IlvPalette *palette=0) | |
| Constructor. | |
| IlvArrowButton (IlvDisplay *display, const IlvRect &rect, IlvDirection direction, IlUShort thickness=IlvDefaultGadgetThickness, IlvPalette *palette=0) | |
| Constructor. | |
| IlvOrientation | getDirection () const |
| Returns the direction of the arrow. | |
| void | setDirection (IlvOrientation direction, IlBoolean redraw=IlFalse) |
| Sets the direction of the arrow. | |
Gadget class.
Library: ilvadvgdt
The IlvArrowButton class is a subclass of IlvButton that displays an arrow.
- IlvArrowButton -
IlvSpinBox. | IlvArrowButton::IlvArrowButton | ( | IlvDisplay * | display, | |
| const IlvRect & | rect, | |||
| IlvDirection | direction, | |||
| IlUShort | thickness = IlvDefaultGadgetThickness, |
|||
| IlvPalette * | palette = 0 | |||
| ) |
Constructor.
Initializes a new instance of the IlvArrowButton class.
| display | The connection to the display. | |
| rect | The size and position of the button. | |
| direction | The orientation of the arrow. | |
| thickness | The thickness of the button. | |
| palette | The palette used by the button. |
| IlvArrowButton::IlvArrowButton | ( | IlvDisplay * | display, | |
| const IlvPoint & | at, | |||
| IlvDirection | direction, | |||
| IlUShort | thickness = IlvDefaultGadgetThickness, |
|||
| IlvPalette * | palette = 0 | |||
| ) |
Constructor.
Initializes a new instance of the IlvArrowButton class.
| display | The connection to the display. | |
| at | The position of the button. | |
| direction | The orientation of the arrow. | |
| thickness | The thickness of the button. | |
| palette | The palette used by the button. |
| IlvOrientation IlvArrowButton::getDirection | ( | ) | const |
| void IlvArrowButton::setDirection | ( | IlvOrientation | direction, | |
| IlBoolean | redraw = IlFalse | |||
| ) |
Sets the direction of the arrow.
| direction | The new direction of the arrow. Valid values are: IlvRight, IlvLeft, IlvTop, and IlvBottom. | |
| redraw | A Boolean value indicating whether the button should be redrawn. |
© Copyright 2012, Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.