new 4475edb243ed4627f4c5f2c470ca40b3def034d4
[tagua/yd.git] / src / infodisplay.h
blob1237eea22227262f4c411f8717a135f531d968f2
1 /*
2 Copyright (c) 2006 Paolo Capriotti <p.capriotti@gmail.com>
3 (c) 2006 Maurizio Monge <maurizio.monge@kdemail.net>
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2 of the License, or
8 (at your option) any later version.
9 */
11 #ifndef INFODISPLAY_H
12 #define INFODISPLAY_H
14 #include "kgamecanvas.h"
16 class MessageItem;
18 class InfoDisplay : public KGameCanvasGroup {
19 MessageItem* m_message;
20 protected:
21 void resizeEvent(QResizeEvent*);
22 public:
23 InfoDisplay(KGameCanvasAbstract* parent = 0);
24 ~InfoDisplay();
25 void setMessage(const QString&);
26 void settingsChanged();
29 #endif // INFODISPLAY_H