AJA NTV2 SDK  18.0.0.2122
NTV2 SDK 18.0.0.2122
ntv2caption708window.h
Go to the documentation of this file.
1 
7 #ifndef __NTV2_CEA708_WINDOW_
8 #define __NTV2_CEA708_WINDOW_
9 
10 #include "ntv2captionencoder708.h"
11 
12 #ifdef MSWindows
13  #include "windows.h"
14  #include "stdio.h"
15 #endif
16 
17 
18 // default 708 Window Parms
31 
32 
33 // default 608 Window Attributes
43 
46 
47 
48 // default 608 Pen Attributes
56 
57 
58 typedef enum CC708CodeGroup
59 {
64 
69 
71 
72 
74 {
75  // INSTANCE METHODS
76  public:
78  virtual ~CNTV2Caption708Window ();
79 
80  void InitWindow (const int id = 0);
81 
82  inline void SetWindowID (const int id) {m_windowID = id;}
83 
84  void SetVisible (const bool bVisible);
85  bool GetVisible (void);
86 
87  void DefineWindow (const CC708WindowParms & inParms);
88  void SetWindowAttributes (const CC708WindowAttr & inAttr);
89  void SetPenAttributes (const CC708PenAttr & inAttr);
90  void SetPenLocation (const CC708PenLocation & inLoc);
91  void SetPenColor (const CC708PenColor & inColor);
92 
93  void EraseWindowText (void);
94  void AddCharacter (const UByte inChar, const CC708CodeGroup inCodeGroup);
95  void DoETX (void);
96  void DoBS (void);
97  void DoFF (void);
98  void DoCR (void);
99  void DoHCR (void);
100 
101  // INSTANCE DATA
102  private:
103  int m_windowID;
104  bool m_bDefined;
105  bool m_bDirty;
106  CC708WindowParms m_windowParams;
107  CC708WindowAttr m_windowAttr;
108  CC708PenAttr m_penAttr;
109  CC708PenColor m_penColor;
110  CC708PenLocation m_penLoc;
111 
112 }; // CNTV2Caption708Window
113 
114 #endif // __NTV2_CEA708_SERVICE_
const int NTV2_CC708DefaultItalics
const bool NTV2_CC708NotVisible
Declares the CNTV2CaptionEncoder708 class.
const int NTV2_CC708DefaultRowCount
const bool NTV2_CC708Lock
const int NTV2_CC708DefaultBorderType
void SetWindowID(const int id)
const bool NTV2_CC708NoUnderline(false)
const int NTV2_CC708DefaultColLock
const int NTV2_CC708DefaultFontStyle
const CC708Color NTV2_CC708DefaultFillColor
const bool NTV2_CC708NoWordWrap
const int NTV2_CC708DefaultRowLock
const int NTV2_CC708DefaultColCount
const int NTV2_CC708DefaultWordWrap
const int NTV2_CC708DefaultJustify
const int NTV2_CC708DefaultPenEdgeType
const int NTV2_CC708DefaultAnchorV
const bool NTV2_CC708AbsolutePos
const int NTV2_CC708DefaultPrintDir
const UWord NTV2_CC608_MaxCol(32)
The maximum column index number (located at the right edge of the screen).
const CC708Color NTV2_CC708DefaultBorderColor
const int NTV2_CC708DefaultWindowAnchorPt
const int NTV2_CC708DefaultDisplayEffect
uint8_t UByte
Definition: ajatypes.h:218
const bool NTV2_CC708NoItalics(false)
const int NTV2_CC708DefaultEffectSpeed
const int NTV2_CC708DefaultPenStyleID
CC708CodeGroup
const int NTV2_CC708DefaultPenSize
const int NTV2_CC708DefaultTextEffectSpeed
#define AJAExport
Definition: export.h:33
const int NTV2_CC708DefaultUnderline
const int NTV2_CC708DefaultAnchorH
const int NTV2_CC708DefaultWindowStyleID
const int NTV2_CC708DefaultPenOffset
const CC708Color NTV2_CC708BlackColor(NTV2_CC708ColorMin, NTV2_CC708ColorMin, NTV2_CC708ColorMin)
const int NTV2_CC708DefaultVisible
const int NTV2_CC708DefaultRelativePos
const int NTV2_CC708DefaultTextTag
const int NTV2_CC708DefaultWindowPriority
const int NTV2_CC708DefaultScrollDir
const int NTV2_CC708DefaultEffectDir