summaryrefslogtreecommitdiff
path: root/FL
diff options
context:
space:
mode:
authorMatthias Melcher <github@matthiasm.com>2025-12-06 00:16:00 +0100
committerMatthias Melcher <github@matthiasm.com>2025-12-06 00:16:04 +0100
commitb2746ad28693d61cecaa1e9fb57ab93c0050e3d3 (patch)
tree2926036067991f88fef4ea29aa421468b754cff6 /FL
parent87160b6eb9143e044926827b82a2df021cff9c83 (diff)
Change arrow keys in log slider to even increments. #1232
Diffstat (limited to 'FL')
-rw-r--r--FL/Fl_Slider.H1
1 files changed, 1 insertions, 0 deletions
diff --git a/FL/Fl_Slider.H b/FL/Fl_Slider.H
index 8a70e4e85..ded8cde38 100644
--- a/FL/Fl_Slider.H
+++ b/FL/Fl_Slider.H
@@ -102,6 +102,7 @@ protected:
void draw_ticks(const Fl_Rect& r, int S);
double value_to_position(double val) const;
double position_to_value(double pos) const;
+ double increment_lin_log(double v, int n, int range);
public: