mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-23 19:25:54 +01:00
Compare commits
2 Commits
5a71deda15
...
4848190377
Author | SHA1 | Date | |
---|---|---|---|
4848190377 | |||
6da8ec3525 |
@ -1,4 +1,4 @@
|
||||
#include <QtWidgets>
|
||||
#include <QWidget>
|
||||
#include "flowlayout.h"
|
||||
|
||||
struct FlowLayoutItem
|
||||
|
@ -322,7 +322,7 @@ bool JLS::decode(const SubFile *file, SubFile::Handle &hdl, Matrix<qint16> &img)
|
||||
if (!readLine(bs))
|
||||
return false;
|
||||
|
||||
memcpy(&img.at(i, 0), _current + 1, _w * sizeof(quint16));
|
||||
memcpy(img.row(i), _current + 1, _w * sizeof(quint16));
|
||||
|
||||
quint16 *tmp = _last;
|
||||
_last = _current;
|
||||
|
@ -21,6 +21,7 @@ public:
|
||||
T &at(int n) {return _m[n];}
|
||||
T &at(int i, int j) {return _m[_w * i + j];}
|
||||
T const &at(int i, int j) const {return _m.at(_w * i + j);}
|
||||
T *row(int i) {return &_m[_w * i];}
|
||||
|
||||
bool isNull() const {return (_h == 0 || _w == 0);}
|
||||
int size() const {return _m.size();}
|
||||
|
@ -1,4 +1,5 @@
|
||||
#include <QtCore>
|
||||
#include <cmath>
|
||||
#include <QtMath>
|
||||
#include "common/wgs84.h"
|
||||
#include "osm.h"
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include <QtCore>
|
||||
#include <QtMath>
|
||||
#include <QDir>
|
||||
#include <QPainter>
|
||||
#include <QPixmapCache>
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include <QtCore>
|
||||
#include <QtMath>
|
||||
#include <QPainter>
|
||||
#include <QDir>
|
||||
#include <QPixmapCache>
|
||||
|
Loading…
Reference in New Issue
Block a user