diff options
Diffstat (limited to 'tdeui/tests/kcolortest.h')
-rw-r--r-- | tdeui/tests/kcolortest.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/tdeui/tests/kcolortest.h b/tdeui/tests/kcolortest.h new file mode 100644 index 000000000..529a1ad74 --- /dev/null +++ b/tdeui/tests/kcolortest.h @@ -0,0 +1,21 @@ +#ifndef __KCOLORTEST_H +#define __KCOLORTEST_H + +#include <tqwidget.h> +#include <tqimage.h> +#include <kpixmap.h> + +class KColorWidget : public TQWidget +{ +public: + KColorWidget(TQWidget *parent=0, const char *name=0); + void doIntensityLoop(); +protected: + void paintEvent(TQPaintEvent *ev); +private: + TQImage image, original; + KPixmap pixmap; + +}; + +#endif |