Entry
R2 = -2 for left of iconbar, -1 for right
R3 -> sprite name
R4 -> text (max. 128 chars inc. terminator)
R5 = icon button type (eg. 3)
Exit
R0 = icon handle
Will place a sprite on the iconbar, with a text message underneath, returning the icon handle. Note that the sprite name is copied out of the memory block, which can be reused, but the text remains where it is; this is so you can change the text after creating the icon. Also note that the number in R5 is just the button type, not the flags.
Provided by IconBar
|
|
|