Back

DrawArrow()




    USAGE

    void DrawArrow(RastPort, Knob)

    FUNCTION

    This redraws the arrow in the knob. Use it to reposition th arrow.

    If the KOB_CALCVALUE flag was set, it will take the number in the Value field und use that to calculate the arrow position. So, simply set the Value and call DrawArrow.

    If KNOB_CALCVALUE is not set, you must put the arrow position you want in the Arrow field of the knob structure. The arrow has a range of 0 throught 65535.

    INPUTS

    RastPort = Pointer to the RastPort to draw in.
    Knob = Pointer to a Knob structure.

    RESULT

    none (void)

    SEE ALSO

    DrawKnobs, KnobGadgets