Fix typos in names of Doxygen items (#729)

This commit is contained in:
ManoloFLTK 2023-08-17 08:22:25 +02:00
parent 336bd01f16
commit 64f64835dd
2 changed files with 3 additions and 3 deletions

View File

@ -79,7 +79,7 @@ struct FL_EXPORT Fl_Label {
The destructor of this class is virtual, allowing for additional code to
deallocate resources when the user data is deleted.
\see FL_FUNCTION_CALLBACK, FL_METHOD_CALLBACK, FL_INLINE_CALLBACK
\see FL_FUNCTION_CALLBACK_3, FL_METHOD_CALLBACK_1, FL_INLINE_CALLBACK_2
\see Fl_Widget::callback(Fl_Callback*, Fl_Callback_User_Data*, bool)
\see Fl_Widget::user_data(Fl_Callback_User_Data*, bool)
*/

View File

@ -55,10 +55,10 @@
#include <FL/fl_callback_macros.H>
...
Fl_Button *btn1 = new Fl_Button(10, 10, 100, 20, "Beep");
FL_FUNCTION_CALLBACK(btn1, fl_beep);
FL_FUNCTION_CALLBACK_0(btn1, fl_beep);
...
Fl_Button *btn2 = new Fl_Button(10, 40, 100, 20, "Hello");
FL_FUNCTION_CALLBACK(btn2,
FL_FUNCTION_CALLBACK_5(btn2,
fl_message,
const char *, text, "Hello\n%d %d %d %d",
int, a, 1, int, b, 2, int, c, 3, int, d, 4