Alphabetical Class Index  Class Hierarchy   File Members   Compound Members   File List  

MyFreehandMarkupOp Class Reference

List of all members.

Public Member Functions

HBaseOperatorClone ()
virtual const char * GetName ()
 MyFreehandMarkupOp (HBaseView *view, int DoRepeat=0, int DoCapture=1)

Static Public Member Functions

static void CreateMarkupFreehand (HBaseView *pView, const char *segment, unsigned int PolyLineLength, HPoint *pPolyline, bool emit_message)

Protected Member Functions

virtual void MarkupSelection (HEventInfo &hevent)
virtual int OnLButtonDown (HEventInfo &hevent)
virtual int OnLButtonDownAndMove (HEventInfo &hevent)
virtual int OnLButtonUp (HEventInfo &hevent)

Protected Attributes

HC_KEY m_LastKey

Static Protected Attributes

static long markup_incarnation

Member Function Documentation

HBaseOperator* MyFreehandMarkupOp::Clone ( ) [virtual]

Creates a new operator which is associated with the same view as the current operator. The user is responsible for deleting the newly created operator.

Returns:
A pointer to an HBaseOperator object

Reimplemented from HBaseOperator.

virtual const char* MyFreehandMarkupOp::GetName ( ) [virtual]
Returns:
A character pointer denoting the name of operator.

Reimplemented from HBaseOperator.

virtual int MyFreehandMarkupOp::OnLButtonDown ( HEventInfo hevent) [protected, virtual]

The derived operator should overload this function to intercept and handle the case where the left mouse button has been pressed down. It will be automatically called from the HOOPS/GUI toolkit when such an event occurs, and should be manually called by platform-specific UI code if HOOPS/GUI is not being used.

Parameters:
heventAn HEventInfo object containing information about the current event
Returns:
An HOperatorReturn indicating the status of the event.

Reimplemented from HBaseOperator.

virtual int MyFreehandMarkupOp::OnLButtonDownAndMove ( HEventInfo hevent) [protected, virtual]

The derived operator should overload this function to intercept and handle the case where the left mouse button is pressed down and the mouse has moved. It will be automatically called from the HOOPS/GUI toolkit when such an event occurs, and should be manually called by platform-specific UI code if HOOPS/GUI is not being used.

Parameters:
heventAn HEventInfo object containing information about the current event
Returns:
An HOperatorReturn indicating the status of the event.

Reimplemented from HBaseOperator.

virtual int MyFreehandMarkupOp::OnLButtonUp ( HEventInfo hevent) [protected, virtual]

The derived operator should overload this function to intercept and handle the case where the left mouse button has been released. It will be automatically called from the HOOPS/GUI toolkit when such an event occurs, and should be manually called by platform-specific UI code if HOOPS/GUI is not being used.

Parameters:
heventAn HEventInfo object containing information about the current event
Returns:
An HOperatorReturn indicating the status of the event.

Reimplemented from HBaseOperator.


The documentation for this class was generated from the following file: