Quote:
Originally Posted by Youlean
Yes, it gives you pointer because in that way you can rearrange layers and still having correct control position number. This was implemented mainly because of GUI live edit but it can get handy if you want to rearrange control layers in your plugin...
|
Ok thanks, I guess that explains it. I have an issue with this, though:
GetGUI()->SetControlFromPlug(id, val);
SetControlFromPlug needs an integer variable id. But now I have a pointer. Is there a way to overcome this?