summaryrefslogtreecommitdiff
path: root/src/gui/setup_colors.h
diff options
context:
space:
mode:
authorMajin Sniper <majinsniper@gmx.de>2009-03-12 16:48:03 +0100
committerJared Adams <jaxad0127@gmail.com>2009-03-12 19:12:46 -0600
commitb9191530c81595b0ad3d2faa6c4d21d75a720c29 (patch)
treea13f19443a464caa3329bb3d7d2c7ab378c70c9d /src/gui/setup_colors.h
parentc7fa79ff1704d86e12e12b83e1e4745ca27a543a (diff)
downloadMana-b9191530c81595b0ad3d2faa6c4d21d75a720c29.tar.gz
Mana-b9191530c81595b0ad3d2faa6c4d21d75a720c29.tar.bz2
Mana-b9191530c81595b0ad3d2faa6c4d21d75a720c29.tar.xz
Mana-b9191530c81595b0ad3d2faa6c4d21d75a720c29.zip
Extend color config gui to support the new colors
The new color palette supports many more colors that the browserbox can display. So a change to the color config gui was needed.
Diffstat (limited to 'src/gui/setup_colors.h')
-rw-r--r--src/gui/setup_colors.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/gui/setup_colors.h b/src/gui/setup_colors.h
index 050ea638..842fd6cc 100644
--- a/src/gui/setup_colors.h
+++ b/src/gui/setup_colors.h
@@ -34,6 +34,8 @@
#include "../guichanfwd.h"
+#include "widgets/textpreview.h"
+
class BrowserBox;
class Setup_Colors : public SetupTab, public gcn::ActionListener,
@@ -53,9 +55,15 @@ class Setup_Colors : public SetupTab, public gcn::ActionListener,
gcn::ListBox *mColorBox;
gcn::ScrollArea *mScroll;
BrowserBox *mPreview;
+ TextPreview *mTextPreview;
gcn::ScrollArea *mPreviewBox;
int mSelected;
+ gcn::Label *mGradTypeLabel;
+ gcn::Slider *mGradTypeSlider;
+ gcn::Label *mGradTypeText;
+// Palette::GradientType mGradType;
+
gcn::Label *mRedLabel;
gcn::Slider *mRedSlider;
TextField *mRedText;
@@ -73,5 +81,6 @@ class Setup_Colors : public SetupTab, public gcn::ActionListener,
void setEntry(gcn::Slider *s, TextField *t, int value);
void updateColor();
+ void updateGradType();
};
#endif