summaryrefslogtreecommitdiff
path: root/src/enums
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-01-27 18:20:59 +0300
committerAndrei Karas <akaras@inbox.ru>2017-01-27 18:20:59 +0300
commit19e3c0f6b80b41e1dca65899053590f59952e3fb (patch)
tree547cdc99ec11ce74d674b22003ca8927891d67a4 /src/enums
parent6917c126fbee146183433367be9a3d8fef94a1dd (diff)
downloadmv-19e3c0f6b80b41e1dca65899053590f59952e3fb.tar.gz
mv-19e3c0f6b80b41e1dca65899053590f59952e3fb.tar.bz2
mv-19e3c0f6b80b41e1dca65899053590f59952e3fb.tar.xz
mv-19e3c0f6b80b41e1dca65899053590f59952e3fb.zip
Move color names into separate file.
Diffstat (limited to 'src/enums')
-rw-r--r--src/enums/gui/colorname.h45
1 files changed, 45 insertions, 0 deletions
diff --git a/src/enums/gui/colorname.h b/src/enums/gui/colorname.h
new file mode 100644
index 000000000..41636e62e
--- /dev/null
+++ b/src/enums/gui/colorname.h
@@ -0,0 +1,45 @@
+/*
+ * The ManaPlus Client
+ * Copyright (C) 2004-2009 The Mana World Development Team
+ * Copyright (C) 2009-2010 The Mana Developers
+ * Copyright (C) 2011-2017 The ManaPlus Developers
+ * Copyright (C) 2009 Aethyra Development Team
+ *
+ * This file is part of The ManaPlus Client.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#ifndef ENUMS_GUI_COLORNAME_H
+#define ENUMS_GUI_COLORNAME_H
+
+namespace ColorName
+{
+ enum Type
+ {
+ RED = 0,
+ BLACK,
+ GREEN,
+ BLUE,
+ ORANGE,
+ YELLOW,
+ PINK,
+ PURPLE,
+ GRAY,
+ BROWN,
+ COLORS_MAX
+ };
+}
+
+#endif // ENUMS_GUI_COLORNAME_H