As an experiment, I downloaded the latest code from CVS and made the
following changes:
Renamed Stack to Application, ripped out all Stack-ish code which was
mostly unused ( getBackgrounds() etc. )
Renamed Background to Window. ripped out all Bacground-ish code which
was mostly unused ( getFirstCard(), getNextCard(), etc. )
Deleted navigation.py - this module was all about navigating stacks and
backgrounds and was almost entirely unused.
Modified Application to load and show all Windows discovered in the
application resource file. I used samples/proof.py to test the changes
and it works fine. I know this isn't the desired behavior, we should
load all defined windows, and only show those that are 'visible', and we
need a window management module that the Application can use.
The motivation for trying this was reading all of the state of
PythonCard docs that Kevin so kindly cranked out yesterday. I realized,
that by damn, we have a lot of good stuff there, and I decided to at
least devote a few days to helping take it to the next level.
Talk to ya,
Rowland
|