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; |