Entry
R2 = -2 for left of iconbar, -1 for right
R3 -> sprite name
R5 = icon button type (eg. 3)
Exit
R0 = icon handle
Will place a sprite on the iconbar, returning the icon handle. Note that the sprite name is copied out of the memory block, which can be reused. Also note that the number in R5 is just the button type, not the flags.
Provided by IconBar!
|
|
|