VR-Forces 4.1.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfGuiCore
DtSharedFontDatabase.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 2012 MAK Technologies, Inc.
3
** All rights reserved.
4
******************************************************************************/
5
/******************************************************************************
6
** $RCSfile: DtSharedFontDatabase.h,v $ $Revision: 1.12 $ $State: Exp $
7
******************************************************************************/
8
11
13
14
#pragma once
15
16
#include <
vrfGuiCore/vrfGuiCore.h
>
17
#include <
vrvCore/DtSharedSettings.h
>
18
19
#include <map>
20
21
namespace
makVrf
22
{
23
const
int
TTS_FONT_BOLD
= 0x00000001;
24
const
int
TTS_FONT_ITALIC
= 0x00000002;
25
27
class
DT_DLL_VRFGUICORE
DtSharedFontDatabase
:
public
makVrv::DtSharedSettings
28
{
29
public
:
30
31
public
:
34
friend
class
makVrv::DtReadSettingsLock
<
DtSharedFontDatabase
>;
35
friend
class
makVrv::DtWriteSettingsLock
<
DtSharedFontDatabase
>;
36
friend
class
makVrv::DtSharedSettingsManager
;
37
41
static
std::string className();
42
44
virtual
~
DtSharedFontDatabase
();
45
47
virtual
std::string fontFileFor(
const
std::string& family,
int
flags = 0)
const
;
48
50
virtual
std::string fontFromFile(
const
std::string& file)
const
;
51
53
virtual
void
addFont(
const
std::string& family,
const
std::string& fileName);
54
55
protected
:
56
DtSharedFontDatabase
(
makVrv::DtSharedSettingsManager
&);
57
58
protected
:
59
std::map<std::string, std::string>
myFontFileMap
;
60
};
61
}
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
)