From: Dave F. <dav...@co...> - 2004-03-25 20:55:58
|
On Thursday 25 March 2004 08:49 pm, joakim verona wrote: > I suspect it's by design, because I couldnt find a "double" capable > slider either. I strongly suggest checking out the sliders in Audacity. They're real nice, have tooltips already to show the values stored, and are capable of displaying several different units of volume. They're both easy and hard to use, though. :( > I could of course use longs in the gui, and convert to double when > sending to the command object. > > However, how would I show the user a float in the gui in that case? > > BTW there are some other issues here. The old code is full of global > scope variables, which I find un-beautiful. > In this case "scale" and so on would be global. It was used so that the > dialog would remember state between invocations. All of these global variables are completely wrong. ;) I'm working on factoring them all out into jppProject, and you can take a crack at it already (I've added jppProject to the cvs now, even if it's not doing much yet). We need to collect all the global variables into jppProject (as much as it makes sense, anyway) and then write some solid interfaces to them within jppProject so we can then free the data from the implementation. Dave > Do you still think this is the right way to do it? > > > Cheers, > /Joakim > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > jazzplusplus-devel mailing list > jaz...@li... > https://lists.sourceforge.net/lists/listinfo/jazzplusplus-devel -- Visit my website! http://www.davefancella.com/?event=em Win98 is called Win98 because there is a 98% probability that it will crash during installation |