[sldev] LLUICtrl::onFocusLost() callback

Nicholaz Beresford nicholaz at blueflash.cc
Thu Aug 23 08:48:27 PDT 2007


 > (b) Add a new callback, say onFocusBeingLost(), that is invoked
 >     immediately before the keyboard focus is lost, so that I can use
 >     it.
 >
 > The alternative (b) is safer than (a) in that it makes less impact on
 > the existing code.  However, such ad hoc additions of methods to
 > handle special cases will make the SL viewer code something like
 > Windows API, and I don't want to do so unless absolutely needed.

I would simply go for (b).  I have made all changes for the least
possible impact and side effect so far, so my vote would be clearly
on that side.


Nick


Second Life from the inside out:
http://nicholaz-beresford.blogspot.com/




More information about the SLDev mailing list