author | leseb <leseb> | 2002-04-15 22:40:28 (UTC) |
---|---|---|
committer | leseb <leseb> | 2002-04-15 22:40:28 (UTC) |
commit | a91544d04ed391bbdc0c6f95ff8a80d35190788c (patch) (side-by-side diff) | |
tree | 85dea85fd8a1cdb6d2d18fef57753d0b5e4bd143 /noncore/games/kpacman/kpacmanwidget.h | |
parent | 6396d8b9fca7f3f50010a13a26e4ee9569abefb3 (diff) | |
download | opie-a91544d04ed391bbdc0c6f95ff8a80d35190788c.zip opie-a91544d04ed391bbdc0c6f95ff8a80d35190788c.tar.gz opie-a91544d04ed391bbdc0c6f95ff8a80d35190788c.tar.bz2 |
New directory structure
Diffstat (limited to 'noncore/games/kpacman/kpacmanwidget.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/games/kpacman/kpacmanwidget.h | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/noncore/games/kpacman/kpacmanwidget.h b/noncore/games/kpacman/kpacmanwidget.h new file mode 100644 index 0000000..13b4a15 --- a/dev/null +++ b/noncore/games/kpacman/kpacmanwidget.h @@ -0,0 +1,50 @@ +#ifndef KPACMANWIDGET_H +#define KPACMANWIDGET_H + +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include "portable.h" + +#if defined( KDE2_PORT ) +#include <kapp.h> +#endif + +#include <qwidget.h> +#include <qregexp.h> + +#include "score.h" +#include "referee.h" +#include "status.h" +#include "painter.h" + +class KpacmanWidget : public QWidget +{ + Q_OBJECT +public: + KpacmanWidget ( QWidget *parent = 0, const char *name = 0); + virtual ~KpacmanWidget(); + + void setScheme(int scheme=-1, int mode=-1); + Score *score; + Referee *referee; + Status *status; + +protected: + void confScheme(); + void confMisc(bool defGroup=TRUE); + void resizeEvent( QResizeEvent * ); + +private: + Bitfont *bitfont; + uchar bitfontFirstChar; + uchar bitfontLastChar; + + QString fontName; + + int scheme; + int mode; +}; + +#endif // KPACMANWIDGET_H |