Frankly, at this point I just wanted to know if this is of interest, if
no then I stop working on it, if yes then I keep working on it and when
it is ready for *nix and Windows I let you know.
Yes, I think it's a good idea.
I've also been thinking about restructuring the demo a bit, but I expect that will mostly be in Main.py so these changes in the samples for screen captures probably wont interfere at all.
I found some time to look at this again.
How would you like to get the patch for all the demo samples? One patch for all, or do you prefer to get individual patches? Keep in mind that a few demo samples have some fixes in them not related to the screen capture stuff, maybe just keep those in a separate patch?
It is ready for Windows and should work on *nix but I can't find the time to do more tests on *nix. Would still be o.k. to provides patches now or do you want to wait?
- activewrapper.patch and demoAGW-captplus.patch contain small changes not related to the capture and the capture changes
- demoWX-capture.patch and demoAGW-capture.patch contain changes related to the capture stuff, the first for the base wx demo and the second for the demo/agw demos
The script demoscreencapture.py assumes to be in the folder "demo/tools" and needs write privileges for that folder so it can create the folder "screencaptures" which will contain the screen capture images when runs the script.
It is recommended to run the script from the command line as otherwise you might capture your IDE screen instead of the demo sample screens.
As mentioned earlier I am currently only testing on Windows but the base of this worked on Ubuntu some time ago.
Let me know if you like me to do anything else on this.
- activewrapper.patch and demoAGW-captplus.patch contain small changes not
related to the capture and the capture changes
- demoWX-capture.patch and demoAGW-capture.patch contain changes related to
the capture stuff, the first for the base wx demo and the second for the
demo/agw demos
The script demoscreencapture.py assumes to be in the folder "demo/tools" and
needs write privileges for that folder so it can create the folder
"screencaptures" which will contain the screen capture images when runs the
script.
It is recommended to run the script from the command line as otherwise you
might capture your IDE screen instead of the demo sample screens.
As mentioned earlier I am currently only testing on Windows but the base of
this worked on Ubuntu some time ago.
Let me know if you like me to do anything else on this.
It seems very cool to me, thanks! One thing though: it appears that
the files demoWX-capture.patch and demoAGW-capture.patch didn't make
it into your message. I am just curious to see how you changed the
AGW-related demo, but in principle I don't have any objections to
apply your patches as they are.
- activewrapper.patch and demoAGW-captplus.patch contain small changes not
related to the capture and the capture changes
- demoWX-capture.patch and demoAGW-capture.patch contain changes related to
the capture stuff, the first for the base wx demo and the second for the
demo/agw demos
The script demoscreencapture.py assumes to be in the folder "demo/tools" and
needs write privileges for that folder so it can create the folder
"screencaptures" which will contain the screen capture images when runs the
script.
It is recommended to run the script from the command line as otherwise you
might capture your IDE screen instead of the demo sample screens.
As mentioned earlier I am currently only testing on Windows but the base of
this worked on Ubuntu some time ago.
Let me know if you like me to do anything else on this.
It seems very cool to me, thanks! One thing though: it appears that
the files demoWX-capture.patch and demoAGW-capture.patch didn't make
it into your message. I am just curious to see how you changed the
AGW-related demo, but in principle I don't have any objections to
apply your patches as they are.