GUIDOLib
1.7.7
Guido Engine Internal Documentation
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
Functions
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
~
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
y
Typedefs
Enumerations
_
a
b
c
d
e
f
h
m
o
p
r
s
t
v
Enumerator
a
b
c
d
e
f
h
k
l
m
n
o
p
r
s
t
u
v
Related Functions
a
d
g
v
•
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Modules
Pages
src
engine
misc
HtmlColors.h
1
#ifndef __htmlcolors__
2
#define __htmlcolors__
3
4
5
/*
6
GUIDO Library
7
Copyright (C) 2014 Grame
8
9
This Source Code Form is subject to the terms of the Mozilla Public
10
License, v. 2.0. If a copy of the MPL was not distributed with this
11
file, You can obtain one at http://mozilla.org/MPL/2.0/.
12
13
Grame Research Laboratory, 11, cours de Verdun Gensoul 69002 Lyon - France
14
research@grame.fr
15
16
*/
17
18
#include <map>
19
#include <string>
20
21
class
HtmlColor
{
22
static
std::map<std::string, long> fColorsMap;
23
24
public
:
25
HtmlColor
();
26
27
static
void
init
();
28
static
bool
get
(
const
char
* name,
unsigned
char
* c);
29
static
bool
get
(
long
color,
unsigned
char
* c);
30
};
31
32
#endif
HtmlColor::get
static bool get(const char *name, unsigned char *c)
HtmlColor
Definition:
HtmlColors.h:21
HtmlColor::HtmlColor
HtmlColor()
HtmlColor::init
static void init()
Guido Project
Copyright © 2019
Grame-CNCM