Remove redundant doxygen docs of fl_beep()

Also add a comment to all platform driver implementations.
This commit is contained in:
Albrecht Schlosser 2022-11-11 16:52:08 +01:00
parent a3a60ed27c
commit 74b9d5fb05
4 changed files with 4 additions and 5 deletions

View File

@ -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 :

View File

@ -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");

View File

@ -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) {

View File

@ -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;