summaryrefslogtreecommitdiffstats
path: root/qt-ui/printoptions.h
diff options
context:
space:
mode:
authorGravatar Gehad elrobey <gehadelrobey@gmail.com>2015-08-07 09:54:09 +0200
committerGravatar Lubomir I. Ivanov <neolit123@gmail.com>2015-08-15 15:02:30 +0300
commit1dbe10fe278650430beca638976ea7df3b5c76fd (patch)
tree012d141cf23cc0c410a2894ce040c0402e2e1d8b /qt-ui/printoptions.h
parent1a2f154cf49041a223e5801328beb68cb8b42442 (diff)
downloadsubsurface-1dbe10fe278650430beca638976ea7df3b5c76fd.tar.gz
Printing: add another color in color palettes
Add another color 'Table cells 2' to the color palette, make all the backgrounds solid white by default. Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com> Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com>
Diffstat (limited to 'qt-ui/printoptions.h')
-rw-r--r--qt-ui/printoptions.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/qt-ui/printoptions.h b/qt-ui/printoptions.h
index 4903da09f..aff8ed1d9 100644
--- a/qt-ui/printoptions.h
+++ b/qt-ui/printoptions.h
@@ -27,12 +27,14 @@ struct template_options {
QColor color3;
QColor color4;
QColor color5;
+ QColor color6;
bool operator!=(const color_palette_struct &other) const {
return other.color1 != color1
|| other.color2 != color2
|| other.color3 != color3
|| other.color4 != color4
- || other.color5 != color5;
+ || other.color5 != color5
+ || other.color6 != color6;
}
} color_palette;
bool operator!=(const template_options &other) const {