author | drw <drw> | 2004-12-20 14:49:49 (UTC) |
---|---|---|
committer | drw <drw> | 2004-12-20 14:49:49 (UTC) |
commit | 29b27cf61a7cb862a0236c8b319ff1843669142c (patch) (side-by-side diff) | |
tree | a2dee12e4241103259840385020ae317c8814d69 /noncore/games/tetrix/qtetrix.h | |
parent | 480a3ae1b4ed502fbd75e345c41ad4c469eff140 (diff) | |
download | opie-29b27cf61a7cb862a0236c8b319ff1843669142c.zip opie-29b27cf61a7cb862a0236c8b319ff1843669142c.tar.gz opie-29b27cf61a7cb862a0236c8b319ff1843669142c.tar.bz2 |
Reapply fix for bug #1017 - Tetrix on high resolution screens
Diffstat (limited to 'noncore/games/tetrix/qtetrix.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/games/tetrix/qtetrix.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/noncore/games/tetrix/qtetrix.h b/noncore/games/tetrix/qtetrix.h index c8959c5..8c44b77 100644 --- a/noncore/games/tetrix/qtetrix.h +++ b/noncore/games/tetrix/qtetrix.h @@ -54,16 +54,24 @@ class QTetrix : public QMainWindow public: static QString appName() { return QString::fromLatin1("tetrix"); } QTetrix( QWidget *parent=0, const char *name=0, WFlags f=0 ); void startGame() { board->startGame(); } public slots: + void setup(); void gameOver(); void quit(); + + void setNext( int x, int y, QColor *color ); +// void setScore( int score ); +// void setLevel( int level ); +// void setLines( int lines ); + private: void keyPressEvent( QKeyEvent *e ) { board->keyPressEvent(e); } + void resizeEvent( QResizeEvent * ); QTetrixBoard *board; ShowNextPiece *showNext; QLabel *showScore; QLabel *showLevel; QLabel *showLines; |