VR-Forces 4.3.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DtWindowTextInstance.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2010 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: DtWindowTextInstance.h,v $ $Revision: 1.0 $ $State: Exp $
7 ******************************************************************************/
8 
12 
13 #ifndef DtWindowTextInstance_H_
14 #define DtWindowTextInstance_H_
15 
16 #include <vrvCore/vrvCore.h>
18 #include <vrvCore/DtWindowText.h>
19 
20 #include <vector>
21 
22 namespace makVrv
23 {
28  {
29  public:
31  struct Vertex
32  {
33  double x;
34  double y;
35  };
36 
37  typedef std::vector<Vertex> VertexList;
38 
40  virtual ~DtWindowTextInstance();
41 
43  virtual void setTopLeftCorner(float x, float y) = 0;
44 
46  virtual void setVisible(bool isVisible) = 0;
47 
49  virtual void setColor(float r,float g,float b,float a) = 0;
50 
52  virtual void setText(const std::string& textString) = 0;
53 
55  virtual void setFont(const std::string& fontFile, float sizeInPoints) = 0;
56 
58  virtual void setTextBoxWidth(unsigned int widthInPixels) = 0;
59 
61  virtual void setAlignment(DtWindowText::TextAlignment alignment) = 0;
62  };
63 }
64 
65 #endif

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)