VR-Forces 4.6.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
vrvCore
DtWidget.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2013 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
9
10
#pragma once
11
12
#include <
vrvCore/vrvCore.h
>
13
#include <
vrvCore/DtUniqueID.h
>
14
#include <string>
15
16
namespace
makVrv
17
{
18
19
class
DtDe;
20
23
class
DT_DLL_VRVCORE
DtWidget
24
{
25
public
:
26
DtWidget
(
DtDe
& de,
DtUniqueID
id
);
27
28
virtual
~
DtWidget
();
29
31
virtual
void
setOverlay(
unsigned
int
overlay) = 0;
32
34
virtual
unsigned
int
overlay()
const
= 0;
35
37
virtual
void
setOrderGroup(
unsigned
int
group) = 0;
38
40
virtual
void
setRotation(
float
) = 0;
41
43
virtual
unsigned
int
orderGroup()
const
= 0;
44
46
virtual
void
setParentId(
DtUniqueID
id
);
47
49
virtual
void
setPosition(
float
x,
float
y,
float
z,
float
w = 0) = 0;
50
52
virtual
void
setBackgroundImage(
const
std::string&
filename
) = 0;
53
55
virtual
void
setColor(
float
r,
float
g,
float
b,
float
a) = 0;
56
59
virtual
void
setOrigin(
float
originX,
float
originY) = 0;
60
62
virtual
void
setSize(
float
w,
float
h) = 0;
63
65
virtual
void
setPadding(
float
paddingX,
float
paddingY) = 0;
66
69
virtual
void
setModelDefinition(
const
std::string& str) = 0;
70
72
virtual
void
setEventsEnabled(
bool
enabled) = 0;
73
75
virtual
void
setVisible(
bool
visible) = 0;
76
77
protected
:
78
DtDe
&
myDe
;
79
DtUniqueID
myId
;
80
DtUniqueID
myParentId
;
81
82
};
83
}
Document ID: Generated on Wed Jul 25 16:57:45 EDT 2018 from SVN revision 190790
Copyright © 2005-2018 VT MÄK. All Rights Reserved (
www.mak.com
)