[L2Ork-dev] How to detect whether canvas contains a toplevel array
Ivica Bukvic
ico at vt.edu
Wed Jun 17 22:09:58 EDT 2020
They will (e.g. noscroll, ontop, etc.) once I finish implementing other
window manipulation features.
Best,
Ico
--
Ivica Ico Bukvic, D.M.A.
Director, Creativity + Innovation
Institute for Creativity, Arts, and Technology
Virginia Tech
Creative Technologies in Music
School of Performing Arts – 0141
Blacksburg, VA 24061
(540) 231-6139
ico at vt.edu
www.icat.vt.edu
www.performingarts.vt.edu
l2ork.icat.vt.edu
ico.bukvic.net
On Wed, Jun 17, 2020, 22:04 Jonathan Wilkes <jon.w.wilkes at gmail.com> wrote:
> On Wed, Jun 17, 2020 at 9:21 PM Ivica Ico Bukvic <ico at vt.edu> wrote:
> >
> >
> > On 6/16/2020 9:16 PM, Jonathan Wilkes wrote:
> > >
> > >> If not, what may be the easiest way to
> > >> pass this along from the backend? New global var array?
> > > For now that seems to be the case.
> > >
> > > Hm, this may need to trigger another round to "de-tcl-fy" the
> > > frontend. There are global vars sprinkled all around pdgui.js
> > > and we need a single place to get and set them.
> > >
> > > Might be able to just steal from jquery:
> > >
> > > gui(cid).prop("editmode") to get the value
> > > gui(cid).prop("editmode", true) to set it
> > >
> > > What do you think?
> > >
> > > -Jonathan
> > >
> > I like the idea. I also just added toplevel_scalars[cid] global var
> > array that checks for toplevel arrays. This will be necessary anyhow
> > when we transition to having more independent gui operations and is used
> > in a number of contexts.
>
> Yeah that sounds fine for now. If we move to the jquery style I'll just
> scoop
> that up with the rest of them. (As an aside it looks like a lot of the
> others aren't
> used.)
>
> -Jonathan
>
> >
> > Best,
> >
> > Ico
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://disis.music.vt.edu/pipermail/l2ork-dev/attachments/20200617/a4526074/attachment.html>
More information about the L2Ork-dev
mailing list