PANEL* | Panel pointer. |
type | Element type: 3 = button 4 = slider 5 = window 6 = needle |
num | Number of the element, starting with 1. If the element contains several bmaps, like a button, the digit behind the decimal gives the number of the bmap to be affected (e.g. 1.0 = bmapOn, 1.1 = bmapOff, 1.2 = bmapOver of the first button). |
BMAP* | Bmap pointer. |
// change the bmapOff of the first panel button pan_setbmap(mypanel,3,1.1,newbmap);