tools/ilbmtoicon: Stuff resolution data into the (unused) MutalExclude field of icons
commit6fe55ce0d06c75ad79929b6a065322a0a66f24b8
authorjmcmullan <jmcmullan@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Wed, 14 Mar 2012 04:15:34 +0000 (14 04:15 +0000)
committerjmcmullan <jmcmullan@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Wed, 14 Mar 2012 04:15:34 +0000 (14 04:15 +0000)
tree2ffbd82b312e4c83c94286a66fd3bf72eca42005
parent669b2179015009861585f50de4786ad86a91adb2
tools/ilbmtoicon: Stuff resolution data into the (unused) MutalExclude field of icons

Resoluton is in Amiga 'ticks', and is taken from the command
line with the --dpi X:Y option.  The default is the 'ticks'
equivalent of 100 DPI.

If icon->do_Gadget.MutualExclude & (1 << 31), then the lower
16 bits are (tpdX << 8) | (tpdY)

Signed-off-by: Jason S. McMullan <jason.mcmullan@gmail.com>
git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@44404 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
tools/ilbmtoicon/ilbmtoicon.c