summaryrefslogtreecommitdiff
path: root/src/gui/userpalette.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-30 16:04:27 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-30 16:04:27 +0300
commitdc8422dbac2c45a082153240138d699c1bfc3b88 (patch)
treed073286b567fe45179440e678be779c8eb8c0f0e /src/gui/userpalette.h
parentaa86dbe6a7c966a4bfa7aa6c81218fe58f0bf92d (diff)
downloadmanaplus-dc8422dbac2c45a082153240138d699c1bfc3b88.tar.gz
manaplus-dc8422dbac2c45a082153240138d699c1bfc3b88.tar.bz2
manaplus-dc8422dbac2c45a082153240138d699c1bfc3b88.tar.xz
manaplus-dc8422dbac2c45a082153240138d699c1bfc3b88.zip
Move gradient type into separate file.
Diffstat (limited to 'src/gui/userpalette.h')
-rw-r--r--src/gui/userpalette.h4
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);
};