[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Preference Window



On Thu, Feb 10, 2000 at 02:15:42PM -0600, Chema Celorio wrote:
> Right now to get started i will implement the
> get and set of :
>        float_prec
>        max_digits
>        results_as_floats
>        scientific_notation
>        full_expressions
>        max_errors
>        mixed_fraction
>        integer_output_basemax_digits
>        results_as_floats
>        scientific_notation
>        full_expressions
>        max_errors
>        mixed_fraction
>        integer_output_base

Great!

Make sure to implement this in a more general way, so that it doesn't depend
on the current internals of genius too much.  The interface to the library is
changing and so the way to change these preferences will also change.  So
just make your own structures in which to keep data.  Then once the new
library interface is done then we can just swap the ways to change these
things.

> I plan to have these upper tabs :
> - General                will include preferences that affect  all dr. G
> 
> - Figure                   Preferences affecting only in Figure
> - Canvas                 Preferences affecting only in Canvas
> - Calculator            Preferences affecting only in Calculator
> - GEL                     Preferences affecting only in GEL
> - Printing                ( Maybe latter )

Hmmm ... Some of the GEL settings will not be global, so then what is set in
this dialog would provide the "default".  We also want a preference dialog
for each specific window, then there should be some way to add a standard
page for GEL settings.  So for examples while you might use the default
precision everywhere, say when plotting you want to use double precision for
faster results and you want all string output in scientific notation.  But
you don't want to change it in the global dialog all the time.

George