zenilib
0.5.3.0
Main Page
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
Colors.h
Go to the documentation of this file.
1
/* This file is part of the Zenipex Library (zenilib).
2
* Copyright (C) 2011 Mitchell Keith Bloch (bazald).
3
*
4
* zenilib is free software: you can redistribute it and/or modify
5
* it under the terms of the GNU Lesser General Public License as published by
6
* the Free Software Foundation, either version 3 of the License, or
7
* (at your option) any later version.
8
*
9
* zenilib is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
* GNU Lesser General Public License for more details.
13
*
14
* You should have received a copy of the GNU Lesser General Public License
15
* along with zenilib. If not, see <http://www.gnu.org/licenses/>.
16
*/
17
34
#ifndef ZENI_COLORS_H
35
#define ZENI_COLORS_H
36
37
#include <
Zeni/Color.h
>
38
#include <
Zeni/Database.h
>
39
#include <
Zeni/Singleton.h
>
40
41
namespace
Zeni {
42
43
class
ZENI_DLL Colors;
44
45
#ifdef _WINDOWS
46
ZENI_EXT
template
class
ZENI_DLL Singleton<Colors>;
47
ZENI_EXT
template
class
ZENI_DLL Database<Color>;
48
#endif
49
50
class
ZENI_DLL
Colors
:
public
Singleton<Colors>
,
public
Database<Color>
{
51
friend
class
Singleton<Colors>
;
52
53
static
Colors
* create();
54
55
Colors
();
56
~
Colors
();
57
58
// Undefined
59
Colors
(
const
Colors
&);
60
Colors
& operator=(
const
Colors
&);
61
62
virtual
Color
* load(
XML_Element_c
&xml_element,
const
String
&
name
,
const
String
&
filename
);
63
};
64
65
ZENI_DLL
Colors
&
get_Colors
();
66
67
}
68
69
#endif
Zeni::Singleton< Colors >
Zeni::get_Colors
Colors & get_Colors()
Get access to the singleton.
Definition:
Colors.cpp:51
Zeni::Colors
A Color database read in from a file.
Definition:
Colors.h:50
name
EGLImageKHR EGLint * name
Definition:
eglext.h:284
Zeni::String
Definition:
String.h:29
Zeni::Database< Color >
sort_controllers.filename
string filename
Definition:
sort_controllers.py:8
Database.h
Singleton.h
Zeni::XML_Element_c
Definition:
XML.h:53
Color.h
Zeni::Color
Color.
Definition:
Color.h:41
zenilib
jni
external
zenilib
zeni
Zeni
Colors.h
Generated on Thu Oct 3 2013 19:56:43 for zenilib by
1.8.5