From: joakim v. <jo...@ve...> - 2004-03-24 23:27:40
|
Hello, I was going to try to get up to speed by implementing the mididelay dialog with the new cool xml resource system. (I chose this dialog since I wrote the code for it originally and because its really simple) Then I noticed that pianowin no longer inherits eventwin, and the original wx2 ported dialog no longer works(which doesnt matter since I originaly ported it with the ugly property dialog) So, hmm what to do now? I can design the xml resource, but where should the rest of the code go, in the new improved layered design? this is what it currently looks like: tCmdMidiDelay, a command class that acts on the track structure. Should this go into a "kernel" dir? tmidiDelayDlg, a dialog class. Should it be broken out, and put in the dialogs dir? Or, since the code will be trivial, just handled in a function? (I think I prefer a java-style a-file-per-class method) Cheers, /Joakim |