summaryrefslogtreecommitdiff
path: root/src/gui/models
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-05-31 14:50:55 +0300
committerAndrei Karas <akaras@inbox.ru>2014-05-31 14:50:55 +0300
commit0bb3d04819283bebb2e499d8d3b4a6acbbc7e790 (patch)
tree3dc7f6c89e468e5a15c67b5c0a69c5568a71338c /src/gui/models
parent3551516cd6da250ee11c5fc69bbaa78162c1af3c (diff)
downloadmanaplus-0bb3d04819283bebb2e499d8d3b4a6acbbc7e790.tar.gz
manaplus-0bb3d04819283bebb2e499d8d3b4a6acbbc7e790.tar.bz2
manaplus-0bb3d04819283bebb2e499d8d3b4a6acbbc7e790.tar.xz
manaplus-0bb3d04819283bebb2e499d8d3b4a6acbbc7e790.zip
Move colorpair into separate file.
Diffstat (limited to 'src/gui/models')
-rw-r--r--src/gui/models/colormodel.h14
1 files changed, 2 insertions, 12 deletions
diff --git a/src/gui/models/colormodel.h b/src/gui/models/colormodel.h
index f3d6f3617..068da0dd9 100644
--- a/src/gui/models/colormodel.h
+++ b/src/gui/models/colormodel.h
@@ -23,6 +23,8 @@
#include "utils/stringvector.h"
+#include "gui/colorpair.h"
+
#include "gui/models/listmodel.h"
#include "localconsts.h"
@@ -30,18 +32,6 @@
class Color;
class Widget2;
-struct ColorPair
-{
- ColorPair(const Color* c1, const Color* c2) :
- color1(c1),
- color2(c2)
- {
- }
-
- const Color* color1;
- const Color* color2;
-};
-
class ColorModel : public ListModel
{
public: