summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/drivers/Cocoa/Fl_Cocoa_Screen_Driver.cxx6
-rw-r--r--src/drivers/Wayland/Fl_Wayland_Screen_Driver.cxx1
-rw-r--r--src/drivers/WinAPI/Fl_WinAPI_Screen_Driver.cxx1
-rw-r--r--src/drivers/X11/Fl_X11_Screen_Driver.cxx1
4 files changed, 4 insertions, 5 deletions
diff --git a/src/drivers/Cocoa/Fl_Cocoa_Screen_Driver.cxx b/src/drivers/Cocoa/Fl_Cocoa_Screen_Driver.cxx
index b955c0a97..94e0f0104 100644
--- a/src/drivers/Cocoa/Fl_Cocoa_Screen_Driver.cxx
+++ b/src/drivers/Cocoa/Fl_Cocoa_Screen_Driver.cxx
@@ -158,11 +158,7 @@ void Fl_Cocoa_Screen_Driver::screen_dpi(float &h, float &v, int n)
}
-/**
- Emits a system beep message.
- \param[in] type The beep type from the \ref Fl_Beep enumeration.
- \note \#include <FL/fl_ask.H>
- */
+// Implements fl_beep(). See documentation in src/fl_ask.cxx.
void Fl_Cocoa_Screen_Driver::beep(int type) {
switch (type) {
case FL_BEEP_DEFAULT :
diff --git a/src/drivers/Wayland/Fl_Wayland_Screen_Driver.cxx b/src/drivers/Wayland/Fl_Wayland_Screen_Driver.cxx
index bc3c67c72..cfd83adc3 100644
--- a/src/drivers/Wayland/Fl_Wayland_Screen_Driver.cxx
+++ b/src/drivers/Wayland/Fl_Wayland_Screen_Driver.cxx
@@ -1251,6 +1251,7 @@ void Fl_Wayland_Screen_Driver::screen_dpi(float &h, float &v, int n)
}
+// Implements fl_beep(). See documentation in src/fl_ask.cxx.
void Fl_Wayland_Screen_Driver::beep(int type)
{
fprintf(stderr, "\007");
diff --git a/src/drivers/WinAPI/Fl_WinAPI_Screen_Driver.cxx b/src/drivers/WinAPI/Fl_WinAPI_Screen_Driver.cxx
index 92f34b9ce..1f9ed3249 100644
--- a/src/drivers/WinAPI/Fl_WinAPI_Screen_Driver.cxx
+++ b/src/drivers/WinAPI/Fl_WinAPI_Screen_Driver.cxx
@@ -231,6 +231,7 @@ int Fl_WinAPI_Screen_Driver::w()
}
+// Implements fl_beep(). See documentation in src/fl_ask.cxx.
void Fl_WinAPI_Screen_Driver::beep(int type)
{
switch (type) {
diff --git a/src/drivers/X11/Fl_X11_Screen_Driver.cxx b/src/drivers/X11/Fl_X11_Screen_Driver.cxx
index 6876c6d47..34655bf6e 100644
--- a/src/drivers/X11/Fl_X11_Screen_Driver.cxx
+++ b/src/drivers/X11/Fl_X11_Screen_Driver.cxx
@@ -394,6 +394,7 @@ void Fl_X11_Screen_Driver::screen_dpi(float &h, float &v, int n)
}
+// Implements fl_beep(). See documentation in src/fl_ask.cxx.
void Fl_X11_Screen_Driver::beep(int type)
{
int vol;