made Layout a static struct in layout.c, added some convenience getters in layout.c, now lt->arrange accesses are not possible anymore, arrange() is the super-arrange function which sets up all layouts
This commit is contained in:
parent
2feb3afe78
commit
77044e8765
8 changed files with 62 additions and 42 deletions
2
draw.c
2
draw.c
|
@ -66,7 +66,7 @@ drawstatus(void) {
|
|||
dc.x += dc.w;
|
||||
}
|
||||
dc.w = blw;
|
||||
drawtext(lt->symbol, dc.norm);
|
||||
drawtext(getsymbol(), dc.norm);
|
||||
x = dc.x + dc.w;
|
||||
dc.w = textw(stext);
|
||||
dc.x = sw - dc.w;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue