wxShapeFramework  1.13.0 beta
wxSFMultiSelRect Class Reference

Auxiliary class encapsulating multiselection rectangle used in the shape canvas. The class shouldn't be used directly. More...

#include <MultiSelRect.h>

Inheritance diagram for wxSFMultiSelRect:
Collaboration diagram for wxSFMultiSelRect:

List of all members.

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.

Detailed Description

Auxiliary class encapsulating multiselection rectangle used in the shape canvas. The class shouldn't be used directly.

See also:
wxSFShapeCanvas

Constructor & Destructor Documentation

Default constructor.

virtual wxSFMultiSelRect::~wxSFMultiSelRect ( void  ) [virtual]

Destructor.


Member Function Documentation

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.

Parameters:
handleReference 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.

Parameters:
handleReference 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.

Parameters:
handleReference 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).

Parameters:
handleReference 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.

Parameters:
handleReference 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.

Parameters:
handleReference 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.

Parameters:
handleReference to dragged shape handle

Reimplemented from wxSFRectShape.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines