All,
I'm really sleepy tonight, so I didn't do much.
Added htmldocs as a make target, so if you have doxygen installed you can just
type "make htmldocs" to make the doxygen docs.
Added the Project class to the repository, the makefiles, and made sure it
compiled. Nothing uses it yet. That's the part I'm too sleepy to deal with.
:( It's also not very well documented right now. I'll take a crack at it
tomorrow night or something, when I'm less sleepy.
In any case, the Project class needs to have the clipboard and methods for
cut/copy/paste added so the GUI can call them, and it needs methods for
accessing the underlying tracks that are completely independent of how the
underlying track data is stored, as far as the GUI is concerned. I think the
Play, Stop, and other methods are fine right now and should work as expected.
The Project class needs a global declaration in the jazz.cpp file, and
instantiated in the OnInit() of the wxApp class. I prefer to use g for
global variables, such as gProject in this case. Then when you need to use
the Project class for something, just do gProject->Something();. Easy
enough, right? ;)
I don't know if play and stop and some of the other methods actually work, but
they were just copied and pasted from their home, which was trackwin I
believe, and variable names were changed to be more readable. It builds,
though. :)
Dave
--
Visit my website!
http://www.davefancella.com/?event=em
Algol-60 surely must be regarded as the most important programming language
yet developed.
-- T. Cheatham
|