diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-05-30 16:04:27 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-05-30 16:04:27 +0300 |
commit | dc8422dbac2c45a082153240138d699c1bfc3b88 (patch) | |
tree | d073286b567fe45179440e678be779c8eb8c0f0e /src/gui/userpalette.h | |
parent | aa86dbe6a7c966a4bfa7aa6c81218fe58f0bf92d (diff) | |
download | ManaVerse-dc8422dbac2c45a082153240138d699c1bfc3b88.tar.gz ManaVerse-dc8422dbac2c45a082153240138d699c1bfc3b88.tar.bz2 ManaVerse-dc8422dbac2c45a082153240138d699c1bfc3b88.tar.xz ManaVerse-dc8422dbac2c45a082153240138d699c1bfc3b88.zip |
Move gradient type into separate file.
Diffstat (limited to 'src/gui/userpalette.h')
-rw-r--r-- | src/gui/userpalette.h | 4 |
1 files changed, 2 insertions, 2 deletions
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); }; |