mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Added option to choose between different depth grid quantization schema.
This allows having 3m depth grid for metric users. * All original properties ( named diferently ) were renamed to three_m_based_grid everywhere to be consistent. * Plus other small changes requested during review. Signed-off-by: Vlad A. <elf128@gmail.com> Signed-off-by: Vlad A <elf128@gmail.com>
This commit is contained in:
parent
15f3918171
commit
30a964c508
10 changed files with 85 additions and 8 deletions
|
|
@ -36,6 +36,7 @@ public:
|
|||
double pointInRange(double pos) const; // Point on screen is in range of axis
|
||||
void setTextVisible(bool arg1);
|
||||
void setLinesVisible(bool arg1);
|
||||
void setGridIsMultipleOfThree(bool arg1);
|
||||
void updateTicks(int animSpeed);
|
||||
double width() const; // only for vertical axes
|
||||
double height() const; // only for horizontal axes
|
||||
|
|
@ -75,6 +76,7 @@ private:
|
|||
double min, max;
|
||||
bool textVisibility;
|
||||
bool lineVisibility;
|
||||
bool gridIsMultipleOfThree;
|
||||
double labelScale;
|
||||
double dpr;
|
||||
double labelWidth, labelHeight; // maximum expected sizes of label width and height
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue