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:
Anselm R. Garbe
2007-08-13 19:13:54 +02:00
parent 2feb3afe78
commit 77044e8765
8 changed files with 62 additions and 42 deletions

2
draw.c
View File

@ -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;