Re: XForms: different types

From: Steve Lamont (spl@blinky.ucsd.edu)
Date: Sat May 20 2000 - 19:37:45 EDT

  • Next message: T.C. Zhao: "Re: XForms: different types"

    # To subscribers of the xforms list from Steve Lamont <spl@blinky.ucsd.edu> :

    > from forms.h:
    >
    > FL_EXPORT void fl_set_scrollbar_increment(FL_OBJECT *, double, double);
    > FL_EXPORT void fl_get_scrollbar_increment(FL_OBJECT *, float *, float *);
    > FL_EXPORT void fl_set_scrollbar_bounds(FL_OBJECT *, double, double);
    > FL_EXPORT void fl_get_scrollbar_bounds(FL_OBJECT *, float *, float *);
    >
    > Are there any special reasons why the set functions take different
    > types than the get functions?

    Mostly that the values are promoted to double when passed to the
    fl_set...() functions anyhow. They are carried internally as floats,
    however. I believe the manual mentions this somewhere.

                                                            spl
    _________________________________________________
    To unsubscribe, send the message "unsubscribe" to
    xforms-request@bob.usuhs.mil or see
    http://bob.usuhs.mil/mailserv/xforms.html
    XForms Home Page: http://world.std.com/~xforms
    List Archive: http://bob.usuhs.mil/mailserv/list-archives/



    This archive was generated by hypermail 2b29 : Sat May 20 2000 - 19:46:29 EDT