wxShapeFramework
1.13.0 beta
|
Auxiliary class encapsulating multiselection rectangle used in the shape canvas. The class shouldn't be used directly. More...
#include <MultiSelRect.h>
Public Member Functions | |
wxSFMultiSelRect (void) | |
Default constructor. | |
virtual | ~wxSFMultiSelRect (void) |
Destructor. | |
virtual void | OnBeginHandle (wxSFShapeHandle &handle) |
Event handler called at the begining of the shape handle dragging process. The function can be overrided if neccessary. | |
virtual void | OnHandle (wxSFShapeHandle &handle) |
Event handler called during dragging of the shape handle. The function can be overrided if necessary. | |
virtual void | OnEndHandle (wxSFShapeHandle &handle) |
Event handler called at the end of the shape handle dragging process. The function can be overrided if neccessary. | |
Protected Member Functions | |
virtual void | OnRightHandle (wxSFShapeHandle &handle) |
Event handler called during dragging of the right shape handle. The function can be overrided if neccessary. | |
virtual void | OnLeftHandle (wxSFShapeHandle &handle) |
Event handler called during dragging of the left shape handle. The function can be overrided if neccessary. | |
virtual void | OnTopHandle (wxSFShapeHandle &handle) |
Event handler called during dragging of the top shape handle. The function can be overrided if neccessary. | |
virtual void | OnBottomHandle (wxSFShapeHandle &handle) |
Event handler called during dragging of the bottom shape handle. The function can be overrided if neccessary. | |
Private Member Functions | |
bool | AnyWidthExceeded (const wxPoint &delta) |
Auxiliary function. | |
bool | AnyHeightExceeded (const wxPoint &delta) |
Auxiliary function. |
Auxiliary class encapsulating multiselection rectangle used in the shape canvas. The class shouldn't be used directly.
wxSFMultiSelRect::wxSFMultiSelRect | ( | void | ) |
Default constructor.
virtual wxSFMultiSelRect::~wxSFMultiSelRect | ( | void | ) | [virtual] |
Destructor.
bool wxSFMultiSelRect::AnyHeightExceeded | ( | const wxPoint & | delta | ) | [private] |
Auxiliary function.
bool wxSFMultiSelRect::AnyWidthExceeded | ( | const wxPoint & | delta | ) | [private] |
Auxiliary function.
virtual void wxSFMultiSelRect::OnBeginHandle | ( | wxSFShapeHandle & | handle | ) | [virtual] |
Event handler called at the begining of the shape handle dragging process. The function can be overrided if neccessary.
handle | Reference to dragged shape handle |
Reimplemented from wxSFRectShape.
virtual void wxSFMultiSelRect::OnBottomHandle | ( | wxSFShapeHandle & | handle | ) | [protected, virtual] |
Event handler called during dragging of the bottom shape handle. The function can be overrided if neccessary.
handle | Reference to dragged shape handle |
Reimplemented from wxSFRectShape.
virtual void wxSFMultiSelRect::OnEndHandle | ( | wxSFShapeHandle & | handle | ) | [virtual] |
Event handler called at the end of the shape handle dragging process. The function can be overrided if neccessary.
handle | Reference to dragged shape handle |
Reimplemented from wxSFShapeBase.
virtual void wxSFMultiSelRect::OnHandle | ( | wxSFShapeHandle & | handle | ) | [virtual] |
Event handler called during dragging of the shape handle. The function can be overrided if necessary.
The function is called by the framework (by the shape canvas).
handle | Reference to dragged handle |
Reimplemented from wxSFRectShape.
virtual void wxSFMultiSelRect::OnLeftHandle | ( | wxSFShapeHandle & | handle | ) | [protected, virtual] |
Event handler called during dragging of the left shape handle. The function can be overrided if neccessary.
handle | Reference to dragged shape handle |
Reimplemented from wxSFRectShape.
virtual void wxSFMultiSelRect::OnRightHandle | ( | wxSFShapeHandle & | handle | ) | [protected, virtual] |
Event handler called during dragging of the right shape handle. The function can be overrided if neccessary.
handle | Reference to dragged shape handle |
Reimplemented from wxSFRectShape.
virtual void wxSFMultiSelRect::OnTopHandle | ( | wxSFShapeHandle & | handle | ) | [protected, virtual] |
Event handler called during dragging of the top shape handle. The function can be overrided if neccessary.
handle | Reference to dragged shape handle |
Reimplemented from wxSFRectShape.