Diffstat (limited to 'noncore/games/fifteen/fifteen.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/games/fifteen/fifteen.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/noncore/games/fifteen/fifteen.h b/noncore/games/fifteen/fifteen.h index 703a8a7..58eb756 100644 --- a/noncore/games/fifteen/fifteen.h +++ b/noncore/games/fifteen/fifteen.h @@ -1,10 +1,10 @@ /********************************************************************** -** Copyright (C) 2000 Trolltech AS. All rights reserved. +** Copyright (C) 2000-2002 Trolltech AS. All rights reserved. ** -** This file is part of Qtopia Environment. +** This file is part of the Qtopia Environment. ** ** This file may be distributed and/or modified under the terms of the ** GNU General Public License version 2 as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL included in the ** packaging of this file. ** @@ -21,12 +21,13 @@ #ifndef __fifteenapplet_h__ #define __fifteenapplet_h__ #include <qmainwindow.h> #include <qtableview.h> #include <qarray.h> +#include <qpointarray.h> class QPopupMenu; class PiecesTable : public QTableView { Q_OBJECT @@ -54,12 +55,14 @@ class PiecesTable : public QTableView private: QArray<int> _map; QArray<QColor> _colors; QPopupMenu *_menu; bool _randomized; + QPointArray light_border; + QPointArray dark_border; enum MenuOp { mRandomize = 1, mReset = 2 }; }; class FifteenWidget : public QWidget { @@ -74,10 +77,13 @@ private: class FifteenMainWindow : public QMainWindow { Q_OBJECT public: - FifteenMainWindow(QWidget *parent=0, const char* name=0); + static QString appName() { + return QString::fromLatin1("fifteen"); + } + FifteenMainWindow(QWidget *parent=0, const char* name=0, WFlags fl=0); }; #endif |