mirror of
https://github.com/fltk/fltk.git
synced 2026-05-23 15:56:10 +08:00
button demo program: use fl_beep() function.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9570 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
+3
-1
@@ -21,9 +21,11 @@
|
||||
#include <FL/Fl.H>
|
||||
#include <FL/Fl_Window.H>
|
||||
#include <FL/Fl_Button.H>
|
||||
#include <FL/fl_ask.H>
|
||||
|
||||
void beepcb(Fl_Widget *, void *) {
|
||||
printf("\007"); fflush(stdout);
|
||||
fl_beep();
|
||||
fflush(stdout);
|
||||
}
|
||||
|
||||
void exitcb(Fl_Widget *, void *) {
|
||||
|
||||
Reference in New Issue
Block a user