The beginning of a settings window. Only application settings for now

This commit is contained in:
Tobias Rundstrom 2006-03-04 21:23:15 -03:00
parent 002867c17b
commit 2ae3f3bf7e
8 changed files with 265 additions and 22 deletions

View file

@ -22,13 +22,14 @@ class TextScroller : public QWidget
TextScroller (QWidget *parent, uint, uint);
~TextScroller ();
void setText(const QString &text);
void setText(QString text);
void setFontSize (int i) { m_fontsize = i; }
void setTTF (bool b) { m_ttf = b; }
public slots:
void addOffset ();
void setPixmaps(Skin *skin);
void settingsSaved (void);
protected:
QPixmap m_pixmap;
@ -44,9 +45,10 @@ class TextScroller : public QWidget
bool m_ttf;
QTimer *m_timer;
QString m_text;
void drawBitmapFont (const QString &text);
void drawQtFont (const QString &text);
void drawBitmapFont (QString text);
void drawQtFont (QString text);
};
#endif