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:
@ -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:
|
||||
|
Reference in New Issue
Block a user