diff options
| author | Vaxry <43317083+vaxerski@users.noreply.github.com> | 2026-04-28 18:10:25 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-04-28 18:10:25 +0100 |
| commit | 94b90a2cb0b4a0e13018cd5ebbf09394abf3b96b (patch) | |
| tree | 484d32baaab1acdaab7a817c86aa89f117a21059 /src/desktop/view/Window.hpp | |
| parent | ab75bbfbecdfb4a0355106f740944c87cb9edd4c (diff) | |
config/lua: add ExpressionVec2, allow using a table for vec2 rules (#14197)
Diffstat (limited to 'src/desktop/view/Window.hpp')
| -rw-r--r-- | src/desktop/view/Window.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/desktop/view/Window.hpp b/src/desktop/view/Window.hpp index 35c08326..ff6fad96 100644 --- a/src/desktop/view/Window.hpp +++ b/src/desktop/view/Window.hpp @@ -356,6 +356,7 @@ namespace Desktop::View { SP<CWLSurfaceResource> getSolitaryResource(); Vector2D getReportedSize(); std::optional<Vector2D> calculateExpression(const std::string& s); + std::optional<Vector2D> calculateExpression(const Math::SExpressionVec2& expr); std::optional<Vector2D> minSize(); std::optional<Vector2D> maxSize(); SP<Layout::ITarget> layoutTarget(); |
