Maraiah/tycho/cc/mapview.cc

26 lines
329 B
C++
Raw Normal View History

2019-07-02 14:57:10 -07:00
#include "tycho.h"
MapView::MapView(Project *parent) :
2019-07-05 20:21:11 -07:00
IMapView(parent),
m_mapModel(parent->mapModel())
2019-07-02 14:57:10 -07:00
{
setMinimumSize(320, 240);
2019-07-02 14:57:10 -07:00
2019-07-05 20:21:11 -07:00
dbgPrintFunc();
2019-07-02 14:57:10 -07:00
}
MapView::~MapView()
2019-07-02 14:57:10 -07:00
{
2019-07-05 20:21:11 -07:00
dbgPrintFunc();
2019-07-02 14:57:10 -07:00
}
// TODO: move to paint.cc
extern "C" {
void paint_point(QPainter *paint, int x, int y)
{
paint->drawPoint(x, y);
}
}
2019-07-02 14:57:10 -07:00
// EOF