about summary refs log tree commit diff stats
path: root/src/layout/box.nim
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2022-01-23 13:42:24 +0100
committerbptato <nincsnevem662@gmail.com>2022-01-23 13:42:24 +0100
commitd97776fb627720bc4bd5841ffffcd8c9af712f3c (patch)
treefde0f696f78fa4cb197edcee7308403d1d6d22b6 /src/layout/box.nim
parent0b19885b33c53e2250a3a91326e5f146ccfa1492 (diff)
downloadchawan-d97776fb627720bc4bd5841ffffcd8c9af712f3c.tar.gz
Use pixels as the base unit for the layout
Diffstat (limited to 'src/layout/box.nim')
-rw-r--r--src/layout/box.nim13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/layout/box.nim b/src/layout/box.nim
index e5e3f2fa..48265fde 100644
--- a/src/layout/box.nim
+++ b/src/layout/box.nim
@@ -63,19 +63,6 @@ type
     compheight*: Option[int]
     done*: bool
 
-  RowBox* = object
-    x*: int
-    y*: int
-    width*: int
-    height*: int
-    color*: CSSColor
-    fontstyle*: CSSFontStyle
-    fontweight*: int
-    textdecoration*: CSSTextDecoration
-    str*: string
-    nodes*: seq[Node]
-    bottom*: int
-
   InlineBox* = ref object of CSSBox
     text*: seq[string]
     ictx*: InlineContext