VR-Forces 4.10 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 #pragma once
6 
11 
12 #include <vlutil/vlString.h>
13 
15 
20 
21 #include <vl/exerciseConn.h>
22 
23 namespace vrvControlToolkit
24 {
31  {
32  public:
47  DtText2DObject(DtExerciseConn* exConn, unsigned id, const DtString& text,
48  const DtVdcVector2D& position, DtVdcColor color = DtVdcColor::DtVdcWhite,
49  bool flashing = false );
50 
51  // \brief Virtual destructor
52  virtual ~DtText2DObject();
53 
54  private:
60 
61  public:
67  virtual DtString text() const;
68 
74  virtual void setText( const DtString& text );
75 
81  virtual DtVdcVector2D position() const;
82 
88  virtual void setPosition( const DtVdcVector2D& position );
89 
95  virtual const DtVdcColor& color() const;
96 
102  virtual void setColor (const DtVdcColor& color );
103 
109  virtual bool flashing() const;
110 
116  virtual void setFlashing( bool flashing );
117 
121  virtual void setFont(const char* fontFile, float size);
122 
123  virtual void setRemoteGraphicSet(const std::string& setName);
124 
133  virtual void update();
134 
135  protected:
140 
142  };
143 
144 }
DtDrawControlObject.h contains the class definition for DtDrawControlObject, the base class from whic...
DtVdcVector2D myPosition
Definition: DtText2DObject.h:136
DtString myText
Definition: DtText2DObject.h:139
voidpf void uLong size
Definition: ioapi.h:39
static const DtVdcColor DtVdcWhite
Constant for the color White.
Definition: DtVdcColor.h:186
A 2D Text Stealth Draw Control Object.
Definition: DtText2DObject.h:30
bool myFlashing
Definition: DtText2DObject.h:138
Definition: DtVdcVector2D.h:33
DtVdcColor myColor
Definition: DtText2DObject.h:137
DtVdcColor represents colors for Draw Control Objects.
Definition: DtVdcColor.h:21
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:141
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 Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)