VR-Forces 4.1.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrvCore
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
>
17
#include <
vrvCore/DtSetVisibilityInterface.h
>
18
#include <
vrvCore/DtWindowText.h
>
19
20
#include <vector>
21
22
namespace
makVrv
23
{
27
class
DT_DLL_VRVCORE
DtWindowTextInstance
:
public
DtSetVisibilityInterface
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 Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)