VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator 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 
22 #include <vrfExtObjects/2dGraphicalObjectTextStateRecord.h>
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 
144  Dt2DGraphicalObjectTextStateRecord* myStateRecord;
145  };
146 
147 }

Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)