Change playlist to use Esperanza's playlistmodel
This commit is contained in:
parent
85cf6a8d1c
commit
503385309b
96 changed files with 2010 additions and 412 deletions
30
src/SmallNumberDisplay.h
Normal file
30
src/SmallNumberDisplay.h
Normal file
|
@ -0,0 +1,30 @@
|
|||
#ifndef __SMALLNUMBERDISPLAY_H__
|
||||
#define __SMALLNUMBERDISPLAY_H__
|
||||
|
||||
#include "PixWidget.h"
|
||||
#include <QPainter>
|
||||
|
||||
|
||||
class SmallNumberDisplay : public PixWidget
|
||||
{
|
||||
Q_OBJECT;
|
||||
|
||||
public:
|
||||
SmallNumberDisplay (QWidget *parent, int w);
|
||||
~SmallNumberDisplay () { };
|
||||
|
||||
void setNumber (int num, int len);
|
||||
int getNumber (void) const { return m_num; }
|
||||
|
||||
public slots:
|
||||
void setPixmaps (Skin *skin);
|
||||
|
||||
private:
|
||||
char m_nums[2];
|
||||
int m_num;
|
||||
int m_w;
|
||||
|
||||
void drawNumber (void);
|
||||
};
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue