Was wondereing if anyone has experience using arrays of BMAP*'s inside the button() function?
Example:
BMAP* buttonBmp[10];
buttonBmp[0] = bmap_create("myImage.bmp");
PANEL* buttonPanel = {
layer = 3;
flags = OVERLAY;
button(10,10,buttonBmp[0],buttonBmp[0],buttonBmp[0],BUTTON_CLICKED,null,null);
}
I'm getting a compile error stating: 'Bitmap unknown buttonBmp'
Appreciate the help!