mirror of
https://github.com/tumic0/GPXSee.git
synced 2025-01-18 19:52:09 +01:00
Some more cosmetics
This commit is contained in:
parent
6e92557806
commit
937251fbdc
@ -8,7 +8,7 @@ class Range
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
Range() {_min = 0; _max = 0;}
|
Range() {_min = 0; _max = 0;}
|
||||||
Range(int min, int max) {_min = min, _max = max;}
|
Range(int min, int max) : _min(min), _max(max) {}
|
||||||
|
|
||||||
int min() const {return _min;}
|
int min() const {return _min;}
|
||||||
int max() const {return _max;}
|
int max() const {return _max;}
|
||||||
@ -29,7 +29,7 @@ class RangeF
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
RangeF() {_min = 0; _max = 0;}
|
RangeF() {_min = 0; _max = 0;}
|
||||||
RangeF(qreal min, qreal max) {_min = min, _max = max;}
|
RangeF(qreal min, qreal max) : _min(min), _max(max) {}
|
||||||
|
|
||||||
RangeF operator&(const RangeF &r) const;
|
RangeF operator&(const RangeF &r) const;
|
||||||
RangeF &operator&=(const RangeF &r) {*this = *this & r; return *this;}
|
RangeF &operator&=(const RangeF &r) {*this = *this & r; return *this;}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user