VR-Forces 4.3.1 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
vrfGuiCore
sharedFontDatabase.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 Wed Jul 29 00:55:00 EDT 2015 from SVN revision 155257
Copyright © 2005-2015 VT MÄK. All Rights Reserved (
www.mak.com
)