diff options
author | Majin Sniper <majinsniper@gmx.de> | 2009-03-14 15:47:31 +0100 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-03-14 09:08:14 -0600 |
commit | 102fce1d3948277c882a0a3043b2d7423a4b4af9 (patch) | |
tree | 8183f79a499651e06f4e41e57c993179b2968179 /src/gui/setup_colors.cpp | |
parent | 28b709ebcc804c3d4a45604abcf2b200453185b9 (diff) | |
download | mana-102fce1d3948277c882a0a3043b2d7423a4b4af9.tar.gz mana-102fce1d3948277c882a0a3043b2d7423a4b4af9.tar.bz2 mana-102fce1d3948277c882a0a3043b2d7423a4b4af9.tar.xz mana-102fce1d3948277c882a0a3043b2d7423a4b4af9.zip |
Code cleanup in the color/palette code
Diffstat (limited to 'src/gui/setup_colors.cpp')
-rw-r--r-- | src/gui/setup_colors.cpp | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/src/gui/setup_colors.cpp b/src/gui/setup_colors.cpp index 7990e217..b786a7fa 100644 --- a/src/gui/setup_colors.cpp +++ b/src/gui/setup_colors.cpp @@ -155,7 +155,6 @@ Setup_Colors::Setup_Colors() : Setup_Colors::~Setup_Colors() { - //delete mPreview; if (mPreviewBox->getContent() == mPreview) { delete mTextPreview; @@ -164,27 +163,6 @@ Setup_Colors::~Setup_Colors() { delete mPreview; } - // delete mTextPreview; -// delete mPreviewBox; - -/* delete mGradTypeLabel; - delete mGradTypeSlider; - delete mGradTypeText; - - delete mRedLabel; - delete mRedSlider; - delete mRedText; - - delete mGreenLabel; - delete mGreenSlider; - delete mGreenText; - - delete mBlueLabel; - delete mBlueSlider; - delete mBlueText; - - delete mColorBox; - delete mScroll;*/ } void Setup_Colors::action(const gcn::ActionEvent &event) @@ -237,8 +215,6 @@ void Setup_Colors::action(const gcn::ActionEvent &event) case Palette::HYPERLINK: mPreviewBox->setContent(mPreview); mPreview->clearRows(); - //char ch = guiPalette->getColorCharAt(mSelected); - //std::string msg; if (ch == '<') { @@ -248,7 +224,6 @@ void Setup_Colors::action(const gcn::ActionEvent &event) { msg = "##" + toString(ch) + rawmsg; } - //std::cout << msg << std::endl; mPreview->addRow(msg); break; case Palette::PARTICLE: |