[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re[2]: [lmi] Generating screenshots automatically
From: |
Vadim Zeitlin |
Subject: |
Re[2]: [lmi] Generating screenshots automatically |
Date: |
Sun, 22 Feb 2009 21:54:30 +0100 |
On Sun, 22 Feb 2009 19:03:32 +0000 Greg Chicares <address@hidden> wrote:
GC> Let me propose that it generate one html file
(and one PNG file I presume)
GC> for each wxPanel in the XRC dialog that was just loaded,
Do you mean only top level panels by "each" here? Because you could
perfectly well have other panels embedded in the top level ones. Or maybe
you mean all notebook pages? But this, of course, assumes that there is a
notebook and then we need to find it somehow. So using the top level panels
seems a better idea but the trouble is that I was adding support for
enumerating all top level objects defined anywhere in XRC while you need to
do it just for the top level objects defined in the same XRC file as this
dialog was loaded from. And having something as specific as this in
wxXmlResource hardly makes sense IMHO and so I'd prefer to find some
LMI-specific solution for enumerating these panels. Can you think of
anything?
Alternatively, we could generate the screenshots for all top level panels
defined anywhere. But then it really wouldn't make sense to do it from
here. OTOH I don't quite understand why should this be done on a per dialog
basis anyhow, it seems to me it'd be better to generate all screenshots at
once, wouldn't it?
GC> and simply write all those files to disk, separately.
Which directory should be these files written to?
Also, I guess that this will be just used as an illustration of how to use
the code for generating these files and won't be done like this in the real
program, will it? I.e. it doesn't make sense to try to do anything smart
here like checking whether the screenshot files already exist and not
recreating them if they're new enough?
Thanks,
VZ
- Re: [lmi] Generating screenshots automatically, (continued)
- Re: [lmi] Generating screenshots automatically, Greg Chicares, 2009/02/21
- Re: [lmi] Generating screenshots automatically, Greg Chicares, 2009/02/22
- Re[2]: [lmi] Generating screenshots automatically, Vadim Zeitlin, 2009/02/22
- Message not available
- Re: [lmi] Generating screenshots automatically, Greg Chicares, 2009/02/22
- Re[2]: [lmi] Generating screenshots automatically, Vadim Zeitlin, 2009/02/22
- Re: [lmi] Generating screenshots automatically, Greg Chicares, 2009/02/22
- Re[2]: [lmi] Generating screenshots automatically,
Vadim Zeitlin <=
- Re: [lmi] Generating screenshots automatically, Greg Chicares, 2009/02/22
- Re[2]: [lmi] Generating screenshots automatically, Vadim Zeitlin, 2009/02/23
- Re: [lmi] Generating screenshots automatically, Greg Chicares, 2009/02/23