author | zecke <zecke> | 2004-08-22 23:17:08 (UTC) |
---|---|---|
committer | zecke <zecke> | 2004-08-22 23:17:08 (UTC) |
commit | a1cb5750328eb4e6d232568c5cc5b8ba7ef99eb5 (patch) (side-by-side diff) | |
tree | 49a955d1eb6e44f9acd8c82908928082fd067409 /noncore/tools/clock/analogclock.h | |
parent | 3f4e6c92a607424e0af2c551525a2e4915fdc03e (diff) | |
download | opie-a1cb5750328eb4e6d232568c5cc5b8ba7ef99eb5.zip opie-a1cb5750328eb4e6d232568c5cc5b8ba7ef99eb5.tar.gz opie-a1cb5750328eb4e6d232568c5cc5b8ba7ef99eb5.tar.bz2 |
Buffer painting which is hopefully flicker free and it works
with Phase and Liquid Styles
Diffstat (limited to 'noncore/tools/clock/analogclock.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/tools/clock/analogclock.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/noncore/tools/clock/analogclock.h b/noncore/tools/clock/analogclock.h index 3aa035e..2287888 100644 --- a/noncore/tools/clock/analogclock.h +++ b/noncore/tools/clock/analogclock.h @@ -27,8 +27,9 @@ class AnalogClock : public QFrame { Q_OBJECT public: AnalogClock( QWidget *parent=0, const char *name=0 ); + ~AnalogClock(); QSizePolicy sizePolicy() const; void display( const QTime& time ); @@ -41,9 +42,9 @@ private: QPoint rotate( QPoint center, QPoint p, int angle ); QTime currTime; QTime prevTime; - bool clear; + QPixmap *_pixmap; }; #endif |