Hi Keith, Nice work and welcome to the community. One way you could make your tool work without patching the gesture handling system itself is to define a command map on the 'world' class, which consists of a keyboard shortcut to inspect the gadget at the mouse location. Look at the define-command-map word and its usages in basis/ui/tools/.
Slava On Fri, Aug 21, 2009 at 2:40 PM, Keith Lazuka<[email protected]> wrote: > I'm working on a little tool ("Loupe") which helps you inspect > on-screen gadgets. Right now it is Mac OS X only (because the tool > changes the mouse cursor). You can read more about it at: > http://klazuka.tumblr.com/post/168361909/factor-loupe-tool > > I would love to get some feedback since this is the first useful > Factor code that I have written. One thing I'm unsure about is whether > my technique for hooking into the mouse gesture dispatch system is > acceptable. I am new to Factor, so trying to figure out the gesture > dispatch system was a real challenge :-) > > -keith > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Factor-talk mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/factor-talk > ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Factor-talk mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/factor-talk
