e74cb666ed3c110f404a24ba94d04dbc0c39d402
Despite what the docs say Gtk::HScale(0,1,s) with a step-size s > 0 has a range [0, 1 - s]. GTKMM does allow for a step-size of zero, which also works around this issue. This works because gtkmm sidesteps gtk_hscale_new_with_range() which would fail with g_return_val_if_fail (step != 0.0, NULL); The reason for this is that gtkmm creates an Adjustment with a page-size = step-size: ``` Adjustment* adjustment = manage(new Adjustment(min, min, max, step, 10 * step, step)); ``` and `gtk_adjustment_configure` limits the range: ``` value = MIN (value, upper - page_size); ```
Please see the Ardour web site at https://ardour.org/ for all documentation..
For information on building ardour:
https://ardour.org/development.html
Description
Languages
C++
56.5%
C
39.6%
JavaScript
1.3%
Lua
0.9%
Python
0.6%
Other
0.9%