CustomView-Example parcel no longer works for 7.8 as keyboardProcessor was removed from Controller. Just removing SketchController>>#keyboardProcessor makes it work again. So the set method SketchController>>#keyboardProcessor: is not neede. I experimented with the Controller-less approach, and found that mouse point is shifted if it is obtained from View.
Shiro Ogawa _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
On Aug 22, 2011, at 9:00 AM, Shiro Ogawa wrote: > CustomView-Example parcel no longer works for 7.8 as keyboardProcessor was removed from Controller. Just removing SketchController>>#keyboardProcessor makes it work again. So the set method SketchController>>#keyboardProcessor: is not neede. Thank you for reporting this. I'll get a fix to it ASAP. > I experimented with the Controller-less approach, and found that mouse point is shifted if it is obtained from View. Could you elaborate on this please? I'm not sure what is meant exactly, but if there are issues, I would really like to fix it. -- Travis Griggs Objologist "I did not have time to write you a short program, so I wrote you a long one instead." _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
SketchView is set up as handlerForMouseEvent, and redButtonPressedEvent etc are copied from SketchController. When the mouse is used to draw, lines are drawn a little away from the mouse point.
Shiro Ogawa
On Mon, Aug 22, 2011 at 9:36 AM, Travis Griggs <[hidden email]> wrote:
_______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
I fixed the problem by copying setSensorFromView method from Controller. Then I thought it is simpler to keep SketchController.
On Mon, Aug 22, 2011 at 9:49 AM, Shiro Ogawa <[hidden email]> wrote: SketchView is set up as handlerForMouseEvent, and redButtonPressedEvent etc are copied from SketchController. When the mouse is used to draw, lines are drawn a little away from the mouse point. _______________________________________________ vwnc mailing list [hidden email] http://lists.cs.uiuc.edu/mailman/listinfo/vwnc |
Free forum by Nabble | Edit this page |