summaryrefslogtreecommitdiff
path: root/src/layout/algorithm/tiled/scrolling/ScrollingAlgorithm.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/layout/algorithm/tiled/scrolling/ScrollingAlgorithm.hpp')
-rw-r--r--src/layout/algorithm/tiled/scrolling/ScrollingAlgorithm.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/layout/algorithm/tiled/scrolling/ScrollingAlgorithm.hpp b/src/layout/algorithm/tiled/scrolling/ScrollingAlgorithm.hpp
index d95b3197..1b2b1d1e 100644
--- a/src/layout/algorithm/tiled/scrolling/ScrollingAlgorithm.hpp
+++ b/src/layout/algorithm/tiled/scrolling/ScrollingAlgorithm.hpp
@@ -68,8 +68,8 @@ namespace Layout::Tiled {
UP<CScrollTapeController> controller;
- SP<SColumnData> add();
- SP<SColumnData> add(int after);
+ SP<SColumnData> add(std::optional<float> width = std::nullopt);
+ SP<SColumnData> add(int after, std::optional<float> width = std::nullopt);
int64_t idx(SP<SColumnData> c);
void remove(SP<SColumnData> c);
double maxWidth();