We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hi! I'm trying to understand theG4P library example for multiple windows. It looks awesome, but I can't figure out where I am supposed to write functions in order to be able to use them in additional windows - at the moment if I try to write a function the usual way, I can call it inside the normal draw() but if I try to call it in one of the new windows, it says "function X does not exist".
I also don't really understand the MyWinData class in the example. I suspect this is related to why I can't get my functions to work with the new windows, but I'm in over my head a little bit, and have reached the limits of my understanding without outside help! Any advice or pointers to relevant examples will be appreciated. I've read the tutorial on the G4P website but I still don't really understand, and it doesn't specifically address functions. I'm not a programmer - sorry if I'm missing something obvious. Thanks in advance.