diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-05-31 14:50:55 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-05-31 14:50:55 +0300 |
commit | 0bb3d04819283bebb2e499d8d3b4a6acbbc7e790 (patch) | |
tree | 3dc7f6c89e468e5a15c67b5c0a69c5568a71338c /src/gui/colorpair.h | |
parent | 3551516cd6da250ee11c5fc69bbaa78162c1af3c (diff) | |
download | manaverse-0bb3d04819283bebb2e499d8d3b4a6acbbc7e790.tar.gz manaverse-0bb3d04819283bebb2e499d8d3b4a6acbbc7e790.tar.bz2 manaverse-0bb3d04819283bebb2e499d8d3b4a6acbbc7e790.tar.xz manaverse-0bb3d04819283bebb2e499d8d3b4a6acbbc7e790.zip |
Move colorpair into separate file.
Diffstat (limited to 'src/gui/colorpair.h')
-rw-r--r-- | src/gui/colorpair.h | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/src/gui/colorpair.h b/src/gui/colorpair.h new file mode 100644 index 000000000..c0c699777 --- /dev/null +++ b/src/gui/colorpair.h @@ -0,0 +1,40 @@ +/* + * The ManaPlus Client + * Copyright (C) 2012-2014 The ManaPlus Developers + * + * 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 GUI_COLORPAIR_H +#define GUI_COLORPAIR_H + +#include "localconsts.h" + +class Color; + +struct ColorPair +{ + ColorPair(const Color* c1, const Color* c2) : + color1(c1), + color2(c2) + { + } + + const Color* color1; + const Color* color2; +}; + +#endif // GUI_COLORPAIR_H |