VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtText2DObject.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2006 MaK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: DtText2DObject.h,v $ $Revision: 1.3 $ $State: Exp $
7 ******************************************************************************/
8 #pragma once
9 
14 
15 #include <vlutil/vlString.h>
16 
18 
23 
24 #include <vl/exerciseConn.h>
25 
26 namespace vrvControlToolkit
27 {
34  {
35  public:
50  DtText2DObject(DtExerciseConn* exConn, unsigned id, const DtString& text,
51  const DtVdcVector2D& position, DtVdcColor color = DtVdcColor::DtVdcWhite,
52  bool flashing = false );
53 
54  // \brief Virtual destructor
55  virtual ~DtText2DObject();
56 
57  private:
63 
64  public:
70  virtual DtString text() const;
71 
77  virtual void setText( const DtString& text );
78 
84  virtual DtVdcVector2D position() const;
85 
91  virtual void setPosition( const DtVdcVector2D& position );
92 
98  virtual const DtVdcColor& color() const;
99 
105  virtual void setColor (const DtVdcColor& color );
106 
112  virtual bool flashing() const;
113 
119  virtual void setFlashing( bool flashing );
120 
124  virtual void setFont(const char* fontFile, float size);
125 
126  virtual void setRemoteGraphicSet(const std::string& setName);
127 
136  virtual void update();
137 
138  protected:
143 
145  };
146 
147 }
DtDrawControlObject.h contains the class definition for DtDrawControlObject, the base class from whic...
DtVdcVector2D myPosition
Definition: DtText2DObject.h:139
DtString myText
Definition: DtText2DObject.h:142
voidpf void uLong size
Definition: ioapi.h:39
static const DtVdcColor DtVdcWhite
Constant for the color White.
Definition: DtVdcColor.h:189
A 2D Text Stealth Draw Control Object.
Definition: DtText2DObject.h:33
bool myFlashing
Definition: DtText2DObject.h:141
Definition: DtVdcVector2D.h:36
DtVdcColor myColor
Definition: DtText2DObject.h:140
DtVdcColor represents colors for Draw Control Objects.
Definition: DtVdcColor.h:24
DtDrawControlObject is the base class from which all Draw Control Objects are derived.
Definition: DtDrawControlObject.h:35
#define DT_DLL_VRVDRAWCONTROL
Definition: vrvDrawControl.h:15
Definition: 2dGraphicalObjectTextStateRecord.h:23
Dt2DGraphicalObjectTextStateRecord * myStateRecord
Definition: DtText2DObject.h:144
DtVdcColor.h contains the class definition for DtVdcColor, which is used to represent colors for all ...
Contains the Dt2DGraphicalObjectTextStateRecord class declaration.

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)