summaryrefslogtreecommitdiffhomepage
path: root/spline-widget/spline.cpp
AgeCommit message (Collapse)Author
2016-12-08spline-widget: lazy-recompute spline bucketsStanislaw Halik
2016-10-29spline-widget: don't compute the same thing over and over againStanislaw Halik
2016-10-26spline-widget: use stable sortStanislaw Halik
2016-09-16spline-widget: simplify/fix drawing logicStanislaw Halik
The linear things should be drawn in drawFunction() since they change only when some control point is moved and the spline is recalculated anyway. Introduce spline::get_value_no_save to avoid clobbering the tracked value. Draw linear helper before the spline to avoid occluding it. Remove some redundant checks for whether _config exists when all calling sites ensure it already. I still need to de-camel-case these two classes.
2016-09-09spline-widget: emit vtable in a single unitStanislaw Halik
2016-09-05spline-widget: fix rounding for short splinesStanislaw Halik
This was especially visible with XYZ spline widgets.
2016-09-05spline-widget: add point count getterStanislaw Halik
2016-08-23spline-widget: return mem<settings> and not settings&Stanislaw Halik
2016-08-23spline-widget: multiple fixesStanislaw Halik
- add missing locking - bundle and settings ptr are never null following initialization; sentinel objects get created if there's no bundle, thus don't branch outside initialization functions. the sentinel object doesn't load or save to the .ini file - connect spline refresh to any bundle change - connect spline widget refresh to spline refresh - few caveat comments - spline_widget::setConfig now only takes the spline as argument, eliminating most of the complex logic there - clarify spline::set_bundle vs newly introduced spline::recompute
2016-08-23spline-widget: omit too-close points. add missing locking.Stanislaw Halik
2016-08-17options: support deferred writes when saving bundlesStanislaw Halik
The mapping window has 13 bundles total in use. Setting them all can take up to a large fraction of a second on some windows filesystems. Do a single config write instead.
2016-08-17spline-widget: save spline control point list using options apiStanislaw Halik
- spline widgets reload when spline bundle reloads - every bundle reloads when profile gets changed Importing old spline settings hasn't been implemented. Control point positions are stored as raw floats. This is bad.
2016-08-10spline-widget, gui: rename mapping-related files and classesStanislaw Halik
Adjust usages.
2016-08-09spline-widget: only rename filesStanislaw Halik
Adjust usages.