Skip to content

Commit

Permalink
layout: add restricted version of flex layout
Browse files Browse the repository at this point in the history
A lot of cases and parameters were abstracted; these were indicated in TODO
comments and warning messages. To be solved in future commits.
  • Loading branch information
pauloamed committed Sep 20, 2024
1 parent 2fb5c60 commit 373a1fb
Show file tree
Hide file tree
Showing 3 changed files with 433 additions and 51 deletions.
2 changes: 1 addition & 1 deletion src/vaev-layout/base.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ enum struct Commit {

struct Input {
Commit commit = Commit::NO; //< Should the computed values be committed to the layout?
IntrinsicSize intrinsic = IntrinsicSize::AUTO;
Pair<IntrinsicSize> intrinsic = {IntrinsicSize::AUTO, IntrinsicSize::AUTO};
Math::Vec2<Opt<Px>> knownSize = {};
Vec2Px availableSpace = {};
Vec2Px containingBlock = {};
Expand Down
Loading

0 comments on commit 373a1fb

Please sign in to comment.