Re: XForms: get color of an object

From: Serge B Bromow (
Date: Wed Aug 30 2000 - 07:41:35 EDT

  • Next message: Steve Lamont: "Re: XForms: remove menu button"

    # To subscribers of the xforms list from Serge B Bromow <> :


    void fl_get_object_color( FL_OBJECT *ob, FL_COLOR *col1, FL_COLOR *col2)
    /* See forms.h for the structure for objects for other colors & goodies */

    *col1 = ob->col1;
    *col2 = ob->col2;

    On this note, It would be nice if the xforms web site acted a a repository for this
    type of
    adjunct to the forms library. I have created many fl_???_???_???'s and have benefited
    other contibutors fl_'s. (ie: fl_place_mouse_over_obj(),
    fl_find_object_under_mouse(), etc)

    Just a thought.


    Didier Verkindt wrote:

    > # To subscribers of the xforms list from Didier Verkindt <> :
    > Hi everybody,
    > Does anyone know how we can know the color of an object?
    > (I would like to activate different handlers
    > depending on the color of a button)
    > I have not found in the documentation a function like
    > fl_get_color(FL_OBJECT *obj,...) or so.

    To unsubscribe, send the message "unsubscribe" to or see
    XForms Home Page:
    List Archive:

    This archive was generated by hypermail 2b29 : Wed Aug 30 2000 - 07:49:50 EDT