2
* Copyright 2010 Inalogic Inc.
4
* This program is free software: you can redistribute it and/or modify it
5
* under the terms of the GNU Lesser General Public License version 3, as
6
* published by the Free Software Foundation.
8
* This program is distributed in the hope that it will be useful, but
9
* WITHOUT ANY WARRANTY; without even the implied warranties of
10
* MERCHANTABILITY, SATISFACTORY QUALITY or FITNESS FOR A PARTICULAR
11
* PURPOSE. See the applicable version of the GNU Lesser General Public
12
* License for more details.
14
* You should have received a copy of both the GNU Lesser General Public
15
* License version 3 along with this program. If not, see
16
* <http://www.gnu.org/licenses/>
18
* Authored by: Jay Taoko <jay.taoko_AT_gmail_DOT_com>
23
#ifndef UICOLORTHEME_H
24
#define UICOLORTHEME_H
26
#include "NuxCore/Color.h"
31
class UIColorThemeImpl
37
Color mUI_BackgroundColor0;
38
Color mUI_BackgroundColor1;
40
Color mUI_ForegroundColor0;
41
Color mUI_ForegroundColor1;
44
Color mUI_DisabledText_Color;
45
Color mUI_EditableText_Color;
47
Color mUI_EditableText_BackgroundColor;
48
Color mUI_DisableEditableText_BackgroundColor;
51
static UIColorThemeImpl &Instance();
53
static UIColorThemeImpl *m_pInstance;
56
UIColorThemeImpl (const UIColorThemeImpl &);
57
// Does not make sense for a singleton. This is a self assignment.
58
UIColorThemeImpl &operator= (const UIColorThemeImpl &);
59
// Declare operator adress-of as private
60
UIColorThemeImpl *operator &();
61
~UIColorThemeImpl() {};
64
#define gUIColorTheme UIColorThemeImpl::Instance()
68
#endif // UICOLORTHEME_H