diff options
author | Thomas Martitz <kugel@rockbox.org> | 2014-01-09 00:18:01 +0100 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2014-01-09 00:43:46 +0100 |
commit | fde92de2243729dfa0edb5301a31c2c15d7bf707 (patch) | |
tree | 9978d86c78c444e29d16bf54d67ce7c00dd3a86e /apps/menus | |
parent | 124e9c1cb62539a78e01af7f80c28e3a029af874 (diff) | |
download | rockbox-fde92de2243729dfa0edb5301a31c2c15d7bf707.tar.gz rockbox-fde92de2243729dfa0edb5301a31c2c15d7bf707.zip |
lcd_nine_segment_bmp: Fixes for non-ideal image dimensions.
1) The 9-segment images need not be multiple of 3 pixels anymore. If it
isn't the inner segments will be smaller than the corners.
2) If the desired actual images is not a multiple of the segment sizes the
function drawed more than the desired rectangle. This is fixed by
drawing the last segment only partially.
Change-Id: Ic918facd8734fa4a4aa72536f0b67de82d81651e
Diffstat (limited to 'apps/menus')
0 files changed, 0 insertions, 0 deletions