summaryrefslogtreecommitdiff
path: root/src/gui/userpalette.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-12-22 02:51:13 +0300
committerAndrei Karas <akaras@inbox.ru>2017-12-22 02:51:27 +0300
commitc58b6c63c89e18a9feef819f584426d329ff38ac (patch)
treec4a79de160b0cd21f99677a0ca8d547b9f40705b /src/gui/userpalette.h
parentb54c0e944974669c4b5c1eb3f8018547c2179630 (diff)
downloadmanaverse-c58b6c63c89e18a9feef819f584426d329ff38ac.tar.gz
manaverse-c58b6c63c89e18a9feef819f584426d329ff38ac.tar.bz2
manaverse-c58b6c63c89e18a9feef819f584426d329ff38ac.tar.xz
manaverse-c58b6c63c89e18a9feef819f584426d329ff38ac.zip
Remove default parameters from userpalette.
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 4f7e0e941..bc20fb486 100644
--- a/src/gui/userpalette.h
+++ b/src/gui/userpalette.h
@@ -157,7 +157,7 @@ class UserPalette final : public Palette, public ListModel
* @return the requested color
*/
inline const Color &getColor(UserColorIdT type,
- const unsigned int alpha = 255U)
+ const unsigned int alpha)
A_WARN_UNUSED
{
if (CAST_SIZE(type) >= mColors.size())
@@ -239,7 +239,7 @@ class UserPalette final : public Palette, public ListModel
const unsigned rgb,
GradientTypeT grad,
const std::string &text,
- int delay = GRADIENT_DELAY);
+ int delay);
void addLabel(const UserColorIdT type,
const std::string &text);