Multiple canvases. How?
BlitzMax Forums/BlitzMax Beginners Area/Multiple canvases. How?
| ||
I know you have to use hooks it's just that I still don't get them. How, using event hooks, could you setup multiple canvases that can be redrawn when moved and scaled but putting it all in a type? A code example would be nice and appreciated. :) Thanks :) |
| ||
Use a normal event hook and look for the appropriate events, but then also check the Event `source` to see which gadget/canvas it came from. I found the event hooks tutorial in the tutorials section on MaxGUI to be very helpful. |