diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-10-20 01:45:57 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-10-20 13:55:43 +0300 |
commit | f5f77f16d8c0dc23ffaf4c6a8590e4c026bfcfc8 (patch) | |
tree | 8ab383dce47ed689137addbac041ef1f9e300faf /src/gui/setup_colors.cpp | |
parent | 5d02ab43ff6d3e328a3b02479c033609023edec2 (diff) | |
download | plus-f5f77f16d8c0dc23ffaf4c6a8590e4c026bfcfc8.tar.gz plus-f5f77f16d8c0dc23ffaf4c6a8590e4c026bfcfc8.tar.bz2 plus-f5f77f16d8c0dc23ffaf4c6a8590e4c026bfcfc8.tar.xz plus-f5f77f16d8c0dc23ffaf4c6a8590e4c026bfcfc8.zip |
Add palette inheritance to textfield class.
Diffstat (limited to 'src/gui/setup_colors.cpp')
-rw-r--r-- | src/gui/setup_colors.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/setup_colors.cpp b/src/gui/setup_colors.cpp index abeb96252..4e93fbb0c 100644 --- a/src/gui/setup_colors.cpp +++ b/src/gui/setup_colors.cpp @@ -63,18 +63,18 @@ Setup_Colors::Setup_Colors(const Widget2 *const widget) : mGradTypeText(new Label), mGradDelayLabel(new Label(_("Delay:"))), mGradDelaySlider(new Slider(20, 100)), - mGradDelayText(new TextField()), + mGradDelayText(new TextField(this)), mRedLabel(new Label(_("Red:"))), mRedSlider(new Slider(0, 255)), - mRedText(new TextField), + mRedText(new TextField(this)), mRedValue(0), mGreenLabel(new Label(_("Green:"))), mGreenSlider(new Slider(0, 255)), - mGreenText(new TextField), + mGreenText(new TextField(this)), mGreenValue(0), mBlueLabel(new Label(_("Blue:"))), mBlueSlider(new Slider(0, 255)), - mBlueText(new TextField), + mBlueText(new TextField(this)), mBlueValue(0) { setName(_("Colors")); |