From: Ray C. <rc...@gm...> - 2006-08-12 14:06:18
|
Hi, instead of looking for another method, you should concentrate on improving the subclassing method, because there is more than meets the eye. Look at NSCell.continueTrackingAtInView, where you can put more specific bounds-checking/hit-tests, instead of overriding trackMouseInRectOfViewUntilMouseUp. On 8/12/06, Ewan McDougall <mr...@mr...> wrote: > Hello, > > I need to use non-regular shapes for a number of buttons. Is the best > way of doing so to subclass the NSButtonCell class, override the > drawing functions and then use this in an extended NSButton class for > each differently shaped button? Is there another way that is > considered better practice? > > The buttons will be transparent and used as 'hotspots' on top of > video. http://www.futilegames.org/ > > Cheers, > > Ewan > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > actionstep-core mailing list > act...@li... > https://lists.sourceforge.net/lists/listinfo/actionstep-core > -- Cheers, Ray Chuan |