Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] FLTK - Some static variables

Date2006-10-28 18:28
FromVictor Lazzarini
SubjectRe: [Cs-dev] FLTK - Some static variables
I think these shouldn't really go in the CSOUND structure,
as the widgets are a separate plugin module. I am not
so sure these are problematic, as Istvan did not move
them.  I had noticed them before, but never had a closer
look.

However, if you wish, you perhaps can try using the
global variable mechanism that Istvan created.

Victor

>
> Hi All,
>
> I found some static variables in both widgets.cpp and
> FL_graph.cpp that I think need to be redone  for
> reentrancy.  For widgets, this code is there:
>
> static vector fl_windows; // all panels
> //static vector AddrValue;
> //        addresses of widgets that display current value
> of valuators static vector AddrStack;
> //addresses of containers static vector
> AddrSetValue; //addresses of valuators static
> vector allocatedStrings; static vector
> snapshots;
>
> for FL_graph.cpp, this code is there:
>
> static  Fl_Window   *form = (Fl_Window *) 0;
> static  Fl_Choice   *choice = (Fl_Choice *) 0;
> static  Fl_Button   *end = (Fl_Button *) 0;
>
>
> There are more in each of those files.
>
> Not sure where best to store these things.
>
> steven
>
> ----------------------------------------------------------
> --------------- 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
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

-------------------------------------------------------------------------
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
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2006-10-29 17:51
From"Steven Yi"
SubjectRe: [Cs-dev] FLTK - Some static variables
AttachmentsNone  

Date2006-10-29 17:56
From"Steven Yi"
SubjectRe: [Cs-dev] FLTK - Some static variables
AttachmentsNone