mirror of
https://github.com/fltk/fltk.git
synced 2026-05-28 11:25:22 +08:00
Remove redundant doxygen docs of fl_beep()
Also add a comment to all platform driver implementations.
This commit is contained in:
@@ -158,11 +158,7 @@ void Fl_Cocoa_Screen_Driver::screen_dpi(float &h, float &v, int n)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
// Implements fl_beep(). See documentation in src/fl_ask.cxx.
|
||||||
Emits a system beep message.
|
|
||||||
\param[in] type The beep type from the \ref Fl_Beep enumeration.
|
|
||||||
\note \#include <FL/fl_ask.H>
|
|
||||||
*/
|
|
||||||
void Fl_Cocoa_Screen_Driver::beep(int type) {
|
void Fl_Cocoa_Screen_Driver::beep(int type) {
|
||||||
switch (type) {
|
switch (type) {
|
||||||
case FL_BEEP_DEFAULT :
|
case FL_BEEP_DEFAULT :
|
||||||
|
|||||||
@@ -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)
|
void Fl_Wayland_Screen_Driver::beep(int type)
|
||||||
{
|
{
|
||||||
fprintf(stderr, "\007");
|
fprintf(stderr, "\007");
|
||||||
|
|||||||
@@ -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)
|
void Fl_WinAPI_Screen_Driver::beep(int type)
|
||||||
{
|
{
|
||||||
switch (type) {
|
switch (type) {
|
||||||
|
|||||||
@@ -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)
|
void Fl_X11_Screen_Driver::beep(int type)
|
||||||
{
|
{
|
||||||
int vol;
|
int vol;
|
||||||
|
|||||||
Reference in New Issue
Block a user