FLTK logo

[master] fe6ab4e - Fix documentation example of the FL_FUNCTION_CALLBACK_#() macro

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.commit  ]
 
Previous Message ]Next Message ]

[master] fe6ab4e - Fix documentation example of the FL_FUNCTION_CALLBACK_#() macro "ManoloFLTK" 02:02 Apr 05  
 
commit fe6ab4ebc2c106fb135b26c1d7234b1591c383a5
Author:     ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>
AuthorDate: Fri Apr 5 10:57:46 2024 +0200
Commit:     ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>
CommitDate: Fri Apr 5 10:57:46 2024 +0200

    Fix documentation example of the FL_FUNCTION_CALLBACK_#() macro

 FL/fl_callback_macros.H | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git FL/fl_callback_macros.H FL/fl_callback_macros.H
index b1c2a34..398d848 100644
--- FL/fl_callback_macros.H
+++ FL/fl_callback_macros.H
@@ -60,8 +60,8 @@
  Fl_Button *btn2 = new Fl_Button(10, 40, 100, 20, "Hello");
  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
+   const char *, "Hello\n%d %d %d %d",
+   int, 1,  int, 2,  int, 3,  int, 4
  );
  \endcode
 
Direct Link to Message ]
 
     
Previous Message ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.