From: Toby D. <tj...@sf...> - 2005-04-30 03:48:31
|
Alex, I've moved your package from demo to developer. It seems to be a better way to organize things. I'll look at your code a little later. Toby On 4/29/05 8:10 PM, "Alex Tsai" <caf...@gm...> wrote: > Hi all, > > Didn't bother touching the mouse code since I found that out. > However, I "updated" TheMatrixOrigin with a constructor > TheMatrixOrigin(int width, int height) which just calls super(width, > height) so my demo works properly. I should really add the other ones. > :/I also wrote LameLineGrapher (found in my demo folder - it is fairly > lame) as a demo of TheMatrixOrigin and how to use it. It is fairly > straight forward, just that code needs to be written to check that > you're not making anything go out of bounds. > > -Alex > > On 4/26/05, Toby Donaldson <tj...@sf...> wrote: >> Alex, >> >> I don't know if the mouse code in TheMatrix has been kept up ... It might do >> nothing! The simplest thing is to ignore it or delete it for now. >> >> By the way, can you post some sample code using TheMatrixOrigin for some >> basic task so that others can see how it is meant to be used. >> >> Toby >> >> ---Alex's message copied from csjava developers forum >> New concerns as my afternoon without World of Warcraft continues: >> >> Since all the mouse functions are done using internal coordinates in the >> parent class, I opted to convert them to "fake" coordinates for now. However >> there is something that confuses me: >> >> Currently in mouseClicked, there is a line: >> <b> _currentPoint = null;</b> >> >> But this is really weird to me, since _currentPoint is only declared in >> TheMatrix, and it's only actually used in mouseClicked and mouseDragged. >> However, in mouseClicked I don't think it does anything with _currentPoint >> but sets it to null at the end. What exactly is this supposed to be doing? >> >> > > > ------------------------------------------------------- > This SF.Net email is sponsored by: NEC IT Guy Games. > Get your fingers limbered up and give it your best shot. 4 great events, 4 > opportunities to win big! Highest score wins.NEC IT Guy Games. Play to > win an NEC 61 plasma display. Visit http://www.necitguy.com/?r > _______________________________________________ > csjava-developer mailing list > csj...@li... > https://lists.sourceforge.net/lists/listinfo/csjava-developer > > |