mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
profile: set DiveCartesianAxis::fontLabelScale in constructor
This never changes, no need for the complexities of a setter function. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
4b9177c098
commit
f19ab2e4fd
3 changed files with 13 additions and 23 deletions
|
|
@ -33,12 +33,11 @@ public:
|
|||
Left, Right, Bottom
|
||||
};
|
||||
DiveCartesianAxis(Position position, color_index_t gridColor, double dpr,
|
||||
bool printMode, bool isGrayscale, ProfileScene &scene);
|
||||
double labelScale, bool printMode, bool isGrayscale, ProfileScene &scene);
|
||||
~DiveCartesianAxis();
|
||||
void setBounds(double min, double max);
|
||||
void setTickInterval(double interval);
|
||||
void setOrientation(Orientation orientation);
|
||||
void setFontLabelScale(qreal scale);
|
||||
double minimum() const;
|
||||
double maximum() const;
|
||||
std::pair<double, double> screenMinMax() const;
|
||||
|
|
@ -108,7 +107,7 @@ class PartialGasPressureAxis : public DiveCartesianAxis {
|
|||
Q_OBJECT
|
||||
public:
|
||||
PartialGasPressureAxis(const DivePlotDataModel &model, Position position, color_index_t gridColor,
|
||||
double dpr, bool printMode, bool isGrayscale, ProfileScene &scene);
|
||||
double dpr, double labelScale, bool printMode, bool isGrayscale, ProfileScene &scene);
|
||||
void update(int animSpeed);
|
||||
double width() const;
|
||||
private:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue