VR-Forces 5.0.2 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtTextAttribute.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2010 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvOsg/vrvOsg.h>
13 
15 
17 
18 namespace makVrv
19 {
20 
23 
26 
28  template <>
29  inline const char* creatorTypeName<DtTextAttribute>(void) { return "DtTextAttributeCreator"; }
30 
34  {
36 
37  public:
38 
40  virtual ~DtTextAttribute();
41 
43  virtual void setVisible(bool isVisible);
44 
46  virtual void setText(const DtUnicode& textString);
47 
49  virtual const DtUnicode& text() const;
50 
51  protected:
52 
55  DtTextAttribute(DtDe& de);
56 
57  protected:
58 
60  };
61 }
A unicode string. DtUnicode stores a UTF-16 encoded unicode string. Code Point, a Unicode character...
Definition: DtUnicode.h:33
DtUnicode myTextString
Definition: DtTextAttribute.h:59
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
friend DtTextAttributeCreator
Definition: DtTextAttribute.h:35
The attribute layout tells DtAttributes where to draw.
Definition: DtTextAttribute.h:33
Variadic templated creator class for defining a DtVirtualBaseClass creator that is automatically regi...
Definition: DtVirtualBaseClassCreator.h:22
const char * creatorTypeName< DtTextAttribute >(void)
template specialization for the creator (pass the class being created to the creatorTypeName template...
Definition: DtTextAttribute.h:29
The attribute layout tells DtAttributes where to draw.
Definition: DtBaseTextAttribute.h:38
DtVirtualBaseClassCreator< DtTextAttribute > DtTextAttributeCreator
creator
Definition: DtTextAttribute.h:22
Contains DLL export macros.
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:70
Contains the DtBaseTextAttribute class declaration.

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)