after hacking away at the panel stack splitter code for several hours now i'm finally starting to get the hang of it...
one thing that has really helped is the readme translated to english.
i have been having one problem and that is concerning the $drawtext and $drawtextex functions. it seems to me that every single font string has to be positioned absolutely. is this true? i can't seem to find a way to display one string after another on successive lines. i'm forced to calculate the height of each line item and keep track of what line item i'm on to increase the y positioning correctly. also, if a string wraps to a new line, the $gettextheight function doesn't get the height of any wrapped lines and the following line will appear on top of the text.
here's the code i've got so far. if someone can show me an easier way or give me any feedback on this code i'd really appreciate it.
$puts(info.padding,12)
$puts(title.font-family,Calibri)
$puts(title.font-size,18)
$puts(title.font-weight,bold)
$puts(artist.font-family,Calibri)
$puts(artist.font-size,14)
$puts(artist.font-weight,normal)
$puts(album.font-family,Calibri)
$puts(album.font-size,14)
$puts(album.font-weight,normal)
$puts(title.height,$gettextheight($font($get(title.font-family), $get(title.font-size), $get(title.font-weight))%title%))
$puts(artist.height,$gettextheight($font($get(artist.font-family), $get(artist.font-size), $get(artist.font-weight))%artist%))
$puts(album.height,$gettextheight($font($get(album.font-family), $get(album.font-size), $get(album.font-weight))%album%))
$font($get(title.font-family), $get(title.font-size), $get(title.font-weight))
$drawtextex(%title%,,,,,0-0-0,wrap noclip hcenter)
$font($get(artist.font-family), $get(artist.font-size), $get(artist.font-weight))
$drawtextex(%artist%,,$add($get(title.height),$get(info.padding)),,,0-0-0,wrap noclip hcenter)
$font($get(album.font-family), $get(album.font-size), $get(album.font-weight))
$drawtextex(%album%,,$add($get(title.height),$get(artist.height),$mul($get(info.padding),2)),,,0-0-0,wrap noclip hcenter)