GUIDOLib
1.7.7
Guido Engine Internal Documentation
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