profile: Add a DiveCartesianAxis::Position enum

To properly layout the axes, it is necessary to specify on
which side of the chart they are located.

There is already an "Orientation" enum. However, that gives
the direction (top-to-bottom, etc.), but not the position.
It might become obsolete in the future, since the direction
can also be expressed by setting min and max accordingly.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2021-08-28 19:25:52 +02:00 committed by Dirk Hohndel
parent abadbb6783
commit 766546fc19

View file

@ -29,6 +29,9 @@ public:
LeftToRight,
RightToLeft
};
enum class Position {
Left, Right, Bottom
};
DiveCartesianAxis(double dpr, bool printMode, ProfileScene &scene);
~DiveCartesianAxis();
void setMinimum(double minimum);