#include <wxToolBox.h>
Inheritance diagram for wxToolBoxScrollButton:

Public Member Functions | |
| bool | GetEnabled () |
| Returns true if toolbox button is enabled, otherwise returns false. | |
| bool | GetMouseDown () |
| Returns MouseDown flag of button. | |
| bool | GetMouseHover () |
| Returns MouseHover flag of button. | |
| wxScrollDirection | GetSrollDirection () |
| Returns scrolling direction. | |
| bool | HitTest (wxCoord x, wxCoord y) |
| Returns true if button's rectangle contains the point with specified coordinates. | |
| void | Invalidate () |
| Repaints button. | |
| void | Paint (wxDC &dc, const wxRect &clipRect) |
| Draws button on specified device context. | |
| void | SetEnabled (bool value) |
| Enables/disables button. | |
| void | SetMouseDown (bool value) |
| Sets MouseDown flag of button. | |
| void | SetMouseHover (bool value) |
| Sets MouseHover flag of button. | |
| void | SetScrollDirection (wxScrollDirection value) |
| Sets scrolling direction of toolbox button. | |
| void | SetX (int x) |
| Sets X coordinate of toolbox button. | |
| void | SetY (int y) |
| Sets Y coordinate of toolbox button. | |
| wxToolBoxScrollButton (wxToolBox *parent, wxScrollDirection dir, wxSize size) | |
| Constructor. | |
| wxToolBoxScrollButton::wxToolBoxScrollButton | ( | wxToolBox * | parent, | |
| wxScrollDirection | dir, | |||
| wxSize | size | |||
| ) |
Constructor.
| parent | - pointer to parent component | |
| dir | - direction | |
| size | - button size |
| bool wxToolBoxScrollButton::HitTest | ( | wxCoord | x, | |
| wxCoord | y | |||
| ) |
Returns true if button's rectangle contains the point with specified coordinates.
| x | - X coordinate of point | |
| y | - Y coordinate of point |
| void wxToolBoxScrollButton::Paint | ( | wxDC & | dc, | |
| const wxRect & | clipRect | |||
| ) |
Draws button on specified device context.
| dc | - device context to draw to | |
| clipRect | - clipping rectangle |
| void wxToolBoxScrollButton::SetEnabled | ( | bool | value | ) | [inline] |
Enables/disables button.
| value | - new value of MouseHover flag |
| void wxToolBoxScrollButton::SetMouseDown | ( | bool | value | ) | [inline] |
Sets MouseDown flag of button.
| value | - new value of MouseDown flag |
| void wxToolBoxScrollButton::SetMouseHover | ( | bool | value | ) | [inline] |
Sets MouseHover flag of button.
| value | - new value of MouseHover flag |
| void wxToolBoxScrollButton::SetScrollDirection | ( | wxScrollDirection | value | ) | [inline] |
Sets scrolling direction of toolbox button.
| value | - new value of scrolling direction |
| void wxToolBoxScrollButton::SetX | ( | int | x | ) | [inline] |
Sets X coordinate of toolbox button.
| x | - new value of X coordinate |
| void wxToolBoxScrollButton::SetY | ( | int | y | ) | [inline] |
Sets Y coordinate of toolbox button.
| y | - new value of Y coordinate |
1.5.2