
24 Jan
2008
24 Jan
'08
2:19 p.m.
On Thu, Jan 24, 2008 at 06:47:10PM +0100, Andrea Rossato wrote:
Thu Jan 24 18:16:49 CET 2008 Andrea Rossato
* Add Decoration, a layout modifier and a class for easily adding decorations to layouts In the next days I'll clean it up, especially Decoration.hs, but if you have any idea, bug reports or whatever please let me know.
This code requires the patch I sent tonight to add an emptyLayout
the first issue... the 'decorate' method of the DecorationStyle class was not in the X monad (I try to write pure code only, lately...;) So I changed that: now it is returning a X (Maybe Rectangle). But I added a pureDecoration method too. This way we can define Tabbed, DwmLike and Simple with pure functions.... cool isn't it? Cheers, Andrea