Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-06-18 | libdraw: avoid moving cursor if we dont have to for menuhit | cinap_lenrek | |
depending on the font, poping the menu would move your cursor one pixel down each time (due to division). this is annoying when using a trackpoint and trying to repeat some operation over 9000 times. the cursor should only be moved when the menu is repositioned to contain it on the screen. | |||
2013-01-08 | libdraw: fix wrong menusel() calculation for menuhit() (noticable with small ↵ | cinap_lenrek | |
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. | |||
2011-03-30 | Import sources from 2011-03-30 iso image - lib | Taru Karttunen | |
2011-03-30 | Import sources from 2011-03-30 iso image | Taru Karttunen | |