VR-Forces Development_Version Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
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 Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (
www.mak.com
)