The HOpMarkupPostIt class inserts and manipulates annotation into the current scene. More...
#include <HOpMarkupPostIt.h>
Public Member Functions | |
virtual const char * | GetName () |
HOpMarkupPostIt (HBaseView *view, int DoRepeat=0, int DoCapture=1) | |
virtual int | OnLButtonDown (HEventInfo &hevent) |
The HOpMarkupPostIt class inserts and manipulates annotation into the current scene.
HOpMarkupPostIt implements three mouse event methods defined on the base class and maps the event information to operator routines. This operation consists of the following steps:
More Detailed Description: see event methods
HOpMarkupPostIt::HOpMarkupPostIt | ( | HBaseView * | view, |
int | DoRepeat = 0 , |
||
int | DoCapture = 1 |
||
) |
Constructs an HOpMarkupPostIt object.
view | A pointer to an HBaseView object |
DoRepeat | An integer denoting whether this is a repeatable operator. This parameter has been deprecated. |
DoCapture | An integer denoting whether the mouse state should be captured, which means that all mouse events should be received after a mousedown, even if it leaves the window. This parameter has been deprecated. |
virtual const char* HOpMarkupPostIt::GetName | ( | ) | [virtual] |
Reimplemented from HOpMarkupAnnotate.
virtual int HOpMarkupPostIt::OnLButtonDown | ( | HEventInfo & | hevent | ) | [virtual] |
OnLButtonDown either selects an existing annotation or inserts a new annotation into the current markup layer at the current mouse position.
hevent | An HEventInfo object containing information about the current event. |
Reimplemented from HOpMarkupAnnotate.