From dc8422dbac2c45a082153240138d699c1bfc3b88 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 30 May 2015 16:04:27 +0300 Subject: Move gradient type into separate file. --- src/gui/userpalette.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/userpalette.h') diff --git a/src/gui/userpalette.h b/src/gui/userpalette.h index 249b48a0a..61f4a1799 100644 --- a/src/gui/userpalette.h +++ b/src/gui/userpalette.h @@ -143,7 +143,7 @@ class UserPalette final : public Palette, public ListModel * * @param grad gradient type to set */ - void setGradient(const int type, const Palette::GradientType grad); + void setGradient(const int type, const GradientTypeT grad); /** * Sets the gradient delay for the specified color. @@ -229,7 +229,7 @@ class UserPalette final : public Palette, public ListModel * @param text identifier of color */ void addColor(const unsigned type, const unsigned rgb, - GradientType grad, const std::string &text, + GradientTypeT grad, const std::string &text, int delay = GRADIENT_DELAY); }; -- cgit v1.2.3-60-g2f50