diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2022-11-11 16:52:08 +0100 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2022-11-11 16:52:08 +0100 |
| commit | 74b9d5fb05c495320366bb84c216cabc79e36224 (patch) | |
| tree | c3e42d73b9c571c15d98bad8d95fb908ff4f8c93 | |
| parent | a3a60ed27cd569a416dfbcf484d7324c86b5e224 (diff) | |
Remove redundant doxygen docs of fl_beep()
Also add a comment to all platform driver implementations.
| -rw-r--r-- | src/drivers/Cocoa/Fl_Cocoa_Screen_Driver.cxx | 6 | ||||
| -rw-r--r-- | src/drivers/Wayland/Fl_Wayland_Screen_Driver.cxx | 1 | ||||
| -rw-r--r-- | src/drivers/WinAPI/Fl_WinAPI_Screen_Driver.cxx | 1 | ||||
| -rw-r--r-- | src/drivers/X11/Fl_X11_Screen_Driver.cxx | 1 |
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; |
