From a469aa111546896ea73a32f247105eee507fd966 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 16 Jun 2015 14:54:36 +0300 Subject: Add support for labels inside userpalette. Add being colors label to userpalette. --- src/gui/userpalette.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/gui/userpalette.h') diff --git a/src/gui/userpalette.h b/src/gui/userpalette.h index e5e9465f9..1cfc28cde 100644 --- a/src/gui/userpalette.h +++ b/src/gui/userpalette.h @@ -250,6 +250,9 @@ class UserPalette final : public Palette, public ListModel GradientTypeT grad, const std::string &text, int delay = GRADIENT_DELAY); + + void addLabel(const UserColorIdT type, + const std::string &text); }; extern UserPalette *userPalette; -- cgit v1.2.3-70-g09d2