blob: 529a1ad747b864d1336cadc5a83e6dae005751de (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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
|