Hi imac... > > redirected from fltk-dev: > > On 22 May 2010, at 10:10, Emil Cataranciuc wrote: > > > Hello! > > I have a simple question. > > I am trying to develop a new pager for FLTK2 but I got a problem. > > How are p[] and w[] values calculated in which() method? > > They are declared there but I see no values assignment. > > You are aware that fltk2 is currently unsupported?
You haven't been paying attention. :-) > > > P.S. which() method of Fl_Tabs.cxx from FLTK 1.3 is almost the > > same. p[] and w[] declared but no assignment. > > I'm not sure what you are asking here - it seems pretty obvious that > the p[] and w[] arrays are assigned to in the tab_positions() method, > that is called by the which() method, so I'm not sure what it is that > you are asking... > > Is there something I am missing here? > > > It's only obvious if you're familiar with c++. But your question is still appropriate. ;-) And it may be that he's wondering how the array gets filled and what it gets filled with. The fltk team here has used almost shorthand for many of the names of these things, and so what 'p[]' or it's counterpart 'w[]' might stand for is a case for.... Elementary Watson, and his sidekick, Sherlock. _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

