406
Endless Nights' Script Library / Re: ENs - Subs - Gumps
« on: November 14, 2019, 10:03:20 AM »
I downloaded and looked through the code, but I have not tried it yet. I had concurrently worked on my own version of these kinds of routines.
What I noticed with my own was that each time I cycled through gumps that the order would reverse. It looks like this code tries to assign an index to each open gump. Does it keep track of that indexing or does it rebuild the indexes each time.
I am curious if it keeps track of the gumps through that index to come back to it later. Or would I need to cycle again to identify the gump I want?
It would be easy for the user to interfere with which gump has focus. This is the complexity I was trying to work out in my system.
Also many gumps have identical information. I was considering an identifier based on a couple pixels to help identify uniquely which gump I have.
Have you considered/solved gump identification and focus yet?
Thanks,
Gaderian
What I noticed with my own was that each time I cycled through gumps that the order would reverse. It looks like this code tries to assign an index to each open gump. Does it keep track of that indexing or does it rebuild the indexes each time.
I am curious if it keeps track of the gumps through that index to come back to it later. Or would I need to cycle again to identify the gump I want?
It would be easy for the user to interfere with which gump has focus. This is the complexity I was trying to work out in my system.
Also many gumps have identical information. I was considering an identifier based on a couple pixels to help identify uniquely which gump I have.
Have you considered/solved gump identification and focus yet?
Thanks,
Gaderian