Robin Gareus
e74cb666ed
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); ``` |
||
---|---|---|
doc | ||
gtk2_ardour | ||
headless | ||
libs | ||
luasession | ||
msvc_extra_headers | ||
MSVCardour3 | ||
MSVCMixbus3 | ||
MSVCvst_scan | ||
session_utils | ||
share | ||
tools | ||
.dir-locals.el | ||
.gitattributes | ||
.gitignore | ||
ardour.1 | ||
COPYING | ||
nutempo-todo | ||
PACKAGER_README | ||
README | ||
README-GITHUB.txt | ||
system_config | ||
TRANSLATORS | ||
waf | ||
wscript |
Please see the Ardour web site at https://ardour.org/ for all documentation.. For information on building ardour: https://ardour.org/development.html