diff options
Diffstat (limited to 'src/mapwidget.h')
-rw-r--r-- | src/mapwidget.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/src/mapwidget.h b/src/mapwidget.h new file mode 100644 index 0000000..fcc8b28 --- /dev/null +++ b/src/mapwidget.h @@ -0,0 +1,33 @@ +/* + mapwidget.h + This file is part of the Project::OSiRiON zone editor + and is distributed under the terms and conditions of + the GNU General Public License version 2 +*/ + +#ifndef __INCLUDED_EDITOR_MAPWIDGET__ +#define __INCLUDED_EDITOR_MAPWIDGET__ + +#include <QWidget> + +namespace editor +{ + +class MapWidget : public QWidget +{ + Q_OBJECT + +public: + MapWidget(QWidget *parent = 0); + +protected: + + virtual void paintEvent(QPaintEvent *event); + virtual void wheelEvent(QWheelEvent *event); +private: + int mapwidget_zoom; +}; + +} + +#endif // __INCLUDED_EDITOR_MAPWIDGET__
\ No newline at end of file |