From: Dave F. <dav...@co...> - 2004-03-31 13:09:50
|
All, Ok, now I'm pretty thoroughly confused, again. :( I'm working on making selection and the clipboard exist inside jppProject instead of inside the GUI. Here's what I've got: With an empty project, I can select events. There aren't any to select. When I load a midi file, selection doesn't work anymore at all. (I may have broken that, sorry!) I'm thoroughly confused for several reasons. First, I'm not very good at graphics/GUI stuff when I have to build my own, so I use stock widgets pretty much all the time. :) So I don't understand the drawing code all that well, well, not at all, really. Second, the selection code is extremely convoluted. I've narrowed it down, I think. It looks like when you're done selecting, jazz uses a Filter object to store the selection. I feel like Marty McFly, but what the hell's a Filter? ;) So when you do have a selection with real events in it, do the events get copied to the filter object, or does the filter object just store locations of those events? Dave -- Visit my website! http://www.davefancella.com/?event=em An authority is a person who can tell you more about something than you really care to know. |