From: Alan W. I. <ir...@be...> - 2003-02-05 15:01:16
|
On Wed, 5 Feb 2003, Rafael Laboissiere wrote: > > Also, with the second idea I think that the driver-ids (the magic numbers) > > can go away -- ah, no, for historical reasons the xwin driver must be > > number one, the tk driver number 2, etc. hmm, there is another solution for > > this but let discuss it latter. > > Please, notice that these magic number (seqnum) are not so "magic". They > only give a hint about how to order them. Think on them like "priority > level". BTW, the gnome driver also has seqnum = 1. I assume you are talking about your new code here. For the old code the numbers had to be unique (and seqnum was 6 for the gnome driver). Of course, that was a maintenance burden so if they just become non-unique priority numbers now, that is a significant improvement. Alan __________________________ Alan W. Irwin email: ir...@be... phone: 250-727-2902 Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the Canadian Centre for Climate Modelling and Analysis (www.cccma.bc.ec.gc.ca) and the PLplot scientific plotting software package (plplot.org). __________________________ Linux-powered Science __________________________ |