Phosphor
Qt6 / Wayland library suite for window-management tools
 
Loading...
Searching...
No Matches
ScriptedAlgorithmJsBuiltins.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: 2026 fuddlesworth
2// SPDX-License-Identifier: LGPL-2.1-or-later
3
4#pragma once
5
6#include <QString>
7
8namespace PhosphorTiles {
9
37namespace ScriptedHelpers {
38
47
57
65
75
84
92
101
111
120
129
138
146QString fillAreaJs();
147
156
165
174
182QString deckLayoutJs();
183
192
202
211QString fillRegionJs();
212
221
230
239
240} // namespace ScriptedHelpers
241} // namespace PhosphorTiles
QString extractRegionMaxMinJs()
JS source for extractRegionMaxMin(minSizes, startIdx, endIdx, axis) built-in helper.
QString solveThreeColumnJs()
JS source for solveThreeColumn(...) built-in helper.
QString masterStackLayoutJs()
JS source for masterStackLayout(area, count, gap, splitRatio, masterCount, minSizes,...
QString deckLayoutJs()
JS source for deckLayout(area, count, focusedFraction, horizontal) built-in helper.
QString distributeWithGapsJs()
JS source for distributeWithGaps(total, count, gap) built-in helper.
QString lShapeLayoutJs()
JS source for lShapeLayout(area, count, gap, splitRatio, distribute, bottomWidth, rightHeight) helper...
QString equalColumnsLayoutJs()
JS source for equalColumnsLayout(area, count, gap, minSizes) built-in helper.
QString applyPerWindowMinSizeJs()
JS source for applyPerWindowMinSize(w, h, minSizes, i) built-in helper.
QString cumulativeMinDimsJs()
JS source for computeCumulativeMinDims(windowCount, minSizes, innerGap) built-in helper.
QString threeColumnLayoutJs()
JS source for threeColumnLayout(area, count, gap, splitRatio, masterCount, minSizes) helper.
QString distributeWithMinSizesJs()
JS source for distributeWithMinSizes(total, count, gap, minDims) built-in helper.
QString distributeWithOptionalMinsJs()
JS source for distributeWithOptionalMins(total, count, gap, minDims) built-in helper.
QString applyTreeGeometryJs()
JS source for applyTreeGeometry(node, rect, gap, _depth) built-in helper.
QString fillAreaJs()
JS source for fillArea(area, count) built-in helper.
QString extractMinDimsJs()
JS source for extractMinWidths(minSizes, count) and extractMinHeights(minSizes, count) helpers.
QString gracefulDegradationJs()
JS source for appendGracefulDegradation(zones, remaining, leftover, innerGap) built-in helper.
QString clampSplitRatioJs()
JS source for clampSplitRatio(ratio) built-in helper.
QString solveTwoPartJs()
JS source for solveTwoPart(contentDim, firstDim, secondDim, minFirst, minSecond) built-in helper.
QString fillRegionJs()
JS source for fillRegion(x, y, w, h, count) built-in helper.
QString dwindleLayoutJs()
JS source for dwindleLayout(area, count, splitRatio, innerGap, minSizes) built-in helper.
QString interleaveStacksJs()
JS source for stack interleaving helpers shared by centered-master and three-column.
QString distributeEvenlyJs()
JS source for distributeEvenly(start, total, count, gap) built-in helper.
Definition AutotileEngine.h:71