diff options
author | Gehad elrobey <gehadelrobey@gmail.com> | 2015-07-26 19:57:57 +0200 |
---|---|---|
committer | Lubomir I. Ivanov <neolit123@gmail.com> | 2015-07-28 11:39:25 +0300 |
commit | ed5afc510ed4d0756aadbadd57d8b58f37857ef1 (patch) | |
tree | 4b4a398bb4dfd80431a298b5a0f47737d2ccaf80 /qt-ui/printoptions.h | |
parent | d41d79b549cdfb0ff3c785eae09a504a46fb4b96 (diff) | |
download | subsurface-ed5afc510ed4d0756aadbadd57d8b58f37857ef1.tar.gz |
Printing: don't name color templates with confusing numbers
Use the color_palette enum instead.
Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com>
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Diffstat (limited to 'qt-ui/printoptions.h')
-rw-r--r-- | qt-ui/printoptions.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/qt-ui/printoptions.h b/qt-ui/printoptions.h index 5a4ca3504..2e2e2a9f4 100644 --- a/qt-ui/printoptions.h +++ b/qt-ui/printoptions.h @@ -46,6 +46,12 @@ struct template_options { extern template_options::color_palette_struct almond_colors, blueshades_colors, custom_colors; +enum color_palette { + ALMOND, + BLUESHADES, + CUSTOM +}; + // should be based on a custom QPrintDialog class class PrintOptions : public QWidget { Q_OBJECT |