Thank you for that last reply.  That worked fine by making some adjustments to 
Fl_Repeat_Button.  Now I'm working on togling a button.  I need to make it so 
that if is presed it changes color, and if it is pressed again it goes back to 
the initial coor.  I was able to implement this for the events and it does what 
I want but I'm not sure for the color.  Here is some code:

/*********************************************************************
void MoveUp_Callback(Fl_Widget*,void*) {
        //SendCommand('e');
      if (MoveUpActivation == false)
        {
                SendCommand('e');
                MoveUpActivation = true;
        }
        else
        {
                SendCommand(' ');
                MoveUpActivation = false;
    }
}
/**********************************************************************

So basically when the boolean is true it should change color.  If it is false 
it should go back to its previous color.

Any ideas
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to