summaryrefslogtreecommitdiff
path: root/src/layout/algorithm/tiled/scrolling/ScrollingAlgorithm.hpp
diff options
context:
space:
mode:
authorItsOhen <TNordfeldt@gmail.com>2026-03-17 17:43:53 +0100
committerGitHub <noreply@github.com>2026-03-17 12:43:53 -0400
commit9f599e316504943eec5d2fa854f7c99c575616b7 (patch)
tree58041f7feb19ca8e022ae3639524b7c51ef05427 /src/layout/algorithm/tiled/scrolling/ScrollingAlgorithm.hpp
parent35ef8dc1f7abb3e7139de5f8831ca2b0d81da78c (diff)
window/rules: add scrolling_width (#13754)
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();