summaryrefslogtreecommitdiffstats
path: root/tdeui/tests/kblendtest.h
blob: f35afbb5f1cbc6e7ac847444a6c26dba616a2612 (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 TQWidget
{
public:
    KBlendWidget(TQWidget *parent=0, const char *name=0);
protected:
    void paintEvent(TQPaintEvent *ev);
private:
    TQImage image, original;
    TQColor bgnd;
};

#endif