Hey guys,
I want to create two panels, with the same bitmapfile as bitmap,
but not with the same bitmap-pointer,
so I can transform the bitmap from the first panel (with a pixelfunction)
without transforming the bitmap of the second one too.

Atm my code looks like:

Code:
PANEL* panel1 = {bmap = "picture.png";}
PANEL* panel2 = {bmap = "picture.png";}


Now panel1.bmap has the same pointer as panel2.bmap... :S

One solution is just to make a copy of the bitmapfile,
but then the filesize of the whole game is bigger,
and that's anyway not a "real" solution for me.

Hope, someone is so kind to help me. ^-^


Hilf mir, dir zu helfen!