Skin bar tags fix+cleanup:
commit00175918d4f2df9f315e8bee2e3be481c2c9f3ab
authorjdgordon <jdgordon@a1c6a512-1295-4272-9138-f99709370657>
Tue, 12 Oct 2010 12:03:07 +0000 (12 12:03 +0000)
committerjdgordon <jdgordon@a1c6a512-1295-4272-9138-f99709370657>
Tue, 12 Oct 2010 12:03:07 +0000 (12 12:03 +0000)
treeb6442e9c7ab6939c83b8565dbe20c5ff5fbd131e
parentd164e58b8b1ba8edf23a4143b5db71870325af35
Skin bar tags fix+cleanup:
Don't crash when not enough params were given (i.e forgetting the filename)
Make the parser enforce the first 4 params as compulsary
Be more leniant and don't require the image filename if one isnt going to be loaded (no more need for the - as the 5th param)
Add an option "image" to specify the filename (otherwise the first option will be used if it isnt a recognised option).

e.g: %pv(0,0,100,10) or %pv(0,0,100,10, bar.bmp) or %pv(0,0,100,10, ..., image, bar.bmp)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28247 a1c6a512-1295-4272-9138-f99709370657
apps/gui/skin_engine/skin_parser.c
lib/skin_parser/tag_table.c