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:
parent
abadbb6783
commit
766546fc19
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user