plan9fox/sys
cinap_lenrek 7295fa71a4 libdraw: fix wrong menusel() calculation for menuhit() (noticable with small fonts)
the text for a menu entry is drawn from:

y = textr.min.y + i*(font->height+Vspacing);

but we calculated the item from:

r = insetrect(textr);
i = (p.y - r.min.y) / (font->height+Vspacing);

the insetrect is wrong.
2013-01-08 03:45:49 +01:00
..
doc /sys/doc: permissions for cleanps, mkdirlist, mkfilelist 2012-10-20 19:09:54 +02:00
games/lib fortunes: I don't want Javascript promises 2012-12-31 19:55:26 -06:00
include fix utf and rune handling in preparation for 32bit runes 2012-12-31 21:09:46 +01:00
lib add empty /lib/tftpd directory 2013-01-02 03:54:05 +01:00
man hjfs: network announce/listen support 2013-01-07 02:13:54 +01:00
src libdraw: fix wrong menusel() calculation for menuhit() (noticable with small fonts) 2013-01-08 03:45:49 +01:00