diff options
Diffstat (limited to 'src/renderer.hpp')
| -rw-r--r-- | src/renderer.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/renderer.hpp b/src/renderer.hpp index 01ce397..f67596a 100644 --- a/src/renderer.hpp +++ b/src/renderer.hpp @@ -50,8 +50,8 @@ private: [[maybe_unused]] /* need for this method disappeared when fixing #9, might be useful in the future */ static std::list<AxisTick> GetLinearTicks(double v_min, double v_max, const std::string& v_unit, unsigned int num_ticks); - static std::list<AxisTick> GetNiceTicks(double v_min, double v_max, const std::string& v_unit, - unsigned int length_px, unsigned int est_tick_length_px); + std::list<AxisTick> GetNiceTicks(double v_min, double v_max, const std::string& v_unit, + unsigned int length_px, unsigned int min_tick_length_px, bool rotated); void RenderAxis(sf::RenderTexture& texture, const sf::Transform& t, bool lhs, Orientation orientation, double length, |
