1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2025-06-27 11:39:16 +02:00

Added some more map definition checking

This commit is contained in:
2018-02-27 01:02:22 +01:00
parent fa99d01a77
commit e1e49b32e6
3 changed files with 140 additions and 59 deletions

View File

@ -14,6 +14,8 @@ public:
int max() const {return _max;}
int size() const {return (_max - _min);}
bool isValid() const {return size() >= 0;}
private:
int _min, _max;
};
@ -28,6 +30,8 @@ public:
qreal max() const {return _max;}
qreal size() const {return (_max - _min);}
bool isValid() const {return size() >= 0;}
void resize(qreal size);
private: