diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2017-01-30 18:41:11 +0100 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2017-02-01 21:58:20 +0100 |
commit | 2c9b0796a3e1797bde5dea2151b757f13ca2a8ac (patch) | |
tree | 9c2bbc4035aa4e7bfbfd21923e9b3bd8114f3710 /libs/canvas/grid.cc | |
parent | 91908dde7ea5cf14ae68c9e2689b924b4b71a228 (diff) |
change Grid API to avoid unnecessary Duple and open door for row/col span
Diffstat (limited to 'libs/canvas/grid.cc')
-rw-r--r-- | libs/canvas/grid.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/canvas/grid.cc b/libs/canvas/grid.cc index 7ceb1585ed..f8fd0bcce4 100644 --- a/libs/canvas/grid.cc +++ b/libs/canvas/grid.cc @@ -313,10 +313,10 @@ Grid::reposition_children () } void -Grid::place (Item* i, Duple at) +Grid::place (Item* i, double x, double y, double col_span, double row_span) { add (i); - coords_by_item.insert (std::make_pair (i, at)); + coords_by_item.insert (std::make_pair (i, Duple (x, y))); reposition_children (); } |