Add deco parts top, right and bottom

This commit is contained in:
Johan Malm 2020-05-30 21:28:17 +01:00
parent a6ac2a0439
commit c07acc9ee6
7 changed files with 104 additions and 22 deletions

View file

@ -23,7 +23,7 @@ static void position(struct view *view)
return;
if (view->x || view->y)
return;
box = deco_box(view, LAB_DECO_PART_TOP);
box = deco_box(view, LAB_DECO_PART_TITLE);
view->y = box.height;
box = deco_box(view, LAB_DECO_PART_LEFT);
view->x = box.width;