mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
profile: set minimum/maximum of axes with a single call
This is bike-shedding: Instead of two setMinimum()/setMaximum() calls, use a single setBounds() call. A few axes (notably depth and time) always have a 0 as lower bound. However, this will change once there is a proper zooming functionality. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
0bef8167d2
commit
89d9105209
4 changed files with 13 additions and 28 deletions
|
|
@ -35,8 +35,7 @@ public:
|
|||
DiveCartesianAxis(Position position, color_index_t gridColor, double dpr,
|
||||
bool printMode, bool isGrayscale, ProfileScene &scene);
|
||||
~DiveCartesianAxis();
|
||||
void setMinimum(double minimum);
|
||||
void setMaximum(double maximum);
|
||||
void setBounds(double min, double max);
|
||||
void setTickInterval(double interval);
|
||||
void setOrientation(Orientation orientation);
|
||||
void setFontLabelScale(qreal scale);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue