You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdemultimedia/noatun/modules/kjofol-skin/kjseeker.h

38 lines
602 B

#ifndef KJSEEKER_H
#define KJSEEKER_H
#include "kjwidget.h"
//#include "kjloader.h"
class KJLoader;
#include <qpainter.h>
class KJSeeker : public KJWidget
{
public:
KJSeeker(const QStringList &i, KJLoader *);
~KJSeeker();
virtual void paint(QPainter *, const QRect &rect);
virtual bool mousePress(const QPoint &pos);
virtual void mouseRelease(const QPoint &pos, bool);
void timeUpdate(int mille);
void closest();
private:
QPixmap *toPixmap(int n);
private:
QImage mScale;
QImage mActive;
QPixmap *barmode[256];
QImage *barmodeImages[256];
QBitmap barModeMask;
int g;
};
#endif