VR-Forces 4.3.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Dt2DTextStateVisualizer.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2012 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvCore/vrvCore.h>
15 #include <vrvCore/DtWindowTextAgent.hpp>
18 
19 namespace makVrv
20 {
25  {
26  public:
29  DtStateListener& listener, int modelSet);
30 
32  virtual ~Dt2DTextStateVisualizer();
33 
35  virtual void setTopLeftCorner(float x, float y);
36 
38  virtual void setColor(float r,float g,float b,float a);
39 
41  virtual void setText(const std::string& textString);
42 
44  virtual void setFont(const std::string& fontFile, float sizeInPoints);
45 
47  virtual void setTextBoxWidth(unsigned int widthInPixels);
48 
50  virtual void setAlignment(unsigned int alignment);
51 
53  virtual void setFlashing(bool blinking);
54 
56  virtual const DtStateVisualizer::TypeInfo& typeInfo() const;
57 
59  static const DtStateVisualizer::TypeInfo& theTypeInfo();
60 
61  protected:
64  virtual void setVisible(bool yesNo);
65 
67  virtual void createModelAgents();
68 
75  virtual void destroyModelAgents();
76 
78  virtual void setModelDefinitionForAgents();
79 
80  DtWindowTextAgent* myTextAgent;
82  };
83 
88 }

Document ID: Generated on Wed Jul 29 00:55:00 EDT 2015 from SVN revision 155257
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)