summaryrefslogtreecommitdiffhomepage
path: root/logic/mappings.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-10-20 17:53:21 +0200
committerStanislaw Halik <sthalik@misaki.pl>2017-10-20 17:53:21 +0200
commit39e209983bd1f04fb0beefef754d7430c8b7fb9f (patch)
treeec41545dda2d33d316adc6466f21138a280db6a8 /logic/mappings.hpp
parent092e2910ae8f6c2e188e930b9540d58e145c9142 (diff)
logic, spline: more spline work/fixes
- mapping window clamps are now value<max_clamp> in spline - clamp won't mess up saved spline content - clean up artifacts on spline widget
Diffstat (limited to 'logic/mappings.hpp')
-rw-r--r--logic/mappings.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/logic/mappings.hpp b/logic/mappings.hpp
index b3587749..4b71e9c5 100644
--- a/logic/mappings.hpp
+++ b/logic/mappings.hpp
@@ -15,13 +15,13 @@ using namespace options;
struct OTR_LOGIC_EXPORT Map final
{
- Map(QString primary, QString secondary, int max_x, int max_y, axis_opts& opts);
+ Map(const QString& spline_name, const QString& alt_spline_name, axis_opts& opts);
void save();
void load();
axis_opts& opts;
- QString name1, name2;
+ QString name, alt_name;
spline spline_main, spline_alt;
};