blob: b0f4485dd939c3798841a16dd4902d83db4cd6bb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
//
// Simple little hack to show off blending effects.
//
// (C) KDE Artistic Cristian Tibirna <tibirna@kde.org>
//
#ifndef __KBLEND_TEST_H
#define __KBLEND_TEST_H
#include <tqwidget.h>
#include <tqimage.h>
class KBlendWidget : public QWidget
{
public:
KBlendWidget(TQWidget *parent=0, const char *name=0);
protected:
void paintEvent(TQPaintEvent *ev);
private:
TQImage image, original;
TQColor bgnd;
};
#endif
|