Introduction

Getting Started

Programming Guides

API Reference

Additional Resources

HOpFramedAnnotate.h
1 
2 
3 #ifndef _HOPGRAMEDANNOTATE_H
4 #define _HOPGRAMEDANNOTATE_H
5 
6 #ifdef H_PACK_8
7 #pragma pack(push)
8 #pragma pack(8)
9 #endif
10 
11 #include "HTools.h"
12 #include "HBaseOperator.h"
13 #include "HEventListener.h"
14 
15 
16 class MVO_API HOpFramedAnnotate : public HBaseOperator
17 {
18 public:
19 
20  HOpFramedAnnotate (HBaseView* view, bool bAddToLayer = false, int DoRepeat=0, int DoCapture=1);
22 
23  virtual const char * GetName();
24  int OnLButtonDown (HEventInfo &hevent);
25  int OnLButtonDownAndMove(HEventInfo &hevent);
26  int OnLButtonUp (HEventInfo &hevent);
27  int OnKeyDown(HEventInfo &hevent);
28  HBaseOperator * Clone();
30 protected:
31  unsigned short *m_pString;
35  void finalize_text(bool emit_message=false);
38  void TransmitMarkupSegment();
39 
40 
41 };
42 
43 
44 
45 #ifdef H_PACK_8
46 #pragma pack(pop)
47 #endif
48 
49 #endif
50 
51 
52 
virtual int OnLButtonDownAndMove(HEventInfo &hevent)
virtual const char * GetName()
virtual int OnLButtonUp(HEventInfo &hevent)
unsigned short * m_pString
Definition: HOpFramedAnnotate.h:31
HC_KEY m_pNoteKey
Definition: HOpFramedAnnotate.h:33
Definition: HOpFramedAnnotate.h:16
#define HC_KEY
bool m_bAddToLayer
Definition: HOpFramedAnnotate.h:36
virtual HBaseOperator * Clone()
The HBaseOperator class serves as a base for classes which handle user input and operate on the scene...
Definition: HBaseOperator.h:60
The HBaseView class defines and manages a view of model information.
Definition: HBaseView.h:332
The HEventInfo class stores and manages event information.
Definition: HEventInfo.h:207
virtual int OnKeyDown(HEventInfo &hevent)
virtual int OnLButtonDown(HEventInfo &hevent)