summaryrefslogtreecommitdiff
path: root/noncore/settings/appearance2/editScheme.h
Side-by-side diff
Diffstat (limited to 'noncore/settings/appearance2/editScheme.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/appearance2/editScheme.h48
1 files changed, 48 insertions, 0 deletions
diff --git a/noncore/settings/appearance2/editScheme.h b/noncore/settings/appearance2/editScheme.h
new file mode 100644
index 0000000..cf238c6
--- a/dev/null
+++ b/noncore/settings/appearance2/editScheme.h
@@ -0,0 +1,48 @@
+/**********************************************************************
+** EditScheme
+**
+** Dialog for editing color scheme
+**
+** Copyright (C) 2002, Dan Williams
+** williamsdr@acm.org
+** http://draknor.net
+**
+** This file may be distributed and/or modified under the terms of the
+** GNU General Public License version 2 as published by the Free Software
+** Foundation and appearing in the file LICENSE.GPL included in the
+** packaging of this file.
+**
+** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
+** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+**
+**********************************************************************/
+
+#ifndef EDITSCHEME_H
+#define EDITSCHEME_H
+
+#include <qdialog.h>
+#include <qtoolbutton.h>
+
+class QColor;
+
+class EditScheme : public QDialog
+{
+ Q_OBJECT
+
+public:
+ EditScheme( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0,
+ int = 0, QString[] = 0, QString[] = 0 );
+ ~EditScheme();
+
+ int maxCount;
+ QString surfaceList[9];
+ QString colorList[9];
+
+
+ QToolButton* colorButtons[9];
+
+protected slots:
+ void changeColor( const QColor& );
+};
+
+#endif // EDITSCHEME_H