mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue