From: Alex T. <caf...@gm...> - 2005-04-30 03:10:50
|
Hi all, Didn't bother touching the mouse code since I found that out.=20 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, >=20 > 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. >=20 > 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. >=20 > Toby >=20 > ---Alex's message copied from csjava developers forum > New concerns as my afternoon without World of Warcraft continues: >=20 > Since all the mouse functions are done using internal coordinates in the > parent class, I opted to convert them to "fake" coordinates for now. Howe= ver > there is something that confuses me: >=20 > Currently in mouseClicked, there is a line: > <b> _currentPoint =3D null;</b> >=20 > 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 _currentPoin= t > but sets it to null at the end. What exactly is this supposed to be doing= ? >=20 > |