diff options
author | bptato <nincsnevem662@gmail.com> | 2021-10-03 12:20:39 +0200 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2021-10-03 12:20:39 +0200 |
commit | 71f08f380b233ad415ab6954924c395a85ffc577 (patch) | |
tree | 213d4166ac0bdae343a34bcf260d1385e2cc53e7 /src/css | |
parent | 9996586865f931b6da19779520eb7671eddc6c4d (diff) | |
download | chawan-71f08f380b233ad415ab6954924c395a85ffc577.tar.gz |
Add RowBox structure
Diffstat (limited to 'src/css')
-rw-r--r-- | src/css/box.nim | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/css/box.nim b/src/css/box.nim index e0777878..457cccb0 100644 --- a/src/css/box.nim +++ b/src/css/box.nim @@ -18,10 +18,15 @@ type marginEdge*: CSSRect children*: seq[CSSBox] + CSSRowBox* = object + width*: int + height*: int + runes*: seq[Rune] + CSSInlineBox* = ref CSSInlineBoxObj CSSInlineBoxObj = object of CSSBox fromx*: int - content*: FlexibleGrid + content*: seq[CSSRowBox] CSSBlockBox* = ref CSSBlockBoxObj CSSBlockBoxObj = object of CSSBox |