Compare commits

..

No commits in common. "225f61079d64c8f22be726a5f561b6c14804093c" and "96fda0c5e9259f8f6f196723f51029eea9e979a2" have entirely different histories.

View File

@ -19,21 +19,6 @@ struct ElemDiv {
} }
macro Ctx.@row(&ctx, Anchor anchor = TOP_LEFT, ...; @body())
{
ctx.@div(@fit(), @fit(), ROW, anchor: anchor) {
@body();
}!;
}
macro Ctx.@column(&ctx, Anchor anchor = TOP_LEFT, ...; @body())
{
ctx.@div(@fit(), @fit(), COLUMN, anchor: anchor) {
@body();
}!;
}
// useful macro to start and end a div, capturing the trailing block // useful macro to start and end a div, capturing the trailing block
macro Ctx.@div(&ctx, macro Ctx.@div(&ctx,
Size width = @grow, Size height = @grow, Size width = @grow, Size height = @grow,