From ba29d58fb21f0f376dd4c09df61b4e1d38cb1226 Mon Sep 17 00:00:00 2001 From: Jedidiah Barber Date: Sat, 30 Nov 2024 15:13:42 +1300 Subject: Error/Warning/Fatal added to FLTK.Errors --- doc/fl.html | 88 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ doc/fl_ask.html | 21 -------------- doc/index.html | 1 + 3 files changed, 89 insertions(+), 21 deletions(-) (limited to 'doc') diff --git a/doc/fl.html b/doc/fl.html index 3547287..09b1a3b 100644 --- a/doc/fl.html +++ b/doc/fl.html @@ -24,6 +24,11 @@ FLTK + +   + FLTK.Errors + +   FLTK.Event @@ -226,6 +231,89 @@ Mouse_Cursor + +   + Error_Function + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Attributes
+static void (*atclose)(Fl_Window *, void *);
+
Deprecated, set the callback for the Window instead
+static char const * const clipboard_image = "image";
+
 
+static char const * const clipboard_plain_text = "text/plain";
+
 
+static void (*error)(const char *, ...) = ::error;
+
+procedure Default_Error
+       (Message : in String);
+
+Current_Error : Error_Function := Default_Error'Access;
+
(In FLTK.Errors)
+static void (*fatal)(const char *, ...) = ::fatal;
+
+procedure Default_Fatal
+       (Message : in String);
+
+Current_Fatal : Error_Function := Default_Fatal'Access;
+
(In FLTK.Errors)
+static const char * const help = helpmsg + 13;
+
 
+static void (*idle)();
+
Should not be used directly
+static void (*warning)(const char *, ...) = ::warning;
+
+procedure Default_Warning
+       (Message : in String);
+
+Current_Warning : Error_Function := Default_Warning'Access;
+
(In FLTK.Errors)
diff --git a/doc/fl_ask.html b/doc/fl_ask.html index 078c7c8..857f5f5 100644 --- a/doc/fl_ask.html +++ b/doc/fl_ask.html @@ -75,20 +75,6 @@
-static void (*Fl::error)(const char *, ...) = ::error;
-
-See FLTK.Errors - - - -
-static void (*Fl::fatal)(const char *, ...) = ::fatal;
-
-See FLTK.Errors - - - -
 const char * fl_cancel = "Cancel";
 
@@ -152,13 +138,6 @@ procedure Set_Yes_String
 
- -
-static void (*Fl::warning)(const char *, ...) = ::warning;
-
-See FLTK.Errors - - diff --git a/doc/index.html b/doc/index.html index 071dc7c..8a6d4d8 100644 --- a/doc/index.html +++ b/doc/index.html @@ -145,6 +145,7 @@
  • FLTK.Devices.Surfaces.Paged.Printers
  • FLTK.Draw
  • FLTK.Environment
  • +
  • FLTK.Errors
  • FLTK.Event
  • FLTK.Help_Dialogs
  • FLTK.Images
  • -- cgit