[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [sc-dev] SF.net SVN: supercollider: trunk/build/SCClassLibrary/Common/GUI/ ViewRedirect.sc
Well it's it's a wrapper with its own window. The EZClasses (which are
only temporarily redirected until RO gets implemented on swing) also
needed this because they have additional args. A Window obviously has
its own as well.
We could give FreqScope an optional Parent, and a popUp window only if
there is none. Actually couldn't we add a method to SCView that does
this for any View? If no parent, then pop up an always on top window ,
and add the view with and inset of 4px. Put it right in SCView, and it
can be eliminated from a lot of other stuff!
I can add this it SCView, since it is basically already written, to
JSCView as well.
Scott Wilson wrote:
> On 25 Dec 2008, at 15:53, jmfuo@xxxxxxxxxxxxxxxxxxxxx wrote:
>> Revision: 8298
>> Author: jmfuo
>> Date: 2008-12-25 23:53:55 +0000 (Thu, 25 Dec 2008)
>> Log Message:
>> FreqScope redirect class needed to override *new, because it does not
>> have the standard parent bounds scheme
> I'd vote for making that consistent, broken code be damned.
> sc-dev mailing list
> info (subscription, etc.):
> archive: https://listarc.bham.ac.uk/marchives/sc-dev/
> search: https://listarc.bham.ac.uk/lists/sc-dev/search/
sc-dev mailing list
info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml