summaryrefslogtreecommitdiff
path: root/src/gui/userpalette.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-06-16 14:54:36 +0300
committerAndrei Karas <akaras@inbox.ru>2015-06-16 15:02:24 +0300
commita469aa111546896ea73a32f247105eee507fd966 (patch)
tree7f67a891b63c569c7c30aaabfc4a5d094e0996b9 /src/gui/userpalette.h
parente9f59c64a46ad38fb47aac6313c869eaa02ed0e3 (diff)
downloadplus-a469aa111546896ea73a32f247105eee507fd966.tar.gz
plus-a469aa111546896ea73a32f247105eee507fd966.tar.bz2
plus-a469aa111546896ea73a32f247105eee507fd966.tar.xz
plus-a469aa111546896ea73a32f247105eee507fd966.zip
Add support for labels inside userpalette.
Add being colors label to userpalette.
Diffstat (limited to 'src/gui/userpalette.h')
-rw-r--r--src/gui/userpalette.h3
1 files changed, 3 insertions, 0 deletions
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;