Hello,
I add the following code to test/button.cxx, subroutine beepcb:
printf("Event: %d %d %d\n",
Fl::event_button1(),
Fl::event_button2(),
Fl::event_button3() );
This line however prints out "0 0 0", whatever button I click.
If I change the button to be clicked to FL_Repeat_Button it works just fine:
From
Fl_Button *b1 = new Fl_Button(20, 20, 80, 25, "&Beep");
To:
Fl_Repeat_Button *b1 = new Fl_Repeat_Button(20, 20, 80, 25, "&Beep");
Why do this not for FL_Button ?
Best regards
Håvard