Re: XForms: XForms 1.0 RC 6

From: Reed Riddle (drriddle@qwest.net)
Date: Tue Nov 19 2002 - 19:56:23 EST

  • Next message: Angus Leeming: "Re: XForms: XForms 1.0 RC 6"

    # To subscribers of the xforms list from "Reed Riddle" <drriddle@qwest.net> :

    Hi all,

    I don't remember if I ever posted this...I think I did, but it was a
    while ago, and I have been using an old library build since then. The
    new one doesn't have it, so I thought I might as well toss it out
    there. This is to allow the replacement of a point value in an xyplot
    overlay; it's standard for the xyplot base plot, but I needed one for
    the overlay as well.

    void
    fl_replace_xyplot_overlay_point(FL_OBJECT * ob, int i, int ID,
       double x, double y)
    {
          SPEC *sp = ob->spec;

          if (i < 0 || i >= sp->n[ID])
              return;

          if ((sp->x[ID][i] != x) || (sp->y[ID][i] != y))
          {
              sp->x[ID][i] = x;
              sp->y[ID][i] = y;
              fl_redraw_object(ob);
          }
    }

    I didn't have any issues otherwise today while I was working with the
    library, but I'm working on a small project right now. I'll try to get
    more "exercise" in tomorrow. :)

                                            Reed

    ----------------------------------------------------------------------
    Dr. Reed L. Riddle
    Associate Director of Whole Earth Telescope Operations
    Iowa State University Department of Physics & Astronomy
    Email: drriddle@qwest.net
    Homepage: http://www3.iitap.iastate.edu/~riddle/

    "This life has been a test. If it had been an actual life, you would
      have received actual instructions on where to go and what to do."
                                     -- Angela Chase, "My so-called life"

    _________________________________________________
    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 : Tue Nov 19 2002 - 19:57:29 EST