aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/enumerations.html302
-rw-r--r--doc/fl.html1799
-rw-r--r--doc/fl_(fltk-errors).html115
-rw-r--r--doc/fl_(fltk-events).html650
-rw-r--r--doc/fl_(fltk-screen).html278
-rw-r--r--doc/fl_(fltk-static).html1028
-rw-r--r--doc/fl_ask.html16
-rw-r--r--doc/fl_bitmap.html65
-rw-r--r--doc/fl_browser_.html9
-rw-r--r--doc/fl_button.html4
-rw-r--r--doc/fl_draw.html105
-rw-r--r--doc/fl_file_chooser.html6
-rw-r--r--doc/fl_image.html83
-rw-r--r--doc/fl_input_.html8
-rw-r--r--doc/fl_pack.html4
-rw-r--r--doc/fl_pixmap.html45
-rw-r--r--doc/fl_rgb_image.html58
-rw-r--r--doc/fl_scroll.html47
-rw-r--r--doc/fl_text_display.html652
-rw-r--r--doc/fl_tiled_image.html6
-rw-r--r--doc/fl_widget.html365
-rw-r--r--doc/fl_window.html189
-rw-r--r--doc/index.html15
23 files changed, 3771 insertions, 2078 deletions
diff --git a/doc/enumerations.html b/doc/enumerations.html
new file mode 100644
index 0000000..6e4f521
--- /dev/null
+++ b/doc/enumerations.html
@@ -0,0 +1,302 @@
+<!DOCTYPE html>
+
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <title>Enumerations Binding Map</title>
+ <link href="map.css" rel="stylesheet">
+ </head>
+
+ <body>
+
+
+<h2>Enumerations Binding Map</h2>
+
+
+<a href="index.html">Back to Index</a>
+
+
+<table class="package">
+ <tr><th colspan="2">Package name</th></tr>
+
+ <tr>
+ <td>Enumerations</td>
+ <td>FLTK</td>
+ </tr>
+
+ <tr>
+ <td>fl_types</td>
+ <td>&nbsp;</td>
+ </tr>
+
+</table>
+
+
+
+<table class="type">
+ <tr><th colspan="2">Types</th></tr>
+
+ <tr>
+ <td>Fl_Color</td>
+ <td>Greyscale</td>
+ </tr>
+
+ <tr>
+ <td>Fl_Color</td>
+ <td>Color</td>
+ </tr>
+
+ <tr>
+ <td>unsigned char</td>
+ <td>Color_Component</td>
+ </tr>
+
+ <tr>
+ <td>unsigned char *</td>
+ <td>Color_Component_Array</td>
+ </tr>
+
+ <tr>
+ <td>float</td>
+ <td>Blend</td>
+ </tr>
+
+ <tr>
+ <td>Fl_Align</td>
+ <td>Alignment</td>
+ </tr>
+
+ <tr>
+ <td>Fl_Cursor</td>
+ <td>Mouse_Cursor_Kind</td>
+ </tr>
+
+ <tr>
+ <td>short</td>
+ <td>Keypress</td>
+ </tr>
+
+ <tr>
+ <td>
+ #define FL_BUTTON1 0x01000000<br />
+ #define FL_BUTTON2 0x02000000<br />
+ #define FL_BUTTON3 0x04000000<br />
+ #define FL_BUTTONS 0x7f000000
+ </td>
+ <td>Mouse_Button</td>
+ </tr>
+
+ <tr>
+ <td>short</td>
+ <td>Modifier</td>
+ </tr>
+
+ <tr>
+ <td>Fl_Shortcut</td>
+ <td>Key_Combo</td>
+ </tr>
+
+ <tr>
+ <td>Fl_Boxtype</td>
+ <td>Box_Kind</td>
+ </tr>
+
+ <tr>
+ <td>Fl_Font</td>
+ <td>Font_Kind</td>
+ </tr>
+
+ <tr>
+ <td>Fl_Fontsize</td>
+ <td>Font_Size</td>
+ </tr>
+
+ <tr>
+ <td>Fl_Fontsize *</td>
+ <td>Font_Size_Array</td>
+ </tr>
+
+ <tr>
+ <td>Fl_Labeltype</td>
+ <td>Label_Kind</td>
+ </tr>
+
+ <tr>
+ <td>Fl_Event</td>
+ <td>Event_Kind</td>
+ </tr>
+
+ <tr>
+ <td>int</td>
+ <td>Event_Outcome</td>
+ </tr>
+
+ <tr>
+ <td>Fl_When</td>
+ <td>Callback_Flag</td>
+ </tr>
+
+ <tr>
+ <td>Fl_Damage</td>
+ <td>Damage_Mask</td>
+ </tr>
+
+ <tr>
+ <td>int</td>
+ <td>Version_Number</td>
+ </tr>
+
+</table>
+
+
+
+<table class="function">
+ <tr><th colspan="2">Static Functions and Procedures</th></tr>
+
+ <tr>
+<td><pre>
+inline Fl_Boxtype fl_box(Fl_Boxtype b);
+</pre></td>
+<td><pre>
+function Filled
+ (Box : in Box_Kind)
+ return Box_Kind;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+Fl_Color fl_color_average(Fl_Color c1, Fl_Color c2, float weight);
+</pre></td>
+<td><pre>
+function Color_Average
+ (Tone1, Tone2 : in Color;
+ Weight : in Blend := 0.5)
+ return Color;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+inline Fl_Color fl_color_cube(int r, int g, int b);
+</pre></td>
+<td><pre>
+function Color_Cube
+ (R, G, B : in Color_Component)
+ return Color;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+Fl_Color fl_contrast(Fl_Color fg, Fl_Color bg);
+</pre></td>
+<td><pre>
+function Contrast
+ (Fore, Back : in Color)
+ return Color;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+inline Fl_Color fl_darker(Fl_Color c);
+</pre></td>
+<td><pre>
+function Darker
+ (Tone : in Color)
+ return Color;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+inline Fl_Boxtype fl_down(Fl_Boxtype b);
+</pre></td>
+<td><pre>
+function Down
+ (Box : in Box_Kind)
+ return Box_Kind;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+inline Fl_Boxtype fl_frame(Fl_Boxtype b);
+</pre></td>
+<td><pre>
+function Frame
+ (Box : in Box_Kind)
+ return Box_Kind;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+inline Fl_Color fl_gray_ramp(int i);
+</pre></td>
+<td><pre>
+function Grey_Ramp
+ (Light : in Greyscale)
+ return Color;
+
+function Grey_Ramp
+ (Light : in Color_Component)
+ return Color;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+Fl_Color fl_inactive(Fl_Color c);
+</pre></td>
+<td><pre>
+function Inactive
+ (Tone : in Color)
+ return Color;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+inline Fl_Color fl_lighter(Fl_Color c);
+</pre></td>
+<td><pre>
+function Lighter
+ (Tone : in Color)
+ return Color;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+inline Fl_Color fl_rgb_color(uchar g);
+</pre></td>
+<td><pre>
+function RGB_Color
+ (Light : in Greyscale)
+ return Color;
+
+function RGB_Color
+ (Light : in Color_Component)
+ return Color;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+inline Fl_Color fl_rgb_color(uchar r, uchar g, uchar b);
+</pre></td>
+<td><pre>
+function RGB_Color
+ (R, G, B : in Color_Component)
+ return Color;
+</pre></td>
+ </tr>
+
+</table>
+
+
+ </body>
+</html>
+
diff --git a/doc/fl.html b/doc/fl.html
index db60f5b..96bb11d 100644
--- a/doc/fl.html
+++ b/doc/fl.html
@@ -24,31 +24,6 @@
<td>FLTK</td>
</tr>
- <tr>
- <td>&nbsp;</td>
- <td>FLTK.Errors</td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
- <td>FLTK.Event</td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
- <td>FLTK.Screen</td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
- <td>FLTK.Static</td>
- </tr>
-
- <tr>
- <td>Enumerations</td>
- <td>&nbsp;</td>
- </tr>
-
</table>
@@ -57,183 +32,33 @@
<tr><th colspan="2">Types</th></tr>
<tr>
- <td>Fl_Option</td>
- <td>Option</td>
- </tr>
-
- <tr>
- <td>Fl_Color</td>
- <td>Color</td>
- </tr>
-
- <tr>
- <td>Fl_Align</td>
- <td>Alignment</td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
- <td>Keypress</td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
- <td>Mouse_Button</td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
- <td>Modifier</td>
- </tr>
-
- <tr>
- <td>Fl_Shortcut</td>
- <td>Key_Combo</td>
+ <td>void *</td>
+ <td>Wrapper</td>
</tr>
<tr>
- <td>Fl_Boxtype</td>
- <td>Box_Kind</td>
- </tr>
-
- <tr>
- <td>Fl_Font</td>
- <td>Font_Kind</td>
- </tr>
-
- <tr>
- <td>Fl_Fontsize</td>
- <td>Font_Size</td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
- <td>Font_Size_Array</td>
- </tr>
-
- <tr>
- <td>Fl_Labeltype</td>
- <td>Label_Kind</td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
- <td>Event_Kind</td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
- <td>Event_Outcome</td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
+ <td>enum {<br />
+ FL_MENU_INACTIVE = 1,<br />
+ FL_MENU_TOGGLE = 2,<br />
+ FL_MENU_VALUE = 4,<br />
+ FL_MENU_RADIO = 8,<br />
+ FL_MENU_INVISIBLE = 0x10,<br />
+ FL_SUBMENU_POINTER = 0x20,<br />
+ FL_SUBMENU = 0x40,<br />
+ FL_MENU_DIVIDER = 0x80,<br />
+ FL_MENU_HORIZONTAL = 0x100 }<br />
+ </td>
<td>Menu_Flag</td>
</tr>
<tr>
- <td>&nbsp;</td>
- <td>Version_Number</td>
- </tr>
-
- <tr>
- <td>Fl_Event_Handler</td>
- <td>Event_Handler</td>
- </tr>
-
- <tr>
- <td>Fl_Event_Dispatch</td>
- <td>TBA</td>
- </tr>
-
- <tr>
- <td>Fl_Awake_Handler</td>
- <td>Awake_Handler</td>
+ <td>size_t</td>
+ <td>Size_Type</td>
</tr>
<tr>
- <td>Fl_Timeout_Handler</td>
- <td>Timeout_Handler</td>
- </tr>
-
- <tr>
- <td>Fl_Idle_Handler</td>
- <td>Idle_Handler</td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
- <td>Buffer_Kind</td>
- </tr>
-
- <tr>
- <td>Fl_Clipboard_Notify_Handler</td>
- <td>Clipboard_Notify_Handler</td>
- </tr>
-
- <tr>
- <td>FL_SOCKET</td>
- <td>File_Descriptor</td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
- <td>File_Mode</td>
- </tr>
-
- <tr>
- <td>Fl_FD_Handler</td>
- <td>File_Handler</td>
- </tr>
-
- <tr>
- <td>Fl_Box_Draw_F</td>
- <td>Box_Draw_Function</td>
- </tr>
-
- <tr>
- <td>Fl_Abort_Handler</td>
- <td>&nbsp;</td>
- </tr>
-
- <tr>
- <td>Fl_Args_Handler</td>
- <td>&nbsp;</td>
- </tr>
-
- <tr>
- <td>Fl_Atclose_Handler</td>
- <td>&nbsp;</td>
- </tr>
-
- <tr>
- <td>Fl_Label_Draw_F</td>
- <td>&nbsp;</td>
- </tr>
-
- <tr>
- <td>Fl_Label_Measure_F</td>
- <td>&nbsp;</td>
- </tr>
-
- <tr>
- <td>Fl_Old_Idle_Handler</td>
- <td>&nbsp;</td>
- </tr>
-
- <tr>
- <td>Fl_System_Handler</td>
- <td>&nbsp;</td>
- </tr>
-
- <tr>
- <td>Fl_Cursor</td>
- <td>Mouse_Cursor</td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
- <td>Error_Function</td>
+ <td>size_t</td>
+ <td>Positive_Size</td>
</tr>
</table>
@@ -253,77 +78,24 @@
<table class="function">
- <tr><th colspan="2">Attributes</th></tr>
-
- <tr>
-<td><pre>
-static void (*atclose)(Fl_Window *, void *);
-</pre></td>
-<td>Deprecated, set the callback for the Window instead</td>
- </tr>
+ <tr><th colspan="2">Static Attributes</th></tr>
<tr>
<td><pre>
static char const * const clipboard_image = "image";
</pre></td>
-<td>&nbsp;</td>
- </tr>
-
- <tr>
-<td><pre>
-static char const * const clipboard_plain_text = "text/plain";
-</pre></td>
-<td>&nbsp;</td>
- </tr>
-
- <tr>
-<td><pre>
-static void (*error)(const char *, ...) = ::error;
-</pre></td>
-<td><pre>
-procedure Default_Error
- (Message : in String);
-
-Current_Error : Error_Function := Default_Error'Access;
-</pre>(In FLTK.Errors)</td>
- </tr>
-
- <tr>
-<td><pre>
-static void (*fatal)(const char *, ...) = ::fatal;
-</pre></td>
-<td><pre>
-procedure Default_Fatal
- (Message : in String);
-
-Current_Fatal : Error_Function := Default_Fatal'Access;
-</pre>(In FLTK.Errors)</td>
- </tr>
-
- <tr>
<td><pre>
-static const char * const help = helpmsg + 13;
+Clipboard_Image : constant String;
</pre></td>
-<td>&nbsp;</td>
</tr>
<tr>
<td><pre>
-static void (*idle)();
+static char const * const clipboard_plain_text = "text/plain";
</pre></td>
-<td>Should not be used directly</td>
- </tr>
-
- <tr>
<td><pre>
-static void (*warning)(const char *, ...) = ::warning;
+Clipboard_Plain_Text : constant String;
</pre></td>
-<td><pre>
-procedure Default_Warning
- (Message : in String);
-
-Current_Warning : Error_Function := Default_Warning'Access;
-</pre>(In FLTK.Errors)</td>
</tr>
</table>
@@ -331,7 +103,7 @@ Current_Warning : Error_Function := Default_Warning'Access;
<table class="function">
- <tr><th colspan="2">Functions and Procedures</th></tr>
+ <tr><th colspan="2">Static Functions and Procedures</th></tr>
<tr>
<td><pre>
@@ -356,97 +128,6 @@ function ABI_Version
<tr>
<td><pre>
-static int add_awake_handler_(Fl_Awake_Handler, void *);
-</pre></td>
-<td><pre>
-procedure Add_Awake_Handler
- (Func : in Awake_Handler);
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static void add_check(Fl_Timeout_Handler, void *=0);
-</pre></td>
-<td><pre>
-procedure Add_Check
- (Func : in Timeout_Handler);
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static void add_clipboard_notify(Fl_Clipboard_Notify_Handler h, void *data=0);
-</pre></td>
-<td><pre>
-procedure Add_Clipboard_Notify
- (Func : in Clipboard_Notify_Handler);
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static void add_fd(int fd, int when, Fl_FD_Handler cb, void *=0);
-</pre></td>
-<td><pre>
-procedure Add_File_Descriptor
- (FD : in File_Descriptor;
- Mode : in File_Mode;
- Func : in File_Handler);
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static void add_fd(int fd, Fl_FD_Handler cb, void *=0);
-</pre></td>
-<td><pre>
-procedure Add_File_Descriptor
- (FD : in File_Descriptor;
- Func : in File_Handler);
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static void add_handler(Fl_Event_Handler h);
-</pre></td>
-<td><pre>
-procedure Add_Handler
- (Func : in Event_Handler);
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static void add_idle(Fl_Idle_Handler cb, void *data=0);
-</pre></td>
-<td><pre>
-procedure Add_Idle
- (Func : in Idle_Handler);
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static void add_system_handler(Fl_System_Handler h, void *data);
-</pre></td>
-<td>&nbsp;</td>
- </tr>
-
- <tr>
-<td><pre>
-static void add_timeout(double t, Fl_Timeout_Handler, void *=0);
-</pre></td>
-<td><pre>
-procedure Add_Timeout
- (Seconds : in Long_Float;
- Func : in Timeout_Handler);
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
static int api_version();
</pre></td>
<td><pre>
@@ -457,134 +138,6 @@ function API_Version
<tr>
<td><pre>
-static int arg(int argc, char **argv, int &i);
-</pre></td>
-<td>&nbsp;</td>
- </tr>
-
- <tr>
-<td><pre>
-static int args(int argc, char **argv, int &i, Fl_Args_Handler cb=0);
-</pre></td>
-<td>&nbsp;</td>
- </tr>
-
- <tr>
-<td><pre>
-static void args(int argc, char **argv);
-</pre></td>
-<td>&nbsp;</td>
- </tr>
-
- <tr>
-<td><pre>
-static void awake(void *message=0);
-</pre></td>
-<td><pre>
-procedure Awake;
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static int awake(Fl_Awake_Handler cb, void *message=0);
-</pre></td>
-<td>&nbsp;</td>
- </tr>
-
- <tr>
-<td><pre>
-static void background(uchar, uchar, uchar);
-</pre></td>
-<td><pre>
-procedure Set_Background
- (R, G, B : in Color_Component);
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static void background2(uchar, uchar, uchar);
-</pre></td>
-<td><pre>
-procedure Set_Alt_Background
- (R, G, B : in Color_Component);
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static Fl_Widget * belowmouse();
-</pre></td>
-<td><pre>
-function Get_Below_Mouse
- return access FLTK.Widgets.Widget'Class;
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static void belowmouse(Fl_Widget *);
-</pre></td>
-<td><pre>
-procedure Set_Below_Mouse
- (To : in FLTK.Widgets.Widget'Class);
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static Fl_Color box_color(Fl_Color);
-</pre></td>
-<td>&nbsp;</td>
- </tr>
-
- <tr>
-<td><pre>
-static int box_dh(Fl_Boxtype);
-</pre></td>
-<td><pre>
-function Get_Box_Height_Offset
- (Kind : in Box_Kind)
- return Integer;
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static int box_dw(Fl_Boxtype);
-</pre></td>
-<td><pre>
-function Get_Box_Width_Offset
- (Kind : in Box_Kind)
- return Integer;
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static int box_dx(Fl_Boxtype);
-</pre></td>
-<td><pre>
-function Get_Box_X_Offset
- (Kind : in Box_Kind)
- return Integer;
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static int box_dy(Fl_Boxtype);
-</pre></td>
-<td><pre>
-function Get_Box_Y_Offset
- (Kind : in Box_Kind)
- return Integer;
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
static void cairo_autolink_context(bool alink);
</pre></td>
<td>&nbsp;</td>
@@ -623,6 +176,8 @@ static cairo_t * cairo_make_current(Fl_Window *w);
static int check();
</pre></td>
<td><pre>
+procedure Check;
+
function Check
return Boolean;
</pre></td>
@@ -632,637 +187,21 @@ function Check
<td><pre>
static void clear_widget_pointer(Fl_Widget const *w);
</pre></td>
-<td>&nbsp;</td>
- </tr>
-
- <tr>
-<td><pre>
-static int clipboard_contains(const char *type);
-</pre></td>
-<td>&nbsp;</td>
- </tr>
-
- <tr>
-<td><pre>
-static int compose(int &del);
-</pre></td>
-<td><pre>
-function Compose
- (Del : out Natural)
- return Boolean;
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static void compose_reset();
-</pre></td>
-<td><pre>
-procedure Compose_Reset;
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static void copy
- (const char *stuff, int len, int destination=0,
- const char *type=Fl::clipboard_plain_text);
-</pre></td>
-<td><pre>
-procedure Copy
- (Text : in String;
- Dest : in Buffer_Kind);
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static void damage(int d);
-</pre></td>
-<td><pre>
-procedure Set_Damaged
- (To : in Boolean);
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static int damage();
-</pre></td>
-<td><pre>
-function Is_Damaged
- return Boolean;
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static void default_atclose(Fl_Window *, void *);
-</pre></td>
-<td><pre>
-procedure Default_Window_Close
- (Item : in out FLTK.Widgets.Widget'Class);
-</pre></td>
+<td>Marked as internal use only.</td>
</tr>
<tr>
<td><pre>
static void delete_widget(Fl_Widget *w);
</pre></td>
-<td>&nbsp;</td>
- </tr>
-
- <tr>
-<td><pre>
-static void disable_im();
-</pre></td>
-<td><pre>
-procedure Disable_System_Input;
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static void display(const char *);
-</pre></td>
-<td>&nbsp;</td>
- </tr>
-
- <tr>
-<td><pre>
-static int dnd();
-</pre></td>
-<td><pre>
-procedure Drag_Drop_Start;
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static void dnd_text_ops(int v);
-</pre></td>
-<td><pre>
-procedure Set_Drag_Drop_Text_Support
- (To : in Boolean);
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static int dnd_text_ops();
-</pre></td>
-<td><pre>
-function Get_Drag_Drop_Text_Support
- return Boolean;
-</pre></td>
+<td>Used automatically as appropriate by the binding.</td>
</tr>
<tr>
<td><pre>
static void do_widget_deletion();
</pre></td>
-<td><pre>
-procedure Do_Widget_Deletion;
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static int draw_box_active();
-</pre></td>
-<td><pre>
-function Draw_Box_Active
- return Boolean;
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static void enable_im();
-</pre></td>
-<td><pre>
-procedure Enable_System_Input;
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static int event();
-</pre></td>
-<td><pre>
-function Last
- return Event_Kind;
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static int event_alt();
-</pre></td>
-<td><pre>
-function Key_Alt
- return Boolean;
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static int event_button();
-</pre></td>
-<td><pre>
-function Last_Button
- return Mouse_Button;
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static int event_button1();
-</pre></td>
-<td><pre>
-function Mouse_Left
- return Boolean;
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static int event_button2();
-</pre></td>
-<td><pre>
-function Mouse_Middle
- return Boolean;
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static int event_button3();
-</pre></td>
-<td><pre>
-function Mouse_Right
- return Boolean;
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static int event_buttons();
-</pre></td>
-<td>&nbsp;</td>
- </tr>
-
- <tr>
-<td><pre>
-static int event_clicks();
-</pre></td>
-<td><pre>
-function Is_Multi_Click
- return Boolean;
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static void event_clicks(int i);
-</pre></td>
-<td><pre>
-procedure Set_Clicks
- (To : in Natural);
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static void * event_clipboard();
-</pre></td>
-<td>&nbsp;</td>
- </tr>
-
- <tr>
-<td><pre>
-static const char * event_clipboard_type();
-</pre></td>
-<td>&nbsp;</td>
- </tr>
-
- <tr>
-<td><pre>
-static int event_command();
-</pre></td>
-<td><pre>
-function Key_Command
- return Boolean;
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static int event_ctrl();
-</pre></td>
-<td><pre>
-function Key_Ctrl
- return Boolean;
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static void event_dispatch(Fl_Event_Dispatch d);
-</pre></td>
-<td>TBA</td>
- </tr>
-
- <tr>
-<td><pre>
-static Fl_Event_Dispatch event_dispatch();
-</pre></td>
-<td>TBA</td>
- </tr>
-
- <tr>
-<td><pre>
-static int event_dx();
-</pre></td>
-<td><pre>
-function Mouse_DX
- return Integer;
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static int event_dy();
-</pre></td>
-<td><pre>
-function Mouse_DY
- return Integer;
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static int event_inside(int, int, int, int);
-</pre></td>
-<td><pre>
-function Is_Inside
- (X, Y, W, H : in Integer)
- return Boolean;
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static int event_inside(const Fl_Widget *);
-</pre></td>
-<td>&nbsp;</td>
- </tr>
-
- <tr>
-<td><pre>
-static int event_is_click();
-</pre></td>
-<td><pre>
-function Is_Click
- return Boolean;
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static void event_is_click(int i);
-</pre></td>
-<td>See static void event_clicks(int i);</td>
- </tr>
-
- <tr>
-<td><pre>
-static int event_key();
-</pre></td>
-<td><pre>
-function Last_Key
- return Keypress;
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static int event_key(int key);
-</pre></td>
-<td><pre>
-function Pressed_During
- (Key : in Keypress)
- return Boolean;
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static int event_length();
-</pre></td>
-<td><pre>
-function Text_Length
- return Natural;
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static int event_original_key();
-</pre></td>
-<td><pre>
-function Original_Last_Key
- return Keypress;
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static int event_shift();
-</pre></td>
-<td><pre>
-function Key_Shift
- return Boolean;
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static int event_state();
-</pre></td>
-<td><pre>
-function Last_Modifier
- return Modifier;
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static int event_state(int mask);
-</pre></td>
-<td><pre>
-function Last_Modifier
- (Had : in Modifier)
- return Boolean;
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static const char * event_text();
-</pre></td>
-<td><pre>
-function Text
- return String;
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static int event_x();
-</pre></td>
-<td><pre>
-function Mouse_X
- return Integer;
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static int event_x_root();
-</pre></td>
-<td><pre>
-function Mouse_X_Root
- return Integer;
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static int event_y();
-</pre></td>
-<td><pre>
-function Mouse_Y
- return Integer;
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static int event_y_root();
-</pre></td>
-<td><pre>
-function Mouse_Y_Root
- return Integer;
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static Fl_Window * first_window();
-</pre></td>
-<td><pre>
-function Get_First_Window
- return access FLTK.Widgets.Groups.Windows.Window'Class;
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static void first_window(Fl_Window *);
-</pre></td>
-<td><pre>
-procedure Set_First_Window
- (To : in FLTK.Widgets.Groups.Windows.Window'Class);
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static void flush();
-</pre></td>
-<td><pre>
-procedure Flush;
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static Fl_Widget * focus();
-</pre></td>
-<td><pre>
-function Get_Focus
- return access FLTK.Widgets.Widget'Class;
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static void focus(Fl_Widget *);
-</pre></td>
-<td><pre>
-procedure Set_Focus
- (To : in FLTK.Widgets.Widget'Class);
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static void foreground(uchar, uchar, uchar);
-</pre></td>
-<td><pre>
-procedure Set_Foreground
- (R, G, B : in Color_Component);
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static void free_color(Fl_Color i, int overlay=0);
-</pre></td>
-<td><pre>
-procedure Free_Color
- (Value : in Color;
- Overlay : in Boolean := False);
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static int get_awake_handler_(Fl_Awake_Handler &, void *&);
-</pre></td>
-<td><pre>
-function Get_Awake_Handler
- return Awake_Handler;
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static Fl_Box_Draw_F * get_boxtype(Fl_Boxtype);
-</pre></td>
-<td>TBA</td>
- </tr>
-
- <tr>
-<td><pre>
-static unsigned get_color(Fl_Color i);
-</pre></td>
-<td>&nbsp;</td>
- </tr>
-
- <tr>
-<td><pre>
-static void get_color(Fl_Color i, uchar &red, uchar &green, uchar &blue);
-</pre></td>
-<td><pre>
-procedure Get_Color
- (From : in Color;
- R, G, B : out Color_Component);
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static const char * get_font(Fl_Font);
-</pre></td>
-<td><pre>
-function Font_Image
- (Kind : in Font_Kind)
- return String;
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static const char * get_font_name(Fl_Font, int *attributes=0);
-</pre></td>
-<td><pre>
-function Font_Family_Image
- (Kind : in Font_Kind)
- return String;
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static int get_font_sizes(Fl_Font, int *&sizep);
-</pre></td>
-<td><pre>
-function Font_Sizes
- (Kind : in Font_Kind)
- return Font_Size_Array;
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static int get_key(int key);
-</pre></td>
-<td><pre>
-function Key_Now
- (Key : in Keypress)
- return Boolean;
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static void get_mouse(int &, int &);
-</pre></td>
-<td><pre>
-procedure Get_Mouse
- (X, Y : out Integer);
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static void get_system_colors();
-</pre></td>
-<td><pre>
-procedure System_Colors;
-</pre></td>
+<td>Marked as internal use only.</td>
</tr>
<tr>
@@ -1274,200 +213,6 @@ static int gl_visual(int, int *alist=0);
<tr>
<td><pre>
-static Fl_Window * grab();
-</pre></td>
-<td><pre>
-function Get_Grab
- return access FLTK.Widgets.Groups.Windows.Window'Class;
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static void grab(Fl_Window *);
-static void grab(Fl_Window &win);
-</pre></td>
-<td><pre>
-procedure Set_Grab
- (To : in FLTK.Widgets.Groups.Windows.Window'Class);
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static int h();
-</pre></td>
-<td><pre>
-function Get_H
- return Integer;
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static int handle(int, Fl_Window *);
-static int handle_(int, Fl_Window *);
-</pre></td>
-<td>&nbsp;</td>
- </tr>
-
- <tr>
-<td><pre>
-static int has_check(Fl_Timeout_Handler, void *=0);
-</pre></td>
-<td><pre>
-function Has_Check
- (Func : in Timeout_Handler)
- return Boolean;
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static int has_idle(Fl_Idle_Handler cb, void *data=0);
-</pre></td>
-<td><pre>
-function Has_Idle
- (Func : in Idle_Handler)
- return Boolean;
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static int has_timeout(Fl_Timeout_Handler, void *=0);
-</pre></td>
-<td><pre>
-function Has_Timeout
- (Func : in Timeout_Handler)
- return Boolean;
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static int is_scheme(const char *name);
-</pre></td>
-<td><pre>
-function Is_Scheme
- (Scheme : in String)
- return Boolean;
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static int lock();
-</pre></td>
-<td><pre>
-procedure Lock;
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static Fl_Window * modal();
-</pre></td>
-<td><pre>
-function Get_Top_Modal
- return access FLTK.Widgets.Groups.Windows.Window'Class;
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static Fl_Window * next_window(const Fl_Window *);
-</pre></td>
-<td><pre>
-function Get_Next_Window
- (From : in FLTK.Widgets.Groups.Windows.Window'Class)
- return access FLTK.Widgets.Groups.Windows.Window'Class;
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static bool option(Fl_Option opt);
-</pre></td>
-<td><pre>
-function Get_Option
- (Opt : in Option)
- return Boolean;
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static void option(Fl_Option opt, bool val);
-</pre></td>
-<td><pre>
-procedure Set_Option
- (Opt : in Option;
- To : in Boolean);
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static void own_colormap();
-</pre></td>
-<td><pre>
-procedure Own_Colormap;
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static void paste
- (Fl_Widget &receiver, int source,
- const char *type=Fl::clipboard_plain_text);
-</pre></td>
-<td><pre>
-procedure Paste
- (Receiver : in FLTK.Widgets.Widget'Class;
- Source : in Buffer_Kind);
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static void paste(Fl_Widget &receiver);
-</pre></td>
-<td>&nbsp;</td>
- </tr>
-
- <tr>
-<td><pre>
-static Fl_Widget * pushed();
-</pre></td>
-<td><pre>
-function Get_Pushed
- return access FLTK.Widgets.Widget'Class;
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static void pushed(Fl_Widget *);
-</pre></td>
-<td><pre>
-procedure Set_Pushed
- (To : in FLTK.Widgets.Widget'Class);
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static Fl_Widget * readqueue();
-</pre></td>
-<td><pre>
-function Read_Queue
- return access FLTK.Widgets.Widget'Class;
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
static int ready();
</pre></td>
<td><pre>
@@ -1478,125 +223,9 @@ function Ready
<tr>
<td><pre>
-static void redraw();
-</pre></td>
-<td><pre>
-procedure Redraw;
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static void release();
-</pre></td>
-<td><pre>
-procedure Release_Grab;
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
static void release_widget_pointer(Fl_Widget *&w);
</pre></td>
-<td>&nbsp;</td>
- </tr>
-
- <tr>
-<td><pre>
-static int reload_scheme();
-</pre></td>
-<td><pre>
-procedure Reload_Scheme;
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static void remove_check(Fl_Timeout_Handler, void *=0);
-</pre></td>
-<td><pre>
-procedure Remove_Check
- (Func : in Timeout_Handler);
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static void remove_clipboard_notify(Fl_Clipboard_Notify_Handler h);
-</pre></td>
-<td><pre>
-procedure Remove_Clipboard_Notify
- (Func : in Clipboard_Notify_Handler);
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static void remove_fd(int, int when);
-</pre></td>
-<td><pre>
-procedure Remove_File_Descriptor
- (FD : in File_Descriptor;
- Mode : in File_Mode);
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static void remove_fd(int);
-</pre></td>
-<td><pre>
-procedure Remove_File_Descriptor
- (FD : in File_Descriptor);
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static void remove_handler(Fl_Event_Handler h);
-</pre></td>
-<td><pre>
-procedure Remove_Handler
- (Func : in Event_Handler);
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static void remove_idle(Fl_Idle_Handler cb, void *data=0);
-</pre></td>
-<td><pre>
-procedure Remove_Idle
- (Func : in Idle_Handler);
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static void remove_system_handler(Fl_System_Handler h);
-</pre></td>
-<td>&nbsp;</td>
- </tr>
-
- <tr>
-<td><pre>
-static void remove_timeout(Fl_Timeout_Handler, void *=0);
-</pre></td>
-<td><pre>
-procedure Remove_Timeout
- (Func : in Timeout_Handler);
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static repeat_timeout(double t, Fl_Timeout_Handler, void *=0);
-</pre></td>
-<td><pre>
-procedure Repeat_Timeout
- (Seconds : in Long_Float;
- Func : in Timeout_Handler);
-</pre></td>
+<td>Marked as internal use only.</td>
</tr>
<tr>
@@ -1611,326 +240,25 @@ function Run
<tr>
<td><pre>
-static int scheme(const char *name);
-</pre></td>
-<td><pre>
-procedure Set_Scheme
- (To : in String);
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static const char * scheme();
-</pre></td>
-<td><pre>
-function Get_Scheme
- return String;
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static int screen_count();
-</pre></td>
-<td><pre>
-function Count
- return Integer;
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static void screen_dpi(float &h, float &v, int n=0);
-</pre></td>
-<td><pre>
-procedure DPI
- (Horizontal, Vertical : out Float;
- Screen_Number : in Integer := 1);
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static int screen_num(int x, int y);
-</pre></td>
-<td><pre>
-function Containing
- (X, Y : in Integer)
- return Integer;
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static int screen_num(int x, int y, int w, int h);
-</pre></td>
-<td><pre>
-function Containing
- (X, Y, W, H : in Integer)
- return Integer;
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static void screen_work_area(int &X, int &Y, int &W, int &H, int mx, int my);
-</pre></td>
-<td><pre>
-procedure Work_Area
- (X, Y, W, H : out Integer;
- Pos_X, Pos_Y : in Integer);
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static void screen_work_area(int &X, int &Y, int &W, int &H, int n);
-</pre></td>
-<td><pre>
-procedure Work_Area
- (X, Y, W, H : out Integer;
- Screen_Num : in Integer);
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static void screen_work_area(int &X, int &Y, int &W, int &H);
-</pre></td>
-<td><pre>
-procedure Work_Area
- (X, Y, W, H : out Integer);
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static void screen_xywh(int &X, int &Y, int &W, int &H);
-</pre></td>
-<td><pre>
-procedure Bounding_Rect
- (X, Y, W, H : out Integer);
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static void screen_xywh(int &X, int &Y, int &W, int &H, int mx, int my);
-</pre></td>
-<td><pre>
-procedure Bounding_Rect
- (X, Y, W, H : out Integer;
- Pos_X, Pos_Y : in Integer);
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static void screen_xywh(int &X, int &Y, int &W, int &H, int n);
-</pre></td>
-<td><pre>
-procedure Bounding_Rect
- (X, Y, W, H : out Integer;
- Screen_Num : in Integer);
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static void screen_xywh(int &X, int &Y, int &W, int &H, int mx, int my, int mw, int mh);
-</pre></td>
-<td><pre>
-procedure Bounding_Rect
- (X, Y, W, H : out Integer;
- PX, PY, PW, PH : in Integer);
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static int scrollbar_size();
-</pre></td>
-<td><pre>
-function Get_Default_Scrollbar_Size
- return Natural;
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static void scrollbar_size(int W);
-</pre></td>
-<td><pre>
-procedure Set_Default_Scrollbar_Size
- (To : in Natural);
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static void selection(Fl_Widget &owner, const char *, int len);
-</pre></td>
-<td><pre>
-procedure Selection
- (Owner : in FLTK.Widgets.Widget'Class;
- Text : in String);
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static Fl_Widget * selection_owner();
-</pre></td>
-<td>&nbsp;</td>
- </tr>
-
- <tr>
-<td><pre>
-static void selection_owner(Fl_Widget *);
-</pre></td>
-<td>&nbsp;</td>
- </tr>
-
- <tr>
-<td><pre>
-static void set_abort(Fl_Abort_Handler f);
-</pre></td>
-<td>&nbsp;</td>
- </tr>
-
- <tr>
-<td><pre>
-static void set_atclose(Fl_Atclose_Handler f);
-</pre></td>
-<td>&nbsp;</td>
- </tr>
-
- <tr>
-<td><pre>
-static void set_box_color(Fl_Color);
-</pre></td>
-<td>&nbsp;</td>
- </tr>
-
- <tr>
-<td><pre>
-static void set_boxtype(Fl_Boxtype, Fl_Box_Draw_F *, uchar, uchar, uchar, uchar);
-</pre></td>
-<td>TBA</td>
- </tr>
-
- <tr>
-<td><pre>
-static void set_boxtype(Fl_Boxtype, Fl_Boxtype from);
-</pre></td>
-<td><pre>
-procedure Set_Box_Kind
- (To, From : in Box_Kind);
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static void set_color(Fl_Color, uchar, uchar, uchar, uchar);
-</pre></td>
-<td><pre>
-procedure Set_Color
- (To : in Color;
- R, G, B : in Color_Component);
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static void set_color(Fl_Color i, unsigned c);
-</pre></td>
-<td>&nbsp;</td>
- </tr>
-
- <tr>
-<td><pre>
-static void set_font(Fl_Font, const char *);
-</pre></td>
-<td>&nbsp;</td>
- </tr>
-
- <tr>
-<td><pre>
-static void set_font(Fl_Font, Fl_Font);
-</pre></td>
-<td><pre>
-procedure Set_Font_Kind
- (To, From : in Font_Kind);
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static Fl_Font set_fonts(const char *=0);
-</pre></td>
-<td><pre>
-procedure Setup_Fonts
- (How_Many_Set_Up : out Natural);
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static void set_idle(Fl_Old_Idle_Handler cb);
-</pre></td>
-<td>&nbsp;</td>
- </tr>
-
- <tr>
-<td><pre>
-static void set_labeltype(Fl_Labeltype, Fl_Label_Draw_F *, FL_Label_Measure_F *);
-</pre></td>
-<td>&nbsp;</td>
- </tr>
-
- <tr>
-<td><pre>
-static void set_labeltype(Fl_Labeltype, Fl_Labeltype from);
-</pre></td>
-<td>&nbsp;</td>
- </tr>
-
- <tr>
-<td><pre>
-static int test_shortcut(Fl_Shortcut);
+static void use_high_res_GL(int val);
</pre></td>
<td>&nbsp;</td>
</tr>
<tr>
<td><pre>
-static void * thread_message();
+static int use_high_res_GL();
</pre></td>
<td>&nbsp;</td>
</tr>
<tr>
-<td><pre>
-static void unlock();
-</pre></td>
-<td><pre>
-procedure Unlock;
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static void use_high_res_GL(int val);
-</pre></td>
<td>&nbsp;</td>
- </tr>
-
- <tr>
<td><pre>
-static int use_high_res_GL();
+function Is_Valid
+ (Object : in Wrapper)
+ return Boolean;
</pre></td>
-<td>&nbsp;</td>
</tr>
<tr>
@@ -1945,43 +273,6 @@ function Version
<tr>
<td><pre>
-static void visible_focus(int v);
-</pre></td>
-<td><pre>
-procedure Set_Visible_Focus
- (To : in Boolean);
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static int visible_focus();
-</pre></td>
-<td><pre>
-function Has_Visible_Focus
- return Boolean;
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static int visual(int);
-</pre></td>
-<td>&nbsp;</td>
- </tr>
-
- <tr>
-<td><pre>
-static int w();
-</pre></td>
-<td><pre>
-function Get_W
- return Integer;
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
static int wait();
</pre></td>
<td><pre>
@@ -1997,7 +288,7 @@ static double wait(double time);
<td><pre>
function Wait
(Seconds : in Long_Float)
- return Integer;
+ return Long_Float;
</pre></td>
</tr>
@@ -2005,27 +296,7 @@ function Wait
<td><pre>
static void watch_widget_pointer(Fl_Widget *&w);
</pre></td>
-<td>&nbsp;</td>
- </tr>
-
- <tr>
-<td><pre>
-static int x();
-</pre></td>
-<td><pre>
-function Get_X
- return Integer;
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
-static int y();
-</pre></td>
-<td><pre>
-function Get_Y
- return Integer;
-</pre></td>
+<td>Marked as internal use only.</td>
</tr>
</table>
diff --git a/doc/fl_(fltk-errors).html b/doc/fl_(fltk-errors).html
new file mode 100644
index 0000000..7ccbe38
--- /dev/null
+++ b/doc/fl_(fltk-errors).html
@@ -0,0 +1,115 @@
+<!DOCTYPE html>
+
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <title>Fl (FLTK.Errors) Binding Map</title>
+ <link href="map.css" rel="stylesheet">
+ </head>
+
+ <body>
+
+
+<h2>Fl (FLTK.Errors) Binding Map</h2>
+
+
+<a href="index.html">Back to Index</a>
+
+
+<table class="package">
+ <tr><th colspan="2">Package name</th></tr>
+
+ <tr>
+ <td>Fl</td>
+ <td>FLTK.Errors</td>
+ </tr>
+
+</table>
+
+
+
+<table class="type">
+ <tr><th colspan="2">Types</th></tr>
+
+ <tr>
+ <td>void (*)(const char *, ...)</td>
+ <td>Error_Function</td>
+ </tr>
+
+</table>
+
+
+
+<table class="function">
+ <tr><th colspan="2">Static Attributes</th></tr>
+
+ <tr>
+<td><pre>
+static void (*error)(const char *, ...) = ::error;
+</pre></td>
+<td><pre>
+Current_Error : Error_Function := Default_Error'Access;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static void (*fatal)(const char *, ...) = ::fatal;
+</pre></td>
+<td><pre>
+Current_Fatal : Error_Function := Default_Fatal'Access;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static void (*warning)(const char *, ...) = ::warning;
+</pre></td>
+<td><pre>
+Current_Warning : Error_Function := Default_Warning'Access;
+</pre></td>
+ </tr>
+
+</table>
+
+
+
+<table class="function">
+ <tr><th colspan="2">Static Functions and Procedures</th></tr>
+
+ <tr>
+<td><pre>
+static void error(const char *format, ...);
+</pre></td>
+<td><pre>
+procedure Default_Error
+ (Message : in String);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static void fatal(const char *format, ...);
+</pre></td>
+<td><pre>
+procedure Default_Fatal
+ (Message : in String);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static void warning(const char *, ...);
+</pre></td>
+<td><pre>
+procedure Default_Warning
+ (Message : in String);
+</pre></td>
+ </tr>
+
+</table>
+
+
+ </body>
+</html>
+
diff --git a/doc/fl_(fltk-events).html b/doc/fl_(fltk-events).html
new file mode 100644
index 0000000..6d17e85
--- /dev/null
+++ b/doc/fl_(fltk-events).html
@@ -0,0 +1,650 @@
+<!DOCTYPE html>
+
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <title>Fl (FLTK.Events) Binding Map</title>
+ <link href="map.css" rel="stylesheet">
+ </head>
+
+ <body>
+
+
+<h2>Fl (FLTK.Events) Binding Map</h2>
+
+
+<a href="index.html">Back to Index</a>
+
+
+<table class="package">
+ <tr><th colspan="2">Package name</th></tr>
+
+ <tr>
+ <td>Fl</td>
+ <td>FLTK.Events</td>
+ </tr>
+
+</table>
+
+
+
+<table class="type">
+ <tr><th colspan="2">Types</th></tr>
+
+ <tr>
+ <td>Fl_Event_Handler</td>
+ <td>Event_Handler</td>
+ </tr>
+
+ <tr>
+ <td>Fl_Event_Dispatch</td>
+ <td>Event_Dispatch</td>
+ </tr>
+
+ <tr>
+ <td>void *</td>
+ <td>System_Event</td>
+ </tr>
+
+ <tr>
+ <td>Fl_System_Handler</td>
+ <td>System_Handler</td>
+ </tr>
+
+</table>
+
+
+
+<table class="function">
+ <tr><th colspan="2">Static Functions and Procedures</th></tr>
+
+ <tr>
+<td><pre>
+static void add_handler(Fl_Event_Handler h);
+</pre></td>
+<td><pre>
+procedure Add_Handler
+ (Func : in not null Event_Handler);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static void add_system_handler(Fl_System_Handler h,
+ void *data);
+</pre></td>
+<td><pre>
+procedure Add_System_Handler
+ (Func : in not null System_Handler);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static Fl_Widget * belowmouse();
+</pre></td>
+<td><pre>
+function Get_Below_Mouse
+ return access FLTK.Widgets.Widget'Class;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static void belowmouse(Fl_Widget *);
+</pre></td>
+<td><pre>
+procedure Set_Below_Mouse
+ (To : in FLTK.Widgets.Widget'Class);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static int compose(int &del);
+</pre></td>
+<td><pre>
+function Compose
+ (Del : out Natural)
+ return Boolean;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static void compose_reset();
+</pre></td>
+<td><pre>
+procedure Compose_Reset;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static int event();
+</pre></td>
+<td><pre>
+function Last
+ return Event_Kind;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static int event_alt();
+</pre></td>
+<td><pre>
+function Key_Alt
+ return Boolean;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static int event_button();
+</pre></td>
+<td><pre>
+function Last_Button
+ return Mouse_Button;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static int event_button1();
+</pre></td>
+<td><pre>
+function Mouse_Left
+ return Boolean;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static int event_button2();
+</pre></td>
+<td><pre>
+function Mouse_Middle
+ return Boolean;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static int event_button3();
+</pre></td>
+<td><pre>
+function Mouse_Right
+ return Boolean;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static int event_button4();
+</pre></td>
+<td><pre>
+function Mouse_Back
+ return Boolean;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static int event_button5();
+</pre></td>
+<td><pre>
+function Mouse_Forward
+ return Boolean;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static int event_buttons();
+</pre></td>
+<td><pre>
+procedure Mouse_Buttons
+ (Left, Middle, Right, Back, Forward : out Boolean);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static int event_clicks();
+</pre></td>
+<td><pre>
+function Is_Multi_Click
+ return Boolean;
+
+function Get_Clicks
+ return Natural;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static void event_clicks(int i);
+</pre></td>
+<td><pre>
+procedure Set_Clicks
+ (To : in Natural);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static void * event_clipboard();
+</pre></td>
+<td><pre>
+function Clipboard_Text
+ return String;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static const char * event_clipboard_type();
+</pre></td>
+<td><pre>
+function Clipboard_Kind
+ return String;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static int event_command();
+</pre></td>
+<td><pre>
+function Key_Command
+ return Boolean;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static int event_ctrl();
+</pre></td>
+<td><pre>
+function Key_Ctrl
+ return Boolean;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static Fl_Event_Dispatch event_dispatch();
+</pre></td>
+<td><pre>
+function Get_Dispatch
+ return Event_Dispatch;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static void event_dispatch(Fl_Event_Dispatch d);
+</pre></td>
+<td><pre>
+procedure Set_Dispatch
+ (Func : in Event_Dispatch);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static int event_dx();
+</pre></td>
+<td><pre>
+function Mouse_DX
+ return Integer;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static int event_dy();
+</pre></td>
+<td><pre>
+function Mouse_DY
+ return Integer;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static int event_inside(const Fl_Widget *);
+</pre></td>
+<td><pre>
+function Is_Inside
+ (Child : in FLTK.Widgets.Widget'Class)
+ return Boolean;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static int event_inside(int, int, int, int);
+</pre></td>
+<td><pre>
+function Is_Inside
+ (X, Y, W, H : in Integer)
+ return Boolean;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static int event_is_click();
+</pre></td>
+<td><pre>
+function Is_Click
+ return Boolean;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static void event_is_click(int i);
+</pre></td>
+<td><pre>
+procedure Clear_Click;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static int event_key();
+</pre></td>
+<td><pre>
+function Last_Key
+ return Keypress;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static int event_key(int key);
+</pre></td>
+<td><pre>
+function Pressed_During
+ (Key : in Keypress)
+ return Boolean;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static int event_length();
+</pre></td>
+<td><pre>
+function Text_Length
+ return Natural;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static int event_original_key();
+</pre></td>
+<td><pre>
+function Original_Last_Key
+ return Keypress;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static int event_shift();
+</pre></td>
+<td><pre>
+function Key_Shift
+ return Boolean;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static int event_state();
+</pre></td>
+<td><pre>
+function Last_Modifier
+ return Modifier;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static int event_state(int mask);
+</pre></td>
+<td><pre>
+function Last_Modifier
+ (Had : in Modifier)
+ return Boolean;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static const char * event_text();
+</pre></td>
+<td><pre>
+function Text
+ return String;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static int event_x();
+</pre></td>
+<td><pre>
+function Mouse_X
+ return Integer;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static int event_x_root();
+</pre></td>
+<td><pre>
+function Mouse_X_Root
+ return Integer;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static int event_y();
+</pre></td>
+<td><pre>
+function Mouse_Y
+ return Integer;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static int event_y_root();
+</pre></td>
+<td><pre>
+function Mouse_Y_Root
+ return Integer;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static Fl_Widget * focus();
+</pre></td>
+<td><pre>
+function Get_Focus
+ return access FLTK.Widgets.Widget'Class;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static void focus(Fl_Widget *);
+</pre></td>
+<td><pre>
+procedure Set_Focus
+ (To : in FLTK.Widgets.Widget'Class);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static int get_key(int key);
+</pre></td>
+<td><pre>
+function Key_Now
+ (Key : in Keypress)
+ return Boolean;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static void get_mouse(int &, int &);
+</pre></td>
+<td><pre>
+procedure Get_Mouse
+ (X, Y : out Integer);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static Fl_Window * grab();
+</pre></td>
+<td><pre>
+function Get_Grab
+ return access FLTK.Widgets.Groups.Windows.Window'Class;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static void grab(Fl_Window *);
+
+static void grab(Fl_Window &win);
+</pre></td>
+<td><pre>
+procedure Set_Grab
+ (To : in FLTK.Widgets.Groups.Windows.Window'Class);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static int handle(int, Fl_Window *);
+</pre></td>
+<td><pre>
+function Handle_Dispatch
+ (Event : in Event_Kind;
+ Origin : in out FLTK.Widgets.Groups.Windows.Window'Class)
+ return Event_Outcome;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static int handle_(int, Fl_Window *);
+</pre></td>
+<td><pre>
+function Handle
+ (Event : in Event_Kind;
+ Origin : in out FLTK.Widgets.Groups.Windows.Window'Class)
+ return Event_Outcome;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static Fl_Widget * pushed();
+</pre></td>
+<td><pre>
+function Get_Pushed
+ return access FLTK.Widgets.Widget'Class;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static void pushed(Fl_Widget *);
+</pre></td>
+<td><pre>
+procedure Set_Pushed
+ (To : in FLTK.Widgets.Widget'Class);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static void release();
+</pre></td>
+<td><pre>
+procedure Release_Grab;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static void remove_handler(Fl_Event_Handler h);
+</pre></td>
+<td><pre>
+procedure Remove_Handler
+ (Func : in not null Event_Handler);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static void remove_system_handler(Fl_System_Handler h);
+</pre></td>
+<td><pre>
+procedure Remove_System_Handler
+ (Func : in not null System_Handler);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static int test_shortcut(Fl_Shortcut);
+</pre></td>
+<td><pre>
+function Test_Shortcut
+ (Shortcut : in Key_Combo)
+ return Boolean;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static int visible_focus();
+</pre></td>
+<td><pre>
+function Has_Visible_Focus
+ return Boolean;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static void visible_focus(int v);
+</pre></td>
+<td><pre>
+procedure Set_Visible_Focus
+ (To : in Boolean);
+</pre></td>
+ </tr>
+
+</table>
+
+
+ </body>
+</html>
+
diff --git a/doc/fl_(fltk-screen).html b/doc/fl_(fltk-screen).html
new file mode 100644
index 0000000..7d44273
--- /dev/null
+++ b/doc/fl_(fltk-screen).html
@@ -0,0 +1,278 @@
+<!DOCTYPE html>
+
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <title>Fl (FLTK.Screen) Binding Map</title>
+ <link href="map.css" rel="stylesheet">
+ </head>
+
+ <body>
+
+
+<h2>Fl (FLTK.Screen) Binding Map</h2>
+
+
+<a href="index.html">Back to Index</a>
+
+
+<table class="package">
+ <tr><th colspan="2">Package name</th></tr>
+
+ <tr>
+ <td>Fl</td>
+ <td>FLTK.Screen</td>
+ </tr>
+
+</table>
+
+
+
+<table class="type">
+ <tr><th colspan="2">Types</th></tr>
+
+ <tr>
+ <td>Fl_Mode</td>
+ <td>Visual_Mode</td>
+ </tr>
+
+</table>
+
+
+
+<table class="function">
+ <tr><th colspan="2">Static Functions and Procedures</th></tr>
+
+ <tr>
+<td><pre>
+static int damage();
+</pre></td>
+<td><pre>
+function Is_Damaged
+ return Boolean;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static void damage(int d);
+</pre></td>
+<td><pre>
+procedure Set_Damaged
+ (To : in Boolean);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static void display(const char *);
+</pre></td>
+<td><pre>
+procedure Set_Display_String
+ (Value : in String);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static void flush();
+</pre></td>
+<td><pre>
+procedure Flush;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static int h();
+</pre></td>
+<td><pre>
+function Get_H
+ return Integer;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static void redraw();
+</pre></td>
+<td><pre>
+procedure Redraw;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static int screen_count();
+</pre></td>
+<td><pre>
+function Count
+ return Integer;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static void screen_dpi(float &h, float &v, int n=0);
+</pre></td>
+<td><pre>
+procedure DPI
+ (Horizontal, Vertical : out Float;
+ Screen_Number : in Integer := 1);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static int screen_num(int x, int y);
+</pre></td>
+<td><pre>
+function Containing
+ (X, Y : in Integer)
+ return Integer;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static int screen_num(int x, int y, int w, int h);
+</pre></td>
+<td><pre>
+function Containing
+ (X, Y, W, H : in Integer)
+ return Integer;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static void screen_work_area(int &X, int &Y,
+ int &W, int &H, int mx, int my);
+</pre></td>
+<td><pre>
+procedure Work_Area
+ (X, Y, W, H : out Integer;
+ Pos_X, Pos_Y : in Integer);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static void screen_work_area(int &X, int &Y,
+ int &W, int &H, int n);
+</pre></td>
+<td><pre>
+procedure Work_Area
+ (X, Y, W, H : out Integer;
+ Screen_Num : in Integer);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static void screen_xywh(int &X, int &Y,
+ int &W, int &H);
+</pre></td>
+<td><pre>
+procedure Bounding_Rect
+ (X, Y, W, H : out Integer);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static void screen_xywh(int &X, int &Y,
+ int &W, int &H, int mx, int my);
+</pre></td>
+<td><pre>
+procedure Bounding_Rect
+ (X, Y, W, H : out Integer;
+ Pos_X, Pos_Y : in Integer);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static void screen_xywh(int &X, int &Y,
+ int &W, int &H, int n);
+</pre></td>
+<td><pre>
+procedure Bounding_Rect
+ (X, Y, W, H : out Integer;
+ Screen_Num : in Integer);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static void screen_xywh(int &X, int &Y,
+ int &W, int &H, int mx, int my, int mw, int mh);
+</pre></td>
+<td><pre>
+procedure Bounding_Rect
+ (X, Y, W, H : out Integer;
+ PX, PY, PW, PH : in Integer);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static void screen_work_area(int &X, int &Y,
+ int &W, int &H);
+</pre></td>
+<td><pre>
+procedure Work_Area
+ (X, Y, W, H : out Integer);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static int visual(int);
+</pre></td>
+<td><pre>
+procedure Set_Visual_Mode
+ (Value : in Visual_Mode);
+
+function Set_Visual_Mode
+ (Value : in Visual_Mode)
+ return Boolean;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static int w();
+</pre></td>
+<td><pre>
+function Get_W
+ return Integer;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static int x();
+</pre></td>
+<td><pre>
+function Get_X
+ return Integer;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static int y();
+</pre></td>
+<td><pre>
+function Get_Y
+ return Integer;
+</pre></td>
+ </tr>
+
+</table>
+
+
+ </body>
+</html>
+
diff --git a/doc/fl_(fltk-static).html b/doc/fl_(fltk-static).html
new file mode 100644
index 0000000..90e74cd
--- /dev/null
+++ b/doc/fl_(fltk-static).html
@@ -0,0 +1,1028 @@
+<!DOCTYPE html>
+
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <title>Fl (FLTK.Static) Binding Map</title>
+ <link href="map.css" rel="stylesheet">
+ </head>
+
+ <body>
+
+
+<h2>Fl (FLTK.Static) Binding Map</h2>
+
+
+<a href="index.html">Back to Index</a>
+
+
+<table class="package">
+ <tr><th colspan="2">Package name</th></tr>
+
+ <tr>
+ <td>Fl</td>
+ <td>FLTK.Static</td>
+ </tr>
+
+</table>
+
+
+
+<table class="type">
+ <tr><th colspan="2">Types</th></tr>
+
+ <tr>
+ <td>Fl_Abort_Handler</td>
+ <td>&nbsp;</td>
+ </tr>
+
+ <tr>
+ <td>Fl_Args_Handler</td>
+ <td>Args_Handler</td>
+ </tr>
+
+ <tr>
+ <td>Fl_Atclose_Handler</td>
+ <td>&nbsp;</td>
+ </tr>
+
+ <tr>
+ <td>Fl_Awake_Handler</td>
+ <td>Awake_Handler</td>
+ </tr>
+
+ <tr>
+ <td>Fl_Idle_Handler</td>
+ <td>Idle_Handler</td>
+ </tr>
+
+ <tr>
+ <td>Fl_Old_Idle_Handler</td>
+ <td>&nbsp;</td>
+ </tr>
+
+ <tr>
+ <td>Fl_Timeout_Handler</td>
+ <td>Timeout_Handler</td>
+ </tr>
+
+ <tr>
+ <td>int</td>
+ <td>Buffer_Kind</td>
+ </tr>
+
+ <tr>
+ <td>Fl_Clipboard_Notify_Handler</td>
+ <td>Clipboard_Notify_Handler</td>
+ </tr>
+
+ <tr>
+ <td>FL_SOCKET</td>
+ <td>File_Descriptor</td>
+ </tr>
+
+ <tr>
+ <td>int</td>
+ <td>File_Mode</td>
+ </tr>
+
+ <tr>
+ <td>Fl_FD_Handler</td>
+ <td>File_Handler</td>
+ </tr>
+
+ <tr>
+ <td>uchar</td>
+ <td>Byte_Integer</td>
+ </tr>
+
+ <tr>
+ <td>Fl_Box_Draw_F</td>
+ <td>Box_Draw_Function</td>
+ </tr>
+
+ <tr>
+ <td>Fl_Label_Draw_F</td>
+ <td>Label_Draw_Function</td>
+ </tr>
+
+ <tr>
+ <td>Fl_Label_Measure_F</td>
+ <td>Label_Measure_Function</td>
+ </tr>
+
+ <tr>
+ <td>Fl_Option</td>
+ <td>Option</td>
+ </tr>
+
+</table>
+
+
+
+<table class="type">
+ <tr><th colspan="2">Errors</th></tr>
+
+ <tr>
+ <td>int</td>
+ <td>Argument_Error</td>
+ </tr>
+
+</table>
+
+
+
+<table class="function">
+ <tr><th colspan="2">Static Attributes</th></tr>
+
+ <tr>
+<td><pre>
+static void (*atclose)(Fl_Window *, void *);
+</pre></td>
+<td>Deprecated, set the callback for the Window instead.</td>
+ </tr>
+
+ <tr>
+<td><pre>
+static const char * const help = helpmsg + 13;
+</pre></td>
+<td><pre>
+Help_Message : constant String;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static void (*idle)();
+</pre></td>
+<td>Should not be used directly.</td>
+ </tr>
+
+</table>
+
+
+
+<table class="function">
+ <tr><th colspan="2">Static Functions and Procedures</th></tr>
+
+ <tr>
+<td><pre>
+static int add_awake_handler_(Fl_Awake_Handler, void *);
+</pre></td>
+<td><pre>
+procedure Add_Awake_Handler
+ (Func : in Awake_Handler);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static void add_check(Fl_Timeout_Handler, void *=0);
+</pre></td>
+<td><pre>
+procedure Add_Check
+ (Func : in not null Timeout_Handler);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static void add_clipboard_notify(Fl_Clipboard_Notify_Handler h,
+ void *data=0);
+</pre></td>
+<td><pre>
+procedure Add_Clipboard_Notify
+ (Func : in not null Clipboard_Notify_Handler);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static void add_fd(int fd, Fl_FD_Handler cb, void *=0);
+</pre></td>
+<td><pre>
+procedure Add_File_Descriptor
+ (FD : in File_Descriptor;
+ Func : in not null File_Handler);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static void add_fd(int fd, int when, Fl_FD_Handler cb,
+ void *=0);
+</pre></td>
+<td><pre>
+procedure Add_File_Descriptor
+ (FD : in File_Descriptor;
+ Mode : in File_Mode;
+ Func : in not null File_Handler);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static void add_idle(Fl_Idle_Handler cb, void *data=0);
+</pre></td>
+<td><pre>
+procedure Add_Idle
+ (Func : in not null Idle_Handler);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static void add_timeout(double t, Fl_Timeout_Handler,
+ void *=0);
+</pre></td>
+<td><pre>
+procedure Add_Timeout
+ (Seconds : in Long_Float;
+ Func : in not null Timeout_Handler);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static int arg(int argc, char **argv, int &i);
+</pre></td>
+<td><pre>
+function Parse_Arg
+ (Index : in Positive)
+ return Natural;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static int args(int argc, char **argv, int &i,
+ Fl_Args_Handler cb=0);
+</pre></td>
+<td><pre>
+procedure Parse_Args
+ (Count : out Natural;
+ Func : in Args_Handler := null);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static void args(int argc, char **argv);
+</pre></td>
+<td><pre>
+procedure Parse_Args;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static int awake(Fl_Awake_Handler cb, void *message=0);
+</pre></td>
+<td><pre>
+procedure Awake
+ (Func : in Awake_Handler);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static void awake(void *message=0);
+</pre></td>
+<td><pre>
+procedure Awake;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static void background(uchar, uchar, uchar);
+</pre></td>
+<td><pre>
+procedure Set_Background
+ (R, G, B : in Color_Component);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static void background2(uchar, uchar, uchar);
+</pre></td>
+<td><pre>
+procedure Set_Alt_Background
+ (R, G, B : in Color_Component);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static Fl_Color box_color(Fl_Color);
+</pre></td>
+<td><pre>
+function Get_Box_Color
+ (Tone : in Color)
+ return Color;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static int box_dh(Fl_Boxtype);
+</pre></td>
+<td><pre>
+function Get_Box_Height_Offset
+ (Kind : in Box_Kind)
+ return Integer;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static int box_dw(Fl_Boxtype);
+</pre></td>
+<td><pre>
+function Get_Box_Width_Offset
+ (Kind : in Box_Kind)
+ return Integer;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static int box_dx(Fl_Boxtype);
+</pre></td>
+<td><pre>
+function Get_Box_X_Offset
+ (Kind : in Box_Kind)
+ return Integer;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static int box_dy(Fl_Boxtype);
+</pre></td>
+<td><pre>
+function Get_Box_Y_Offset
+ (Kind : in Box_Kind)
+ return Integer;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static int clipboard_contains(const char *type);
+</pre></td>
+<td><pre>
+function Clipboard_Contains
+ (Kind : in String)
+ return Boolean;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static void copy
+ (const char *stuff, int len, int destination=0,
+ const char *type=Fl::clipboard_plain_text);
+</pre></td>
+<td><pre>
+procedure Copy
+ (Text : in String;
+ Dest : in Buffer_Kind);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static void default_atclose(Fl_Window *, void *);
+</pre></td>
+<td><pre>
+procedure Default_Window_Close
+ (Item : in out FLTK.Widgets.Widget'Class);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static void disable_im();
+</pre></td>
+<td><pre>
+procedure Disable_System_Input;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static int dnd();
+</pre></td>
+<td><pre>
+procedure Drag_Drop_Start;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static int dnd_text_ops();
+</pre></td>
+<td><pre>
+function Get_Drag_Drop_Text_Support
+ return Boolean;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static void dnd_text_ops(int v);
+</pre></td>
+<td><pre>
+procedure Set_Drag_Drop_Text_Support
+ (To : in Boolean);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static int draw_box_active();
+</pre></td>
+<td><pre>
+function Draw_Box_Active
+ return Boolean;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static void enable_im();
+</pre></td>
+<td><pre>
+procedure Enable_System_Input;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static Fl_Window * first_window();
+</pre></td>
+<td><pre>
+function Get_First_Window
+ return access FLTK.Widgets.Groups.Windows.Window'Class;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static void first_window(Fl_Window *);
+</pre></td>
+<td><pre>
+procedure Set_First_Window
+ (To : in FLTK.Widgets.Groups.Windows.Window'Class);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static void foreground(uchar, uchar, uchar);
+</pre></td>
+<td><pre>
+procedure Set_Foreground
+ (R, G, B : in Color_Component);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static void free_color(Fl_Color i, int overlay=0);
+</pre></td>
+<td><pre>
+procedure Free_Color
+ (Value : in Color;
+ Overlay : in Boolean := False);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static int get_awake_handler_(Fl_Awake_Handler &, void *&);
+</pre></td>
+<td><pre>
+function Get_Awake_Handler
+ return Awake_Handler;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static Fl_Box_Draw_F * get_boxtype(Fl_Boxtype);
+</pre></td>
+<td><pre>
+function Get_Box_Draw_Function
+ (Kind : in Box_Kind)
+ return Box_Draw_Function;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static unsigned get_color(Fl_Color i);
+</pre></td>
+<td><pre>
+function Get_Color
+ (From : in Color)
+ return Color;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static void get_color(Fl_Color i,
+ uchar &red, uchar &green, uchar &blue);
+</pre></td>
+<td><pre>
+procedure Get_Color
+ (From : in Color;
+ R, G, B : out Color_Component);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static const char * get_font(Fl_Font);
+</pre></td>
+<td><pre>
+function Font_Image
+ (Kind : in Font_Kind)
+ return String;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static const char * get_font_name(Fl_Font,
+ int *attributes=0);
+</pre></td>
+<td><pre>
+function Font_Family_Image
+ (Kind : in Font_Kind)
+ return String;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static int get_font_sizes(Fl_Font, int *&sizep);
+</pre></td>
+<td><pre>
+function Font_Sizes
+ (Kind : in Font_Kind)
+ return Font_Size_Array;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static void get_system_colors();
+</pre></td>
+<td><pre>
+procedure System_Colors;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static int has_check(Fl_Timeout_Handler, void *=0);
+</pre></td>
+<td><pre>
+function Has_Check
+ (Func : in not null Timeout_Handler)
+ return Boolean;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static int has_idle(Fl_Idle_Handler cb, void *data=0);
+</pre></td>
+<td><pre>
+function Has_Idle
+ (Func : in not null Idle_Handler)
+ return Boolean;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static int has_timeout(Fl_Timeout_Handler, void *=0);
+</pre></td>
+<td><pre>
+function Has_Timeout
+ (Func : in not null Timeout_Handler)
+ return Boolean;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static int is_scheme(const char *name);
+</pre></td>
+<td><pre>
+function Is_Scheme
+ (Scheme : in String)
+ return Boolean;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static int lock();
+</pre></td>
+<td><pre>
+procedure Lock;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static Fl_Window * modal();
+</pre></td>
+<td><pre>
+function Get_Top_Modal
+ return access FLTK.Widgets.Groups.Windows.Window'Class;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static Fl_Window * next_window(const Fl_Window *);
+</pre></td>
+<td><pre>
+function Get_Next_Window
+ (From : in FLTK.Widgets.Groups.Windows.Window'Class)
+ return access FLTK.Widgets.Groups.Windows.Window'Class;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static bool option(Fl_Option opt);
+</pre></td>
+<td><pre>
+function Get_Option
+ (Opt : in Option)
+ return Boolean;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static void option(Fl_Option opt, bool val);
+</pre></td>
+<td><pre>
+procedure Set_Option
+ (Opt : in Option;
+ To : in Boolean);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static void own_colormap();
+</pre></td>
+<td><pre>
+procedure Own_Colormap;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static void paste(Fl_Widget &receiver);
+</pre></td>
+<td>Marked as backwards compatibility only.</td>
+ </tr>
+
+ <tr>
+<td><pre>
+static void paste
+ (Fl_Widget &receiver, int source,
+ const char *type=Fl::clipboard_plain_text);
+</pre></td>
+<td><pre>
+procedure Paste
+ (Receiver : in FLTK.Widgets.Widget'Class;
+ Source : in Buffer_Kind);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static Fl_Widget * readqueue();
+</pre></td>
+<td><pre>
+function Read_Queue
+ return access FLTK.Widgets.Widget'Class;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static int reload_scheme();
+</pre></td>
+<td><pre>
+procedure Reload_Scheme;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static void remove_check(Fl_Timeout_Handler, void *=0);
+</pre></td>
+<td><pre>
+procedure Remove_Check
+ (Func : in not null Timeout_Handler);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static void remove_clipboard_notify
+ (Fl_Clipboard_Notify_Handler h);
+</pre></td>
+<td><pre>
+procedure Remove_Clipboard_Notify
+ (Func : in not null Clipboard_Notify_Handler);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static void remove_fd(int);
+</pre></td>
+<td><pre>
+procedure Remove_File_Descriptor
+ (FD : in File_Descriptor);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static void remove_fd(int, int when);
+</pre></td>
+<td><pre>
+procedure Remove_File_Descriptor
+ (FD : in File_Descriptor;
+ Mode : in File_Mode);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static void remove_idle(Fl_Idle_Handler cb,
+ void *data=0);
+</pre></td>
+<td><pre>
+procedure Remove_Idle
+ (Func : in not null Idle_Handler);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static void remove_timeout(Fl_Timeout_Handler,
+ void *=0);
+</pre></td>
+<td><pre>
+procedure Remove_Timeout
+ (Func : in not null Timeout_Handler);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static repeat_timeout(double t, Fl_Timeout_Handler,
+ void *=0);
+</pre></td>
+<td><pre>
+procedure Repeat_Timeout
+ (Seconds : in Long_Float;
+ Func : in not null Timeout_Handler);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static const char * scheme();
+</pre></td>
+<td><pre>
+function Get_Scheme
+ return String;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static int scheme(const char *name);
+</pre></td>
+<td><pre>
+procedure Set_Scheme
+ (To : in String);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static int scrollbar_size();
+</pre></td>
+<td><pre>
+function Get_Default_Scrollbar_Size
+ return Natural;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static void scrollbar_size(int W);
+</pre></td>
+<td><pre>
+procedure Set_Default_Scrollbar_Size
+ (To : in Natural);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static void selection(Fl_Widget &owner, const char *,
+ int len);
+</pre></td>
+<td><pre>
+procedure Selection
+ (Owner : in FLTK.Widgets.Widget'Class;
+ Text : in String);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static Fl_Widget * selection_owner();
+</pre></td>
+<td>Marked as backwards compatibility only.</td>
+ </tr>
+
+ <tr>
+<td><pre>
+static void selection_owner(Fl_Widget *);
+</pre></td>
+<td>Marked as backwards compatibility only.</td>
+ </tr>
+
+ <tr>
+<td><pre>
+static void set_abort(Fl_Abort_Handler f);
+</pre></td>
+<td>Marked as backwards compatibility only.</td>
+ </tr>
+
+ <tr>
+<td><pre>
+static void set_atclose(Fl_Atclose_Handler f);
+</pre></td>
+<td>Marked as backwards compatibility only.</td>
+ </tr>
+
+ <tr>
+<td><pre>
+static void set_box_color(Fl_Color);
+</pre></td>
+<td><pre>
+procedure Set_Box_Color
+ (Tone : in Color);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static void set_boxtype(Fl_Boxtype, Fl_Box_Draw_F *,
+ uchar, uchar, uchar, uchar);
+</pre></td>
+<td><pre>
+procedure Set_Box_Draw_Function
+ (Kind : in Box_Kind;
+ Func : in Box_Draw_Function;
+ Offset_X, Offset_Y : in Byte_Integer := 0;
+ Offset_W, Offset_H : in Byte_Integer := 0);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static void set_boxtype(Fl_Boxtype, Fl_Boxtype from);
+</pre></td>
+<td><pre>
+procedure Set_Box_Kind
+ (To, From : in Box_Kind);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static void set_color(Fl_Color i, unsigned c);
+</pre></td>
+<td><pre>
+procedure Set_Color
+ (Target, Source : in Color);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static void set_color(Fl_Color,
+ uchar, uchar, uchar, uchar);
+</pre></td>
+<td><pre>
+procedure Set_Color
+ (Target : in Color;
+ R, G, B : in Color_Component);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static void set_font(Fl_Font, const char *);
+</pre></td>
+<td><pre>
+procedure Set_Font_Kind
+ (Target : in Font_Kind;
+ Source : in String);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static void set_font(Fl_Font, Fl_Font);
+</pre></td>
+<td><pre>
+procedure Set_Font_Kind
+ (Target, Source : in Font_Kind);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static Fl_Font set_fonts(const char *=0);
+</pre></td>
+<td><pre>
+procedure Setup_Fonts
+ (How_Many_Set_Up : out Natural);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static void set_idle(Fl_Old_Idle_Handler cb);
+</pre></td>
+<td>Deprecated, use add_idle / Add_Idle instead.</td>
+ </tr>
+
+ <tr>
+<td><pre>
+static void set_labeltype(Fl_Labeltype, Fl_Label_Draw_F *,
+ FL_Label_Measure_F *);
+</pre></td>
+<td><pre>
+procedure Set_Label_Draw_Function
+ (Kind : in Label_Kind;
+ Draw_Func : in Label_Draw_Function;
+ Measure_Func : in Label_Measure_Function);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static void set_labeltype(Fl_Labeltype, Fl_Labeltype from);
+</pre></td>
+<td><pre>
+procedure Set_Label_Kind
+ (Target, Source : in Label_Kind);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static void * thread_message();
+</pre></td>
+<td>Intentionally left unbound.</td>
+ </tr>
+
+ <tr>
+<td><pre>
+static void unlock();
+</pre></td>
+<td><pre>
+procedure Unlock;
+</pre></td>
+ </tr>
+
+</table>
+
+
+ </body>
+</html>
+
diff --git a/doc/fl_ask.html b/doc/fl_ask.html
index 6d72892..146c17b 100644
--- a/doc/fl_ask.html
+++ b/doc/fl_ask.html
@@ -24,6 +24,11 @@
<td>FLTK.Asks</td>
</tr>
+ <tr>
+ <td>fl_show_colormap</td>
+ <td>&nbsp;</td>
+ </tr>
+
</table>
@@ -383,6 +388,17 @@ function Password
</pre></td>
</tr>
+ <tr>
+<td><pre>
+Fl_Color fl_show_colormap(Fl_Color oldcol);
+</pre></td>
+<td><pre>
+function Show_Colormap
+ (Old_Hue : in Color)
+ return Color;
+</pre></td>
+ </tr>
+
</table>
diff --git a/doc/fl_bitmap.html b/doc/fl_bitmap.html
index 2a8cc72..edaf6a4 100644
--- a/doc/fl_bitmap.html
+++ b/doc/fl_bitmap.html
@@ -52,14 +52,49 @@
<td><pre>
int alloc_array;
</pre></td>
-<td>&nbsp;</td>
+<td>Intentionally left unbound.</td>
</tr>
<tr>
<td><pre>
const uchar * array;
</pre></td>
-<td>&nbsp;</td>
+<td><pre>
+function Data_Size
+ (This : in Bitmap)
+ return Size_Type;
+
+function Get_Datum
+ (This : in Bitmap;
+ Place : in Positive_Size)
+ return Color_Component
+with Pre => Place <= This.Data_Size;
+
+procedure Set_Datum
+ (This : in out Bitmap;
+ Place : in Positive_Size;
+ Value : in Color_Component)
+with Pre => Place <= This.Data_Size;
+
+function Slice
+ (This : in Bitmap;
+ Low : in Positive_Size;
+ High : in Size_Type)
+ return Color_Component_Array
+with Pre => High <= This.Data_Size,
+ Post => Slice'Result'Length = Size_Type'Max (0, High - Low + 1);
+
+procedure Overwrite
+ (This : in out Bitmap;
+ Place : in Positive_Size;
+ Values : in Color_Component_Array)
+with Pre => Place + Values'Length - 1 <= This.Data_Size;
+
+function All_Data
+ (This : in Bitmap)
+ return Color_Component_Array
+with Post => All_Data'Result'Length = This.Data_Size;
+</pre></td>
</tr>
</table>
@@ -79,7 +114,25 @@ Fl_Bitmap(const char *bits, int W, int H);
function Create
(Data : in Color_Component_Array;
Width, Height : in Natural)
- return Bitmap;
+ return Bitmap
+with Pre =>
+ Data'Length >= Size_Type (Bytes_Needed (Width)) * Size_Type (Height);
+</pre></td>
+ </tr>
+
+</table>
+
+
+
+<table class="function">
+ <tr><th colspan="2">Static Functions and Procedures</th></tr>
+
+ <tr>
+<td>&nbsp;</td>
+<td><pre>
+function Bytes_Needed
+ (Bits : in Natural)
+ return Natural;
</pre></td>
</tr>
@@ -120,9 +173,9 @@ virtual void draw(int X, int Y, int W, int H,
</pre></td>
<td><pre>
procedure Draw
- (This : in Bitmap;
- X, Y, W, H : in Integer;
- CX, CY : in Integer := 0);
+ (This : in Bitmap;
+ X, Y, W, H : in Integer;
+ Clip_X, Clip_Y : in Integer := 0);
</pre></td>
</tr>
diff --git a/doc/fl_browser_.html b/doc/fl_browser_.html
index 1ee2a6a..a09e2e4 100644
--- a/doc/fl_browser_.html
+++ b/doc/fl_browser_.html
@@ -47,7 +47,14 @@ already extended from it.</p>
</tr>
<tr>
- <td>enum mode</td>
+ <td>enum {<br />
+ HORIZONTAL = 1,<br />
+ VERTICAL = 2,<br />
+ BOTH = 3,<br />
+ ALWAYS_ON = 4,<br />
+ HORIZONTAL_ALWAYS = 5,<br />
+ VERTICAL_ALWAYS = 6,<br />
+ BOTH_ALWAYS = 7 }</td>
<td>Scrollbar_Mode</td>
</tr>
diff --git a/doc/fl_button.html b/doc/fl_button.html
index cc7b94d..05838b5 100644
--- a/doc/fl_button.html
+++ b/doc/fl_button.html
@@ -176,7 +176,7 @@ int shortcut() const;
<td><pre>
function Get_Shortcut
(This : in Button)
- return Shortcut_Key;
+ return Key_Combo;
</pre></td>
</tr>
@@ -187,7 +187,7 @@ void shortcut(int s);
<td><pre>
procedure Set_Shortcut
(This : in out Button;
- Key : in Shortcut_Key);
+ Key : in Key_Combo);
</pre></td>
</tr>
diff --git a/doc/fl_draw.html b/doc/fl_draw.html
index 03c31f5..aca154a 100644
--- a/doc/fl_draw.html
+++ b/doc/fl_draw.html
@@ -32,52 +32,64 @@
<tr><th colspan="2">Types</th></tr>
<tr>
- <td>Fl_Line</td>
+ <td>int</td>
<td>Line_Kind</td>
</tr>
<tr>
- <td>&nbsp;</td>
+ <td>int</td>
<td>Cap_Kind</td>
</tr>
<tr>
- <td>&nbsp;</td>
+ <td>int</td>
<td>Join_Kind</td>
</tr>
<tr>
- <td>&nbsp;</td>
+ <td>char</td>
<td>Dash_Length</td>
</tr>
<tr>
- <td>&nbsp;</td>
+ <td>char *</td>
<td>Dash_Gap</td>
</tr>
<tr>
- <td>&nbsp;</td>
+ <td>char *</td>
<td>Dash_Gap_Array</td>
</tr>
<tr>
- <td>&nbsp;</td>
- <td>Text_Draw_Function</td>
+ <td>Fl_Draw_Image_Cb</td>
+ <td>Image_Draw_Function</td>
</tr>
<tr>
- <td>&nbsp;</td>
+ <td>void(*drawit)(Fl_Color)</td>
<td>Symbol_Draw_Function</td>
</tr>
<tr>
- <td>&nbsp;</td>
+ <td>void(*callthis)(const char *, int, int, int)</td>
+ <td>Text_Draw_Function</td>
+ </tr>
+
+ <tr>
+ <td>void(*draw_area)(void *, int, int, int, int)</td>
<td>Area_Draw_Function</td>
</tr>
+</table>
+
+
+
+<table class="type">
+ <tr><th colspan="2">Errors</th></tr>
+
<tr>
- <td>&nbsp;</td>
+ <td>int</td>
<td>Draw_Error</td>
</tr>
@@ -96,7 +108,7 @@ int fl_add_symbol(const char *name, void(*drawit)(Fl_Color),
<td><pre>
procedure Add_Symbol
(Text : in String;
- Func : in Symbol_Drawing_Function;
+ Func : in Symbol_Draw_Function;
Scalable : in Boolean);
</pre></td>
</tr>
@@ -215,14 +227,14 @@ function Clip_Box
<td><pre>
Fl_Region fl_clip_region();
</pre></td>
-<td>Left unbound due to being OS-specific</td>
+<td>Left unbound due to being OS-specific.</td>
</tr>
<tr>
<td><pre>
void fl_clip_region(Fl_Region r);
</pre></td>
-<td>Left unbound due to being OS-specific</td>
+<td>Left unbound due to being OS-specific.</td>
</tr>
<tr>
@@ -354,14 +366,14 @@ procedure Draw_Text
(X, Y, W, H : in Integer;
Text : in String;
Align : in Alignment;
- Func : in Text_Drawing_Function;
+ Func : in Text_Draw_Function;
Symbols : in Boolean := True);
procedure Draw_Text
(X, Y, W, H : in Integer;
Text : in String;
Align : in Alignment;
- Func : in Text_Drawing_Function;
+ Func : in Text_Draw_Function;
Picture : in FLTK.Images.Image'Class;
Symbols : in Boolean := True);
</pre></td>
@@ -403,9 +415,12 @@ procedure Draw_Image
(X, Y, W, H : in Integer;
Data : in Color_Component_Array;
Depth : in Positive := 3;
- Line_Data : in Natural := 0;
+ Line_Size : in Natural := 0;
Flip_Horizontal : in Boolean := False;
- Flip_Vertical : in Boolean := False);
+ Flip_Vertical : in Boolean := False)
+with Pre => (if Line_Size = 0
+ then Data'Length >= Size_Type (W) * Size_Type (H) * Size_Type (Depth)
+ else Data'Length >= Size_Type (Line_Size) * Size_Type (H));
</pre></td>
</tr>
@@ -432,9 +447,12 @@ procedure Draw_Image_Mono
(X, Y, W, H : in Integer;
Data : in Color_Component_Array;
Depth : in Positive := 1;
- Line_Data : in Natural := 0;
+ Line_Size : in Natural := 0;
Flip_Horizontal : Boolean := False;
- Flip_Vertical : Boolean := False);
+ Flip_Vertical : Boolean := False)
+with Pre => (if Line_Size = 0
+ then Data'Length >= Size_Type (W) * Size_Type (H) * Size_Type (Depth)
+ else Data'Length >= Size_Type (Line_Size) * Size_Type (H));
</pre></td>
</tr>
@@ -455,19 +473,23 @@ procedure Draw_Image_Mono
<td><pre>
int fl_draw_pixmap(char * const *data, int x, int y,
Fl_Color=FL_GRAY);
-</pre></td>
-<td><pre>
-
-</pre></td>
- </tr>
- <tr>
-<td><pre>
int fl_draw_pixmap(const char * const *cdata, int x, int y,
Fl_Color=FL_GRAY);
</pre></td>
<td><pre>
-
+procedure Draw_Pixmap
+ (Values : in FLTK.Images.Pixmaps.Header;
+ Colors : in FLTK.Images.Pixmaps.Color_Definition_Array;
+ Pixels : in FLTK.Images.Pixmaps.Pixmap_Data;
+ X, Y : in Integer;
+ Tone : in Color := Grey0_Color)
+with Pre =>
+ Colors'Length = Values.Colors and
+ Pixels'Length (1) = Values.Height and
+ (for all Definition of Colors =>
+ Ada.Strings.Unbounded.Length (Definition.Name) = Values.Per_Pixel) and
+ Pixels'Length (2) = Values.Width * Values.Per_Pixel;
</pre></td>
</tr>
@@ -535,7 +557,14 @@ const char * fl_expand_text(const char *from, char *buf, int maxbuf,
double maxw, int &n, double &width, int wrap, int draw_symbols=0);
</pre></td>
<td><pre>
-
+function Expand_Text
+ (Text : in String;
+ Max_Width : in Long_Float;
+ Width : out Long_Float;
+ Last : out Natural;
+ Wrap : in Boolean;
+ Symbols : in Boolean := False)
+ return String;
</pre></td>
</tr>
@@ -727,19 +756,11 @@ procedure Measure
<tr>
<td><pre>
int fl_measure_pixmap(char *const *data, int &w, int &h);
-</pre></td>
-<td><pre>
-</pre></td>
- </tr>
-
- <tr>
-<td><pre>
int fl_measure_pixmap(const char *const *cdata, int &w, int &h);
</pre></td>
-<td><pre>
-
-</pre></td>
+<td>If you have the Header as defined in FLTK.Images.Pixmaps
+then you should already have the width and height values.</td>
</tr>
<tr>
@@ -894,9 +915,9 @@ function Read_Image
Alpha : in Integer := 0)
return Color_Component_Array
with Post =>
- (if Alpha = 0
- then Read_Image'Result'Length = W * H * 3
- else Read_Image'Result'Length = W * H * 4);
+ (if Alpha = 0
+ then Read_Image'Result'Length = Size_Type (W) * Size_Type (H) * 3
+ else Read_Image'Result'Length = Size_Type (W) * Size_Type (H) * 4);
</pre></td>
</tr>
diff --git a/doc/fl_file_chooser.html b/doc/fl_file_chooser.html
index 24bd6d8..f186ca4 100644
--- a/doc/fl_file_chooser.html
+++ b/doc/fl_file_chooser.html
@@ -45,7 +45,11 @@ See Fl_Ask for related symbols that are not members of the Fl_File_Chooser class
</tr>
<tr>
- <td>enum {SINGLE=0, MULTI=1, CREATE=2, DIRECTORY=4}</td>
+ <td>enum {<br />
+ SINGLE = 0,<br />
+ MULTI = 1,<br />
+ CREATE = 2,<br />
+ DIRECTORY = 4 }</td>
<td>Chooser_Kind</td>
</tr>
diff --git a/doc/fl_image.html b/doc/fl_image.html
index 7550b5c..201a2fa 100644
--- a/doc/fl_image.html
+++ b/doc/fl_image.html
@@ -46,11 +46,6 @@
<td>Scaling_Kind</td>
</tr>
- <tr>
- <td>float</td>
- <td>Blend</td>
- </tr>
-
</table>
@@ -84,21 +79,21 @@
<td><pre>
static const int ERR_FILE_ACCESS = -2;
</pre></td>
-<td>&nbsp;</td>
+<td>See the errors table.</td>
</tr>
<tr>
<td><pre>
static const int ERR_FORMAT = -3;
</pre></td>
-<td>&nbsp;</td>
+<td>See the errors table.</td>
</tr>
<tr>
<td><pre>
static const int ERR_NO_IMAGE = -1;
</pre></td>
-<td>&nbsp;</td>
+<td>See the errors table.</td>
</tr>
</table>
@@ -192,20 +187,7 @@ function Copy
<td><pre>
int count() const;
</pre></td>
-<td><pre>
-function Get_Data_Count
- (This : in Image)
- return Natural;
-</pre></td>
- </tr>
-
- <tr>
-<td>&nbsp;</td>
-<td><pre>
-function Get_Data_Size
- (This : in Image)
- return Natural;
-</pre></td>
+<td>Intentionally left unbound.</td>
</tr>
<tr>
@@ -223,53 +205,8 @@ function Get_D
<td><pre>
const char * const * data() const;
</pre></td>
-<td><pre>
-function Get_Datum
- (This : in Image;
- Data : in Positive;
- Position : in Positive)
- return Color_Component
-with Pre =>
- Data <= Get_Data_Count (This) and
- Position <= Get_Data_Size (This);
-
-procedure Set_Datum
- (This : in out Image;
- Data : in Positive;
- Position : in Positive;
- Value : in Color_Component)
-with Pre =>
- Data <= Get_Data_Count (This) and
- Position <= Get_Data_Size (This);
-
-function Get_Data
- (This : in Image;
- Data : in Positive;
- Position : in Positive;
- Count : in Natural)
- return Color_Component_Array
-with Pre =>
- Data <= Get_Data_Count (This) and
- Position <= Get_Data_Size (This) and
- Count <= Get_Data_Size (This) - Position + 1;
-
-function All_Data
- (This : in Image;
- Data : in Positive)
- return Color_Component_Array
-with Pre =>
- Data <= Get_Data_Count (This);
-
-procedure Update_Data
- (This : in out Image;
- Data : in Positive;
- Position : in Positive;
- Values : in Color_Component_Array)
-with Pre =>
- Data <= Get_Data_Count (This) and
- Position <= Get_Data_Size (This) and
- Values'Length <= Get_Data_Size (This) - Position + 1;
-</pre></td>
+<td>See Data_Size, Get_Datum, Set_Datum, Slice, Overwrite, All_Data subprograms
+in Fl_Bitmap and Fl_RGB_Image.</td>
</tr>
<tr>
@@ -289,9 +226,9 @@ virtual void draw(int X, int Y, int W, int H,
</pre></td>
<td><pre>
procedure Draw
- (This : in Image;
- X, Y, W, H : in Integer;
- CX, CY : in Integer := 0);
+ (This : in Image;
+ X, Y, W, H : in Integer;
+ Clip_X, Clip_Y : in Integer := 0);
</pre></td>
</tr>
@@ -357,7 +294,7 @@ virtual void label(Fl_Menu_Item *m);
int ld() const;
</pre></td>
<td><pre>
-function Get_Line_Data
+function Get_Line_Size
(This : in Image)
return Natural;
</pre></td>
diff --git a/doc/fl_input_.html b/doc/fl_input_.html
index 071ec66..e9edf37 100644
--- a/doc/fl_input_.html
+++ b/doc/fl_input_.html
@@ -392,9 +392,9 @@ procedure Resize
int shortcut() const;
</pre></td>
<td><pre>
-function Get_Shortcut_Key
+function Get_Shortcut
(This : in Input)
- return Shortcut_Key;
+ return Key_Combo;
</pre></td>
</tr>
@@ -403,9 +403,9 @@ function Get_Shortcut_Key
void shortcut(int s);
</pre></td>
<td><pre>
-procedure Set_Shortcut_Key
+procedure Set_Shortcut
(This : in out Input;
- To : in Shortcut_Key);
+ To : in Key_Combo);
</pre></td>
</tr>
diff --git a/doc/fl_pack.html b/doc/fl_pack.html
index 1a7a887..f850557 100644
--- a/doc/fl_pack.html
+++ b/doc/fl_pack.html
@@ -42,7 +42,9 @@
</tr>
<tr>
- <td>enum { VERTICAL = 0, HORIZONTAL = 1 }</td>
+ <td>enum {<br />
+ VERTICAL = 0,<br />
+ HORIZONTAL = 1 }</td>
<td>Pack_Kind</td>
</tr>
diff --git a/doc/fl_pixmap.html b/doc/fl_pixmap.html
index 60fec01..ab8c8d8 100644
--- a/doc/fl_pixmap.html
+++ b/doc/fl_pixmap.html
@@ -41,6 +41,31 @@
<td>Pixmap_Reference</td>
</tr>
+ <tr>
+ <td>char *</td>
+ <td>Header</td>
+ </tr>
+
+ <tr>
+ <td>char</td>
+ <td>Color_Kind</td>
+ </tr>
+
+ <tr>
+ <td>char *</td>
+ <td>Color_Definition</td>
+ </tr>
+
+ <tr>
+ <td>char **</td>
+ <td>Color_Definition_Array</td>
+ </tr>
+
+ <tr>
+ <td>char **</td>
+ <td>Pixmap_Data</td>
+ </tr>
+
</table>
@@ -72,7 +97,19 @@ Fl_Pixmap(const char *const *D);
Fl_Pixmap(const uchar *const *D);
</pre></td>
-<td>&nbsp;</td>
+<td><pre>
+function Create
+ (Values : in Header;
+ Colors : in Color_Definition_Array;
+ Pixels : in Pixmap_Data)
+ return Pixmap
+with Pre =>
+ Colors'Length = Values.Colors and
+ Pixels'Length (1) = Values.Height and
+ (for all Definition of Colors =>
+ Ada.Strings.Unbounded.Length (Definition.Name) = Values.Per_Pixel) and
+ Pixels'Length (2) = Values.Width * Values.Per_Pixel;
+</pre></td>
</tr>
</table>
@@ -134,9 +171,9 @@ virtual void draw(int X, int Y, int W, int H,
</pre></td>
<td><pre>
procedure Draw
- (This : in Pixmap;
- X, Y, W, H : in Integer;
- CX, CY : in Integer := 0);
+ (This : in Pixmap;
+ X, Y, W, H : in Integer;
+ Clip_X, Clip_Y : in Integer := 0);
</pre></td>
</tr>
diff --git a/doc/fl_rgb_image.html b/doc/fl_rgb_image.html
index 1e115d5..6d5427d 100644
--- a/doc/fl_rgb_image.html
+++ b/doc/fl_rgb_image.html
@@ -59,7 +59,42 @@ int alloc_array;
<td><pre>
const uchar * array;
</pre></td>
-<td>Intentionally left unbound.</td>
+<td><pre>
+function Data_Size
+ (This : in RGB_Image)
+ return Size_Type;
+
+function Get_Datum
+ (This : in RGB_Image;
+ Place : in Positive_Size)
+ return Color_Component
+with Pre => Place <= This.Data_Size;
+
+procedure Set_Datum
+ (This : in out RGB_Image;
+ Place : in Positive_Size;
+ Value : in Color_Component)
+with Pre => Place <= This.Data_Size;
+
+function Slice
+ (This : in RGB_Image;
+ Low : in Positive_Size;
+ High : in Size_Type)
+ return Color_Component_Array
+with Pre => High <= This.Data_Size,
+ Post => Slice'Result'Length = Size_Type'Max (0, High - Low + 1);
+
+procedure Overwrite
+ (This : in out RGB_Image;
+ Place : in Positive_Size;
+ Values : in Color_Component_Array)
+with Pre => Place + Values'Length - 1 <= This.Data_Size;
+
+function All_Data
+ (This : in RGB_Image)
+ return Color_Component_Array
+with Post => All_Data'Result'Length = This.Data_Size;
+</pre></td>
</tr>
</table>
@@ -71,15 +106,20 @@ const uchar * array;
<tr>
<td><pre>
-Fl_RGB_Image(const uchar *bits, int W, int H, int D=3, int LD=0);
+Fl_RGB_Image(const uchar *bits, int W, int H,
+ int D=3, int LD=0);
</pre></td>
<td><pre>
function Create
(Data : in Color_Component_Array;
Width, Height : in Natural;
Depth : in Natural := 3;
- Line_Data : in Natural := 0)
- return RGB_Image;
+ Line_Size : in Natural := 0)
+ return RGB_Image
+with Pre => (if Line_Size = 0
+ then Data'Length >= Size_Type (Width) * Size_Type (Height) * Size_Type (Depth)
+ else Data'Length >= Size_Type (Line_Size) * Size_Type (Height))
+ and Data'Length <= Get_Max_Size;
</pre></td>
</tr>
@@ -108,7 +148,7 @@ static void max_size(size_t size);
</pre></td>
<td><pre>
procedure Set_Max_Size
- (Value : in Natural);
+ (Value : in Size_Type);
</pre></td>
</tr>
@@ -118,7 +158,7 @@ static size_t max_size();
</pre></td>
<td><pre>
function Get_Max_Size
- return Natural;
+ return Size_Type;
</pre></td>
</tr>
@@ -181,9 +221,9 @@ virtual void draw(int X, int Y, int W, int H,
</pre></td>
<td><pre>
procedure Draw
- (This : in RGB_Image;
- X, Y, W, H : in Integer;
- CX, CY : in Integer := 0);
+ (This : in RGB_Image;
+ X, Y, W, H : in Integer;
+ Clip_X, Clip_Y : in Integer := 0);
</pre></td>
</tr>
diff --git a/doc/fl_scroll.html b/doc/fl_scroll.html
index 35856ba..4c8977b 100644
--- a/doc/fl_scroll.html
+++ b/doc/fl_scroll.html
@@ -42,10 +42,37 @@
</tr>
<tr>
- <td>enum { HORIZONTAL = 1, VERTICAL = 2, BOTH = 3, ALWAYS_ON = 4, HORIZONTAL_ALWAYS = 5, VERTICAL_ALWAYS = 6, BOTH_ALWAYS = 7 }
+ <td>enum {<br />
+ HORIZONTAL = 1,<br />
+ VERTICAL = 2,<br />
+ BOTH = 3,<br />
+ ALWAYS_ON = 4,<br />
+ HORIZONTAL_ALWAYS = 5,<br />
+ VERTICAL_ALWAYS = 6,<br />
+ BOTH_ALWAYS = 7 }
<td>Scroll_Kind</td>
</tr>
+ <tr>
+ <td>Fl_Region_LRTB</td>
+ <td>Region</td>
+ </tr>
+
+ <tr>
+ <td>Fl_Region_XYWH</td>
+ <td>Region</td>
+ </tr>
+
+ <tr>
+ <td>Fl_Scrollbar_Data</td>
+ <td>Scrollbar_Data</td>
+ </tr>
+
+ <tr>
+ <td>ScrollInfo</td>
+ <td>Scroll_Info</td>
+ </tr>
+
</table>
@@ -139,7 +166,11 @@ function Handle
<td><pre>
void resize(int X, int Y, int W, int H);
</pre></td>
-<td>&nbsp;</td>
+<td><pre>
+procedure Resize
+ (This : in out Scroll;
+ X, Y, W, H : in Integer);
+</pre></td>
</tr>
<tr>
@@ -226,7 +257,11 @@ procedure Set_Kind
<td><pre>
void bbox(int &, int &, int &, int &);
</pre></td>
-<td>&nbsp;</td>
+<td><pre>
+procedure Bounding_Box
+ (This : in Scroll;
+ X, Y, W, H : out Integer);
+</pre></td>
</tr>
<tr>
@@ -243,7 +278,11 @@ procedure Draw
<td><pre>
void recalc_scrollbars(Scrollinfo &si);
</pre></td>
-<td>&nbsp;</td>
+<td><pre>
+procedure Recalculate_Scrollbars
+ (This : in Scroll;
+ Data : out Scroll_Info);
+</pre></td>
</tr>
</table>
diff --git a/doc/fl_text_display.html b/doc/fl_text_display.html
index e37622c..54b2f54 100644
--- a/doc/fl_text_display.html
+++ b/doc/fl_text_display.html
@@ -42,22 +42,39 @@
</tr>
<tr>
- <td>enum { NORMAL_CURSOR, CARET_CURSOR, DIM_CURSOR, BLOCK_CURSOR, HEAVY_CURSOR, SIMPLE_CURSOR }</td>
+ <td>enum {<br />
+ NORMAL_CURSOR,<br />
+ CARET_CURSOR,<br />
+ DIM_CURSOR,<br />
+ BLOCK_CURSOR,<br />
+ HEAVY_CURSOR,<br />
+ SIMPLE_CURSOR }</td>
<td>Cursor_Style</td>
</tr>
<tr>
- <td>enum { CURSOR_POS, CHARACTER_POS }</td>
- <td>&nbsp;</td>
+ <td>enum {<br />
+ CURSOR_POS,<br />
+ CHARACTER_POS }</td>
+ <td>Position_Kind</td>
</tr>
<tr>
- <td>enum { DRAG_NONE = -2, DRAG_START_DND = -1, DRAG_CHAR = 0, DRAG_WORD = 1, DRAG_LINE = 2 }</td>
+ <td>enum {<br />
+ DRAG_NONE = -2,<br />
+ DRAG_START_DND = -1,<br />
+ DRAG_CHAR = 0,<br />
+ DRAG_WORD = 1,<br />
+ DRAG_LINE = 2 }</td>
<td>&nbsp;</td>
</tr>
<tr>
- <td>enum { WRAP_NONE, WRAP_AT_COLUMN, WRAP_AT_PIXEL, WRAP_AT_BOUNDS }</td>
+ <td>enum {<br />
+ WRAP_NONE,<br />
+ WRAP_AT_COLUMN,<br />
+ WRAP_AT_PIXEL,<br />
+ WRAP_AT_BOUNDS }</td>
<td>Wrap_Mode</td>
</tr>
@@ -72,15 +89,25 @@
</tr>
<tr>
- <td>&nbsp;</td>
+ <td>uchar</td>
<td>Style_Index</td>
</tr>
<tr>
- <td>&nbsp;</td>
+ <td>Style_Table_Entry *</td>
<td>Style_Array</td>
</tr>
+ <tr>
+ <td>int</td>
+ <td>Style_Mask</td>
+ </tr>
+
+ <tr>
+ <td>int</td>
+ <td>Style_Info</td>
+ </tr>
+
</table>
@@ -135,6 +162,7 @@ function Create
<tr>
<td><pre>
void buffer(Fl_Text_Buffer *buf);
+
void buffer(Fl_Text_Buffer &buf);
</pre></td>
<td><pre>
@@ -169,7 +197,8 @@ function Col_To_X
<tr>
<td><pre>
-int count_lines(int start, int end, bool start_pos_is_line_start) const;
+int count_lines(int start, int end,
+ bool start_pos_is_line_start) const;
</pre></td>
<td><pre>
function Count_Lines
@@ -306,19 +335,9 @@ function Get_Insert_Position
</tr>
<tr>
-<td>&nbsp;</td>
-<td><pre>
-function Item
- (Tint : in Color;
- Font : in Font_Kind;
- Size : in Font_Size)
- return Style_Entry;
-</pre></td>
- </tr>
-
- <tr>
<td><pre>
-int line_end(int startPos, bool startPosIsLineStart) const;
+int line_end(int startPos,
+ bool startPosIsLineStart) const;
</pre></td>
<td><pre>
function Line_End
@@ -431,16 +450,24 @@ function Get_Linenumber_Font
<tr>
<td><pre>
-void linenumber_format(const char *val);
+const char * linenumber_format() const;
+</pre></td>
+<td><pre>
+function Get_Linenumber_Format
+ (This : in Text_Display)
+ return String;
</pre></td>
-<td>&nbsp;</td>
</tr>
<tr>
<td><pre>
-const char * linenumber_format() const;
+void linenumber_format(const char *val);
+</pre></td>
+<td><pre>
+procedure Set_Linenumber_Format
+ (This : in out Text_Display;
+ Value : in String);
</pre></td>
-<td>&nbsp;</td>
</tr>
<tr>
@@ -494,6 +521,10 @@ int move_down();
<td><pre>
procedure Move_Down
(This : in out Text_Display);
+
+function Move_Down
+ (This : in out Text_Display)
+ return Boolean;
</pre></td>
</tr>
@@ -504,6 +535,10 @@ int move_left();
<td><pre>
procedure Move_Left
(This : in out Text_Display);
+
+function Move_Left
+ (This : in out Text_Display)
+ return Boolean;
</pre></td>
</tr>
@@ -514,6 +549,10 @@ int move_right();
<td><pre>
procedure Move_Right
(This : in out Text_Display);
+
+function Move_Right
+ (This : in out Text_Display)
+ return Boolean;
</pre></td>
</tr>
@@ -524,6 +563,10 @@ int move_up();
<td><pre>
procedure Move_Up
(This : in out Text_Display);
+
+function Move_Up
+ (This : in out Text_Display)
+ return Boolean;
</pre></td>
</tr>
@@ -550,9 +593,17 @@ procedure Overstrike
<tr>
<td><pre>
-int position_style(int lineStartPos, int lineLen, int lineIndex) const;
+int position_style(int lineStartPos, int lineLen,
+ int lineIndex) const;
+</pre></td>
+<td><pre>
+function Position_Style
+ (This : in Text_Display;
+ Line_Start : in Natural;
+ Line_Length : in Natural;
+ Line_Index : in Natural)
+ return Styles.Style_Info;
</pre></td>
-<td>&nbsp;</td>
</tr>
<tr>
@@ -593,7 +644,11 @@ procedure Redisplay_Range
<td><pre>
virtual void resize(int X, int Y, int W, int H);
</pre></td>
-<td>&nbsp;</td>
+<td><pre>
+procedure Resize
+ (This : in out Text_Display;
+ X, Y, W, H : in Integer);
+</pre></td>
</tr>
<tr>
@@ -614,8 +669,9 @@ void scroll(int topLineNum, int horizOffset);
</pre></td>
<td><pre>
procedure Scroll_To
- (This : in out Text_Display;
- Line : in Natural);
+ (This : in out Text_Display;
+ Line : in Natural;
+ Column : in Natural := 0);
</pre></td>
</tr>
@@ -667,14 +723,22 @@ procedure Set_Scrollbar_Width
<td><pre>
int shortcut() const;
</pre></td>
-<td>&nbsp;</td>
+<td><pre>
+function Get_Shortcut
+ (This : in Text_Display)
+ return Key_Combo;
+</pre></td>
</tr>
<tr>
<td><pre>
void shortcut(int s);
</pre></td>
-<td>&nbsp;</td>
+<td><pre>
+procedure Set_Shortcut
+ (This : in out Text_Display;
+ Value : in Key_Combo);
+</pre></td>
</tr>
<tr>
@@ -699,7 +763,8 @@ procedure Show_Insert_Position
<tr>
<td><pre>
-int skip_lines(int startPos, int nLines, bool startPosIsLineStart);
+int skip_lines(int startPos, int nLines,
+ bool startPosIsLineStart);
</pre></td>
<td><pre>
function Skip_Lines
@@ -816,14 +881,24 @@ procedure Set_Wrap_Mode
<td><pre>
int wrapped_column(int row, int column) const;
</pre></td>
-<td>&nbsp;</td>
+<td><pre>
+function Wrapped_Column
+ (This : in Text_Display;
+ Row, Column : in Natural)
+ return Natural;
+</pre></td>
</tr>
<tr>
<td><pre>
int wrapped_row(int row) const;
</pre></td>
-<td>&nbsp;</td>
+<td><pre>
+function Wrapped_Row
+ (This : in Text_Display;
+ Row : in Natural)
+ return Natural;
+</pre></td>
</tr>
<tr>
@@ -845,6 +920,54 @@ function X_To_Col
<table class="function">
<tr><th colspan="2">Static Protected Functions and Procedures</th></tr>
+ <tr>
+<td><pre>
+static void buffer_modified_cb(int pos, int nInserted, int nDeleted,
+ int nRestyled, const char *deletedText, void *cbArg);
+</pre></td>
+<td><pre>
+procedure Buffer_Modified_Callback
+ (This : in out Text_Display;
+ Action : in FLTK.Text_Buffers.Modification;
+ Place : in FLTK.Text_Buffers.Position;
+ Length : in Natural;
+ Deleted_Text : in String);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static void buffer_predelete_cb(int pos, int nDeleted, void *cbArg);
+</pre></td>
+<td><pre>
+procedure Buffer_Predelete_Callback
+ (This : in out Text_Display;
+ Place : in FLTK.Text_Buffers.Position;
+ Length : in Natural);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static void h_scrollbar_cb(Fl_Scrollbar *w, Fl_Text_Display *d);
+</pre></td>
+<td>Intentionally left unbound.</td>
+ </tr>
+
+ <tr>
+<td><pre>
+static void scroll_timer_cb(void *);
+</pre></td>
+<td>Intentionally left unbound.</td>
+ </tr>
+
+ <tr>
+<td><pre>
+static void v_scrollbar_cb(Fl_Scrollbar *w, Fl_Text_Display *d);
+</pre></td>
+<td>Intentionally left unbound.</td>
+ </tr>
+
</table>
@@ -854,6 +977,61 @@ function X_To_Col
<tr>
<td><pre>
+void absolute_top_line_number(int oldFirstChar);
+</pre></td>
+<td><pre>
+procedure Redo_Absolute_Top_Line
+ (This : in out Text_Display;
+ Old_First : in Natural);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+void calc_last_char();
+</pre></td>
+<td><pre>
+procedure Calculate_Last_Character
+ (This : in out Text_Display);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+void calc_line_starts(int startLine, int endLine);
+</pre></td>
+<td><pre>
+procedure Calculate_Line_Starts
+ (This : in out Text_Display;
+ Start, Finish : in Natural);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+void clear_rect(int style, int x, int y, int width,
+ int height) const;
+</pre></td>
+<td><pre>
+procedure Clear_Rect
+ (This : in out Text_Display;
+ Style : in Styles.Style_Info;
+ X, Y, W, H : in Integer);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+void display_insert();
+</pre></td>
+<td><pre>
+procedure Display_Insert
+ (This : in out Text_Display);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
virtual void draw();
</pre></td>
<td><pre>
@@ -862,6 +1040,412 @@ procedure Draw
</pre></td>
</tr>
+ <tr>
+<td><pre>
+void draw_cursor(int, int);
+</pre></td>
+<td><pre>
+procedure Draw_Cursor
+ (This : in out Text_Display;
+ X, Y : in Integer);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+void draw_line_numbers(bool clearAll);
+</pre></td>
+<td><pre>
+procedure Draw_Line_Numbers
+ (This : in out Text_Display;
+ Clear : in Boolean := False);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+void draw_range(int start, int end);
+</pre></td>
+<td><pre>
+procedure Draw_Range
+ (This : in out Text_Display;
+ Start, Finish : in Natural);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+void draw_string(int style, int x, int y, int toX,
+ const char *string, int nChars) const;
+</pre></td>
+<td><pre>
+procedure Draw_String
+ (This : in out Text_Display;
+ Style : in Styles.Style_Info;
+ X, Y : in Integer;
+ Right : in Integer;
+ Text : in String;
+ Num_Chars : in Natural);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+void draw_text(int x, int y, int w, int h);
+</pre></td>
+<td><pre>
+procedure Draw_Text
+ (This : in out Text_Display;
+ X, Y, W, H : in Integer);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+void draw_vline(int visLineNum, int leftClip, int rightClip,
+ int leftCharIndex, int rightCharIndex);
+</pre></td>
+<td><pre>
+procedure Draw_Visible_Line
+ (This : in out Text_Display;
+ Line : in Natural;
+ Left_Clip, Right_Clip : in Integer;
+ Left_Char, Right_Char : in Natural);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+int empty_vlines() const;
+</pre></td>
+<td><pre>
+function Has_Empty_Visible_Lines
+ (This : in Text_Display)
+ return Boolean;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+void extend_range_for_styles(int *start, int *end);
+</pre></td>
+<td>Intentionally left unbound.</td>
+ </tr>
+
+ <tr>
+<td><pre>
+void find_line_end(int pos, bool start_pos_is_line_start,
+ int *lineEnd, int *nextLineStart) const;
+</pre></td>
+<td><pre>
+procedure Find_Line_End
+ (This : in Text_Display;
+ Start : in Natural;
+ Start_Pos_Is_Line_Start : in Boolean;
+ Line_End : out Natural;
+ Next_Line_Start : out Natural);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+void find_wrap_range(const char *deletedText, int pos,
+ int nInserted, int nDeleted, int *modRangeStart,
+ int *modRangeEnd, int *linesInserted, int *linesDeleted);
+</pre></td>
+<td>Intentionally left unbound.</td>
+ </tr>
+
+ <tr>
+<td><pre>
+int find_x(const char *s, int len, int style, int x) const;
+</pre></td>
+<td><pre>
+function Find_Character
+ (This : in Text_Display;
+ Text : in String;
+ Style : in Styles.Style_Index;
+ X : in Integer)
+ return Natural;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+int get_absolute_top_line_number() const;
+</pre></td>
+<td><pre>
+function Get_Absolute_Top_Line
+ (This : in Text_Display)
+ return Natural;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+int handle_vline(int mode, int lineStart, int lineLen,
+ int leftChar, int rightChar, int topClip, int bottomClip,
+ int leftClip, int rightClip) const;
+</pre></td>
+<td>Intentionally left unbound.</td>
+ </tr>
+
+ <tr>
+<td><pre>
+int longest_vline() const;
+</pre></td>
+<td><pre>
+function Get_Longest_Visible_Line
+ (This : in Text_Display)
+ return Natural;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+void maintain_absolute_top_line_number(int state);
+</pre></td>
+<td><pre>
+procedure Maintain_Absolute_Top_Line
+ (This : in out Text_Display;
+ State : in Boolean := True);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+int maintaining_absolute_top_line_number() const;
+</pre></td>
+<td><pre>
+function Maintaining_Absolute_Top_Line
+ (This : in Text_Display)
+ return Boolean;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+void measure_deleted_lines(int pos, int nDeleted);
+</pre></td>
+<td>Intentionally left unbound.</td>
+ </tr>
+
+ <tr>
+<td><pre>
+double measure_proportional_character(const char *s, int colNum,
+ int pos) const;
+</pre></td>
+<td><pre>
+function Measure_Character
+ (This : in Text_Display;
+ Text : in String;
+ X : in Integer;
+ Index : in Positive)
+ return Long_Float;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+int measure_vline(int visLineNum) const;
+</pre></td>
+<td><pre>
+function Measure_Visible_Line
+ (This : in Text_Display;
+ Line : in Natural)
+ return Natural;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+void offset_line_starts(int newTopLineNum);
+</pre></td>
+<td><pre>
+procedure Offset_Line_Starts
+ (This : in out Text_Display;
+ New_Top : in Natural);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+int position_to_line(int pos, int *lineNum) const;
+</pre></td>
+<td><pre>
+function Position_To_Line
+ (This : in Text_Display;
+ Position : in Natural)
+ return Natural;
+
+function Position_To_Line
+ (This : in Text_Display;
+ Position : in Natural;
+ Displayed : out Boolean)
+ return Natural;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+int position_to_linecol(int pos, int *lineNum, int *column) const;
+</pre></td>
+<td><pre>
+procedure Position_To_Line_Column
+ (This : in Text_Display;
+ Position : in Natural;
+ Line : out Natural;
+ Column : out Natural);
+
+procedure Position_To_Line_Column
+ (This : in Text_Display;
+ Position : in Natural;
+ Line : out Natural;
+ Column : out Natural;
+ Displayed : out Boolean);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+void reset_absolute_top_line_number();
+</pre></td>
+<td><pre>
+procedure Reset_Absolute_Top_Line
+ (This : in out Text_Display);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+int scroll_(int topLineNum, int horizOffset);
+</pre></td>
+<td><pre>
+function Scroll_To
+ (This : in out Text_Display;
+ Line : in Natural;
+ Pixel : in Natural := 0)
+ return Boolean;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+double string_width(const char *string, int length,
+ int style) const;
+</pre></td>
+<td><pre>
+function Measure_String
+ (This : in Text_Display;
+ Text : in String;
+ Style : in Styles.Style_Index)
+ return Long_Float;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+void update_h_scrollbar();
+</pre></td>
+<td><pre>
+procedure Update_Horizontal_Scrollbar
+ (This : in out Text_Display);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+void update_line_starts(int pos, int charsInserted,
+ int charsDeleted, int linesInserted, int linesDeleted,
+ int *scrolled);
+</pre></td>
+<td>Intentionally left unbound.</td>
+ </tr>
+
+ <tr>
+<td><pre>
+void update_v_scrollbar();
+</pre></td>
+<td><pre>
+procedure Update_Vertical_Scrollbar
+ (This : in out Text_Display);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+int vline_length(int visLineNum) const;
+</pre></td>
+<td><pre>
+function Visible_Line_Length
+ (This : in Text_Display;
+ Line : in Natural)
+ return Natural;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+int wrap_uses_character(int lineEndPos) const;
+</pre></td>
+<td><pre>
+function Wrap_Uses_Character
+ (This : in Text_Display;
+ Line_End : in Natural)
+ return Boolean;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+void wrapped_line_counter(Fl_Text_Buffer *buf, int startPos,
+ int maxPos, int maxLines, bool startPosIsLineStart,
+ int styleBufOffset, int *retPos, int *retLines,
+ int *retLineStart, int *retLineEnd,
+ bool countLastLineMissingNewLine=true) const;
+</pre></td>
+<td><pre>
+procedure Count_Wrapped_Lines
+ (This : in Text_Display;
+ Buffer : in FLTK.Text_Buffers.Text_Buffer;
+ Start : in Natural;
+ Max_Position, Max_Lines : in Natural;
+ Start_Pos_Is_Line_Start : in Boolean;
+ Style_Offset : in Natural;
+ Finish, Line_Count : out Natural;
+ End_Count_Line_Start : out Natural;
+ Last_Line_End : out Natural;
+ Count_Last_Missing_Newline : in Boolean := True);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+int xy_to_position(int x, int y, int PosType=CHARACTER_POS) const;
+</pre></td>
+<td><pre>
+function XY_To_Position
+ (This : in Text_Display;
+ X, Y : in Integer;
+ Kind : in Position_Kind := Character_Position)
+ return Natural;
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+void xy_to_rowcol(int x, int y, int *row, int *column,
+ int PosType=CHARACTER_POS) const;
+</pre></td>
+<td><pre>
+procedure XY_To_Row_Column
+ (This : in Text_Display;
+ X, Y : in Integer;
+ Row, Column : out Natural;
+ Kind : in Position_Kind := Character_Position);
+</pre></td>
+ </tr>
+
</table>
diff --git a/doc/fl_tiled_image.html b/doc/fl_tiled_image.html
index 39292b1..49aeca0 100644
--- a/doc/fl_tiled_image.html
+++ b/doc/fl_tiled_image.html
@@ -150,9 +150,9 @@ virtual void draw(int X, int Y, int W, int H, int cx, int cy);
</pre></td>
<td><pre>
procedure Draw
- (This : in Tiled_Image;
- X, Y, W, H : in Integer;
- CX, CY : in Integer);
+ (This : in Tiled_Image;
+ X, Y, W, H : in Integer;
+ Clip_X, Clip_Y : in Integer);
</pre></td>
</tr>
diff --git a/doc/fl_widget.html b/doc/fl_widget.html
index 265af2c..0552325 100644
--- a/doc/fl_widget.html
+++ b/doc/fl_widget.html
@@ -46,11 +46,6 @@
<td>Widget_Callback</td>
</tr>
- <tr>
- <td>Fl_When</td>
- <td>Callback_Flag</td>
- </tr>
-
</table>
@@ -87,20 +82,51 @@ function Create
<table class="function">
+ <tr><th colspan="2">Static Functions and Procedures</th></tr>
+
+ <tr>
+<td><pre>
+static void default_callback(Fl_Widget *cb, void *d);
+</pre></td>
+<td><pre>
+procedure Default_Callback
+ (This : in out Widget'Class);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+static unsigned int label_shortcut(const char *t);
+</pre></td>
+<td>Marked as internal use only.</td>
+ </tr>
+
+ <tr>
+<td><pre>
+static int test_shortcut(const char *, const bool require_alt=false);
+</pre></td>
+<td>Marked as internal use only.</td>
+ </tr>
+
+</table>
+
+
+
+<table class="function">
<tr><th colspan="2">Functions and Procedures</th></tr>
<tr>
<td><pre>
void _clear_fullscreen();
</pre></td>
-<td>&nbsp;</td>
+<td>Marked as internal use only.</td>
</tr>
<tr>
<td><pre>
void _set_fullscreen();
</pre></td>
-<td>&nbsp;</td>
+<td>Marked as internal use only.</td>
</tr>
<tr>
@@ -161,35 +187,35 @@ procedure Set_Alignment
<td><pre>
long argument() const;
</pre></td>
-<td>&nbsp;</td>
+<td>Intentionally left unbound.</td>
</tr>
<tr>
<td><pre>
void argument(long v);
</pre></td>
-<td>&nbsp;</td>
+<td>Intentionally left unbound.</td>
</tr>
<tr>
<td><pre>
virtual class Fl_Gl_Window * as_gl_window();
</pre></td>
-<td>&nbsp;</td>
+<td>Use runtime tag checks and view conversions instead.</td>
</tr>
<tr>
<td><pre>
virtual Fl_Group * as_group();
</pre></td>
-<td>Use runtime tag checks and view conversions instead</td>
+<td>Use runtime tag checks and view conversions instead.</td>
</tr>
<tr>
<td><pre>
virtual Fl_Window * as_window();
</pre></td>
-<td>Use runtime tag checks and view conversions instead</td>
+<td>Use runtime tag checks and view conversions instead.</td>
</tr>
<tr>
@@ -229,12 +255,13 @@ function Get_Callback
<td><pre>
void callback(Fl_Callback *cb, void *p);
</pre></td>
-<td>&nbsp;</td>
+<td>Use callback(Fl_Callback *cb) / Set_Callback instead.</td>
</tr>
<tr>
<td><pre>
void callback(Fl_Callback *cb);
+
void callback(Fl_Callback0 *cb);
</pre></td>
<td><pre>
@@ -248,7 +275,7 @@ procedure Set_Callback
<td><pre>
void callback(Fl_Callback1 *cb, long p=0);
</pre></td>
-<td>&nbsp;</td>
+<td>Use callback(Fl_Callback *cb) / Set_Callback instead.</td>
</tr>
<tr>
@@ -267,9 +294,8 @@ function Has_Changed
void clear_active();
</pre></td>
<td><pre>
-procedure Set_Active
- (This : in out Widget;
- To : in Boolean);
+procedure Clear_Active
+ (This : in out Widget);
</pre></td>
</tr>
@@ -278,9 +304,8 @@ procedure Set_Active
void clear_changed();
</pre></td>
<td><pre>
-procedure Set_Changed
- (This : in out Widget;
- To : in Boolean);
+procedure Clear_Changed
+ (This : in out Widget);
</pre></td>
</tr>
@@ -288,7 +313,11 @@ procedure Set_Changed
<td><pre>
void clear_damage(uchar c=0);
</pre></td>
-<td>&nbsp;</td>
+<td><pre>
+procedure Clear_Damage
+ (This : in out Widget;
+ Mask : in Damage_Mask := Damage_None);
+</pre></td>
</tr>
<tr>
@@ -296,9 +325,8 @@ void clear_damage(uchar c=0);
void clear_output();
</pre></td>
<td><pre>
-procedure Set_Output_Only
- (This : in out Widget;
- To : in Boolean);
+procedure Clear_Output_Only
+ (This : in out Widget);
</pre></td>
</tr>
@@ -307,9 +335,8 @@ procedure Set_Output_Only
void clear_visible();
</pre></td>
<td><pre>
-procedure Set_Visible
- (This : in out Widget;
- To : in Boolean);
+procedure Clear_Visible
+ (This : in out Widget);
</pre></td>
</tr>
@@ -318,9 +345,8 @@ procedure Set_Visible
void clear_visible_focus();
</pre></td>
<td><pre>
-procedure Set_Visible_Focus
- (This : in out Widget;
- To : in Boolean);
+procedure Clear_Visible_Focus
+ (This : in out Widget);
</pre></td>
</tr>
@@ -350,21 +376,25 @@ procedure Set_Background_Color
<td><pre>
void color(Fl_Color bg, Fl_Color sel);
</pre></td>
-<td>&nbsp;</td>
+<td><pre>
+procedure Set_Colors
+ (This : in out Widget;
+ Back, Sel : in Color);
+</pre></td>
</tr>
<tr>
<td><pre>
Fl_Color color2() const;
</pre></td>
-<td>&nbsp;</td>
+<td>Deprecated, use selection_color / Get_Selection_Color instead.</td>
</tr>
<tr>
<td><pre>
void color2(unsigned a);
</pre></td>
-<td>&nbsp;</td>
+<td>Deprecated, use selection_color / Set_Selection_Color instead.</td>
</tr>
<tr>
@@ -409,6 +439,10 @@ uchar damage() const;
function Is_Damaged
(This : in Widget)
return Boolean;
+
+function Get_Damage
+ (This : in Widget)
+ return Damage_Mask;
</pre></td>
</tr>
@@ -417,9 +451,9 @@ function Is_Damaged
void damage(uchar c);
</pre></td>
<td><pre>
-procedure Set_Damaged
+procedure Set_Damage
(This : in out Widget;
- To : in Boolean);
+ Mask : in Damage_Mask);
</pre></td>
</tr>
@@ -428,9 +462,9 @@ procedure Set_Damaged
void damage(uchar c, int x, int y, int w, int h);
</pre></td>
<td><pre>
-procedure Set_Damaged
+procedure Set_Damage
(This : in out Widget;
- To : in Boolean;
+ Mask : in Damage_Mask;
X, Y, W, H : in Integer);
</pre></td>
</tr>
@@ -439,7 +473,7 @@ procedure Set_Damaged
<td><pre>
int damage_resize(int, int, int, int);
</pre></td>
-<td>&nbsp;</td>
+<td>Marked as internal use only.</td>
</tr>
<tr>
@@ -455,6 +489,7 @@ procedure Deactivate
<tr>
<td><pre>
Fl_Image * deimage();
+
const Fl_Image * deimage() const;
</pre></td>
<td><pre>
@@ -467,6 +502,7 @@ function Get_Inactive_Image
<tr>
<td><pre>
void deimage(Fl_Image *img);
+
void deimage(Fl_Image &img);
</pre></td>
<td><pre>
@@ -489,15 +525,14 @@ procedure Do_Callback
<tr>
<td><pre>
void do_callback(Fl_Widget *o, long arg);
-</pre></td>
-<td>&nbsp;</td>
- </tr>
- <tr>
-<td><pre>
void do_callback(Fl_Widget *o, void *arg=0);
</pre></td>
-<td>&nbsp;</td>
+<td><pre>
+procedure Do_Callback
+ (This : in Widget;
+ Using : in out Widget);
+</pre></td>
</tr>
<tr>
@@ -516,9 +551,9 @@ void draw_label(int, int, int, int, Fl_Align) const;
</pre></td>
<td><pre>
procedure Draw_Label
- (This : in Widget;
- X, Y, W, H : in Integer;
- Align : in Alignment);
+ (This : in out Widget;
+ X, Y, W, H : in Integer;
+ Align : in Alignment);
</pre></td>
</tr>
@@ -549,12 +584,16 @@ function Handle
<td><pre>
virtual void hide();
</pre></td>
-<td>See void clear_visible();</td>
+<td><pre>
+procedure Hide
+ (This : in out Widget);
+</pre></td>
</tr>
<tr>
<td><pre>
Fl_Image * image();
+
const Fl_Image * image() const;
</pre></td>
<td><pre>
@@ -567,6 +606,7 @@ function Get_Image
<tr>
<td><pre>
void image(Fl_Image *img);
+
void image(Fl_Image &img);
</pre></td>
<td><pre>
@@ -592,7 +632,8 @@ function Inside
<td><pre>
int is_label_copied() const;
</pre></td>
-<td>&nbsp;</td>
+<td>Due to the marshalling between String and char * this
+would always return true, so left unbound.</td>
</tr>
<tr>
@@ -610,14 +651,21 @@ function Get_Label
<td><pre>
void label(const char *text);
</pre></td>
-<td>See void copy_label(const char *new_label);</td>
+<td>Due to the marshalling between String and char * using
+this method would be pointless, so its functionality is
+subsumed by copy_label / Set_Label.</td>
</tr>
<tr>
<td><pre>
void label(Fl_Labeltype a, const char *b);
</pre></td>
-<td>&nbsp;</td>
+<td><pre>
+procedure Set_Label
+ (This : in out Widget;
+ Kind : in Label_Kind;
+ Text : in String);
+</pre></td>
</tr>
<tr>
@@ -745,7 +793,7 @@ function Parent
<td><pre>
void parent(Fl_Group *p);
</pre></td>
-<td>&nbsp;</td>
+<td>Marked as internal use only.</td>
</tr>
<tr>
@@ -783,7 +831,11 @@ procedure Redraw_Label
<td><pre>
virtual void resize(int x, int y, int w, int h);
</pre></td>
-<td>&nbsp;</td>
+<td><pre>
+procedure Resize
+ (This : in out Widget;
+ X, Y, W, H : in Integer);
+</pre></td>
</tr>
<tr>
@@ -812,42 +864,60 @@ procedure Set_Selection_Color
<td><pre>
void set_active();
</pre></td>
-<td>See void clear_active();</td>
+<td><pre>
+procedure Set_Active
+ (This : in out Widget);
+</pre></td>
</tr>
<tr>
<td><pre>
void set_changed();
</pre></td>
-<td>See void clear_changed();</td>
+<td><pre>
+procedure Set_Changed
+ (This : in out Widget);
+</pre></td>
</tr>
<tr>
<td><pre>
void set_output();
</pre></td>
-<td>See void clear_output();</td>
+<td><pre>
+procedure Set_Output_Only
+ (This : in out Widget);
+</pre></td>
</tr>
<tr>
<td><pre>
void set_visible();
</pre></td>
-<td>See void clear_visible();</td>
+<td><pre>
+procedure Set_Visible
+ (This : in out Widget);
+</pre></td>
</tr>
<tr>
<td><pre>
void set_visible_focus();
</pre></td>
-<td>See void clear_visible_focus();</td>
+<td><pre>
+procedure Set_Visible_Focus
+ (This : in out Widget);
+</pre></td>
</tr>
<tr>
<td><pre>
virtual void show();
</pre></td>
-<td>&nbsp;</td>
+<td><pre>
+procedure Show
+ (This : in out Widget);
+</pre></td>
</tr>
<tr>
@@ -887,7 +957,7 @@ function Takes_Events
<td><pre>
int test_shortcut();
</pre></td>
-<td>&nbsp;</td>
+<td>Marked as internal use only.</td>
</tr>
<tr>
@@ -905,7 +975,9 @@ function Get_Tooltip
<td><pre>
void tooltip(const char *text);
</pre></td>
-<td>See void copy_tooltip(const char *text);</td>
+<td>Due to the marshalling between String and char * using
+this method would be pointless, so its functionality is
+subsumed by copy_tooltip / Set_Tooltip.</td>
</tr>
<tr>
@@ -925,8 +997,8 @@ Fl_Window * top_window_offset(int &xoff, int &yoff) const;
</pre></td>
<td><pre>
function Top_Window_Offset
- (This : in Widget;
- Offset_X, Offset_Y : out Integer)
+ (This : in Widget;
+ Offset_X, Offset_Y : out Integer)
return access FLTK.Widgets.Groups.Windows.Window'Class;
</pre></td>
</tr>
@@ -935,35 +1007,41 @@ function Top_Window_Offset
<td><pre>
uchar type() const;
</pre></td>
-<td>&nbsp;</td>
+<td>See Get_Kind subprograms in Fl_Counter, Fl_Dial, Fl_Input_,
+Fl_Pack, Fl_Scroll, Fl_Slider, Fl_Spinner.</td>
</tr>
<tr>
<td><pre>
void type(uchar t);
</pre></td>
-<td>&nbsp;</td>
+<td>See Set_Kind subprograms in Fl_Counter, Fl_Dial, Fl_Input_,
+Fl_Pack, Fl_Scroll, Fl_Slider, Fl_Spinner.</td>
</tr>
<tr>
<td><pre>
int use_accents_menu();
</pre></td>
-<td>&nbsp;</td>
+<td><pre>
+function Uses_Accents_Menu
+ (This : in Widget)
+ return Boolean;
+</pre></td>
</tr>
<tr>
<td><pre>
void * user_data() const;
</pre></td>
-<td>&nbsp;</td>
+<td>Used internally by the binding.</td>
</tr>
<tr>
<td><pre>
void user_data(void *v);
</pre></td>
-<td>&nbsp;</td>
+<td>Used internally by the binding.</td>
</tr>
<tr>
@@ -981,7 +1059,11 @@ function Is_Visible
<td><pre>
void visible_focus(int v);
</pre></td>
-<td>See void clear_visible_focus();</td>
+<td><pre>
+procedure Set_Visible_Focus
+ (This : in out Widget;
+ To : in Boolean);
+</pre></td>
</tr>
<tr>
@@ -1075,6 +1157,151 @@ function Get_Y
</table>
+
+<table class="function">
+ <tr><th colspan="2">Protected Functions and Procedures</th></tr>
+
+ <tr>
+<td><pre>
+void clear_flag(unsigned int c);
+</pre></td>
+<td>Intentionally left unbound.</td>
+ </tr>
+
+ <tr>
+<td><pre>
+void draw_backdrop() const;
+</pre></td>
+<td><pre>
+procedure Draw_Backdrop
+ (This : in out Widget);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+void draw_box() const;
+</pre></td>
+<td><pre>
+procedure Draw_Box
+ (This : in out Widget);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+void draw_box(Fl_Boxtype t, Fl_Color c) const;
+</pre></td>
+<td><pre>
+procedure Draw_Box
+ (This : in out Widget;
+ Kind : in Box_Kind;
+ Hue : in Color);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+void draw_box(Fl_Boxtype t, int x, int y, int w, int h,
+ Fl_Color c) const;
+</pre></td>
+<td><pre>
+procedure Draw_Box
+ (This : in out Widget;
+ Kind : in Box_Kind;
+ X, Y, W, H : in Integer;
+ Hue : in Color);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+void draw_focus();
+</pre></td>
+<td><pre>
+procedure Draw_Focus
+ (This : in out Widget);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+void draw_focus(Fl_Boxtype t, int x, int y, int w, int h) const;
+</pre></td>
+<td><pre>
+procedure Draw_Focus
+ (This : in out Widget;
+ Kind : in Box_Kind;
+ X, Y, W, H : in Integer);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+void draw_label() const;
+</pre></td>
+<td><pre>
+procedure Draw_Label
+ (This : in out Widget);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+void draw_label(int, int, int, int) const;
+</pre></td>
+<td><pre>
+procedure Draw_Label
+ (This : in out Widget;
+ X, Y, W, H : in Integer);
+</pre></td>
+ </tr>
+
+ <tr>
+<td><pre>
+unsigned int flags() const;
+</pre></td>
+<td>Intentionally left unbound.</td>
+ </tr>
+
+ <tr>
+<td><pre>
+void h(int v);
+</pre></td>
+<td>Marked as internal use only.</td>
+ </tr>
+
+ <tr>
+<td><pre>
+void set_flag(unsigned int c);
+</pre></td>
+<td>Intentionally left unbound.</td>
+ </tr>
+
+ <tr>
+<td><pre>
+void w(int v);
+</pre></td>
+<td>Marked as internal use only.</td>
+ </tr>
+
+ <tr>
+<td><pre>
+void x(int v);
+</pre></td>
+<td>Marked as internal use only.</td>
+ </tr>
+
+ <tr>
+<td><pre>
+void y(int v);
+</pre></td>
+<td>Marked as internal use only.</td>
+ </tr>
+
+</table>
+
+
</body>
</html>
diff --git a/doc/fl_window.html b/doc/fl_window.html
index 8376cf0..4f246b3 100644
--- a/doc/fl_window.html
+++ b/doc/fl_window.html
@@ -43,11 +43,6 @@
<tr>
<td>&nbsp;</td>
- <td>Border_State</td>
- </tr>
-
- <tr>
- <td>&nbsp;</td>
<td>Modal_State</td>
</tr>
@@ -155,7 +150,7 @@ function Last_Made_Current
<td><pre>
static void default_callback(Fl_Window *, void *v);
</pre></td>
-<td>&nbsp;</td>
+<td>Back compatibility only, see default_atclose / Default_Window_Close in FLTK.</td>
</tr>
<tr>
@@ -164,7 +159,7 @@ static void default_icon(const Fl_RGB_Image *);
</pre></td>
<td><pre>
procedure Set_Default_Icon
- (Pic : in out FLTK.Images.RGB.RGB_Image'Class);
+ (Pic : in FLTK.Images.RGB.RGB_Image'Class);
</pre></td>
</tr>
@@ -172,21 +167,32 @@ procedure Set_Default_Icon
<td><pre>
static void default_icons(const Fl_RGB_Image *[], int);
</pre></td>
-<td>&nbsp;</td>
+<td><pre>
+procedure Set_Default_Icons
+ (Pics : in FLTK.Images.RGB.RGB_Image_Array);
+
+procedure Reset_Default_Icons;
+</pre></td>
</tr>
<tr>
<td><pre>
static const char * default_xclass();
</pre></td>
-<td>&nbsp;</td>
+<td><pre>
+function Get_Default_X_Class
+ return String;
+</pre></td>
</tr>
<tr>
<td><pre>
static void default_xclass(const char *);
</pre></td>
-<td>&nbsp;</td>
+<td><pre>
+procedure Set_Default_X_Class
+ (Value : in String);
+</pre></td>
</tr>
</table>
@@ -200,28 +206,28 @@ static void default_xclass(const char *);
<td><pre>
virtual Fl_Window * as_window();
</pre></td>
-<td>Use view conversion and tag membership tests instead</td>
+<td>Use view conversion and tag membership tests instead.</td>
</tr>
<tr>
<td><pre>
-void border(int b);
+unsigned int border() const;
</pre></td>
<td><pre>
-procedure Set_Border_State
- (This : in out Window;
- To : in Border_State);
+function Has_Border
+ (This : in Window)
+ return Boolean;
</pre></td>
</tr>
<tr>
<td><pre>
-unsigned int border() const;
+void border(int b);
</pre></td>
<td><pre>
-function Get_Border_State
- (This : in Window)
- return Border_State;
+procedure Set_Border
+ (This : in out Window;
+ Value : in Boolean := True);
</pre></td>
</tr>
@@ -229,7 +235,10 @@ function Get_Border_State
<td><pre>
void clear_border();
</pre></td>
-<td>&nbsp;</td>
+<td><pre>
+procedure Clear_Border
+ (This : in out Window);
+</pre></td>
</tr>
<tr>
@@ -237,9 +246,8 @@ void clear_border();
void clear_modal_states();
</pre></td>
<td><pre>
-procedure Set_Modal_State
- (This : in out Window;
- To : in Modal_State);
+procedure Clear_Modal_State
+ (This : in out Window);
</pre></td>
</tr>
@@ -247,7 +255,11 @@ procedure Set_Modal_State
<td><pre>
void copy_label(const char *a);
</pre></td>
-<td>&nbsp;</td>
+<td><pre>
+procedure Set_Label
+ (This : in out Window;
+ Text : in String);
+</pre></td>
</tr>
<tr>
@@ -268,7 +280,7 @@ void cursor(const Fl_RGB_Image *, int, int);
<td><pre>
procedure Set_Cursor
(This : in out Window;
- Pic : in out FLTK.Images.RGB.RGB_Image'Class;
+ Pic : in FLTK.Images.RGB.RGB_Image'Class;
Hot_X, Hot_Y : in Integer);
</pre></td>
</tr>
@@ -277,7 +289,7 @@ procedure Set_Cursor
<td><pre>
void cursor(Fl_Cursor c, Fl_Color, Fl_Color=FL_WHITE);
</pre></td>
-<td>&nbsp;</td>
+<td>Use cursor(Fl_Cursor) / Set_Cursor instead.</td>
</tr>
<tr>
@@ -317,17 +329,14 @@ procedure Set_Default_Cursor
<td><pre>
void default_cursor(Fl_Cursor c, Fl_Color, Fl_Color=FL_WHITE);
</pre></td>
-<td>&nbsp;</td>
+<td>Use default_cursor(Fl_Cursor) / Set_Default_Cursor instead.</td>
</tr>
<tr>
<td><pre>
void free_position();
</pre></td>
-<td><pre>
-procedure Free_Position
- (This : in out Window);
-</pre></td>
+<td>Marked as deprecated.</td>
</tr>
<tr>
@@ -438,7 +447,7 @@ void icon(const Fl_RGB_Image *);
<td><pre>
procedure Set_Icon
(This : in out Window;
- Pic : in out FLTK.Images.RGB.RGB_Image'Class);
+ Pic : in FLTK.Images.RGB.RGB_Image'Class);
</pre></td>
</tr>
@@ -446,14 +455,14 @@ procedure Set_Icon
<td><pre>
const void * icon() const;
</pre></td>
-<td>&nbsp;</td>
+<td>Marked as deprecated.</td>
</tr>
<tr>
<td><pre>
void icon(const void *ic);
</pre></td>
-<td>&nbsp;</td>
+<td>Marked as deprecated.</td>
</tr>
<tr>
@@ -492,7 +501,14 @@ procedure Set_Icon_Label
<td><pre>
void icons(const Fl_RGB_Image *[], int);
</pre></td>
-<td>&nbsp;</td>
+<td><pre>
+procedure Set_Icons
+ (This : in out Window;
+ Pics : in FLTK.Images.RGB.RGB_Image_Array);
+
+procedure Reset_Icons
+ (This : in out Window);
+</pre></td>
</tr>
<tr>
@@ -510,18 +526,20 @@ function Get_Label
<td><pre>
void label(const char *);
</pre></td>
-<td><pre>
-procedure Set_Label
- (This : in out Window;
- Text : in String);
-</pre></td>
+<td>Due to the marshalling between String and char * using
+this method would be pointless, so its functionality is
+subsumed by copy_label / Set_Label.</td>
</tr>
<tr>
<td><pre>
void label(const char *label, const char *iconlabel);
</pre></td>
-<td>&nbsp;</td>
+<td><pre>
+procedure Set_Labels
+ (This : in out Window;
+ Text, Icon_Text : in String);
+</pre></td>
</tr>
<tr>
@@ -538,7 +556,11 @@ procedure Make_Current
<td><pre>
unsigned int menu_window() const;
</pre></td>
-<td>Use tag membership tests instead</td>
+<td><pre>
+function Is_Menu_Window
+ (This : in Window)
+ return Boolean;
+</pre></td>
</tr>
<tr>
@@ -546,6 +568,15 @@ unsigned int menu_window() const;
unsigned int modal() const;
</pre></td>
<td><pre>
+function Is_Modal
+ (This : in Window)
+ return Boolean;
+</pre></td>
+ </tr>
+
+ <tr>
+<td>Use modal, non_modal as appropriate.</td>
+<td><pre>
function Get_Modal_State
(This : in Window)
return Modal_State;
@@ -556,7 +587,11 @@ function Get_Modal_State
<td><pre>
unsigned int non_modal() const;
</pre></td>
-<td>See unsigned int modal() const;</td>
+<td><pre>
+function Is_Non_Modal
+ (This : in Window)
+ return Boolean;
+</pre></td>
</tr>
<tr>
@@ -574,28 +609,47 @@ function Is_Override
<td><pre>
virtual void resize(int X, int Y, int W, int H);
</pre></td>
-<td>&nbsp;</td>
+<td><pre>
+procedure Resize
+ (This : in out Window;
+ X, Y, W, H : in Integer);
+</pre></td>
</tr>
<tr>
<td><pre>
void set_menu_window();
</pre></td>
-<td>&nbsp;</td>
+<td>Intended for internal use only.</td>
</tr>
<tr>
<td><pre>
void set_modal();
</pre></td>
-<td>See void clear_modal_states();</td>
+<td><pre>
+procedure Set_Modal
+ (This : in out Window);
+</pre></td>
+ </tr>
+
+ <tr>
+<td>Use clear_modal_states, set_modal, set_non_modal as appropriate.</td>
+<td><pre>
+procedure Set_Modal_State
+ (This : in out Window;
+ Value : in Modal_State);
+</pre></td>
</tr>
<tr>
<td><pre>
void set_non_modal();
</pre></td>
-<td>See void clear_modal_states();</td>
+<td><pre>
+procedure Set_Non_Modal
+ (This : in out Window);
+</pre></td>
</tr>
<tr>
@@ -612,7 +666,7 @@ procedure Set_Override
<td><pre>
void set_tooltip_window();
</pre></td>
-<td>&nbsp;</td>
+<td>Intended for internal use only.</td>
</tr>
<tr>
@@ -624,7 +678,7 @@ void shape(const Fl_Image &b);
<td><pre>
procedure Shape
(This : in out Window;
- Pic : in out FLTK.Images.Image'Class);
+ Pic : in FLTK.Images.Image'Class);
</pre></td>
</tr>
@@ -677,7 +731,11 @@ procedure Set_Size_Range
<td><pre>
unsigned int tooltip_window() const;
</pre></td>
-<td>&nbsp;</td>
+<td><pre>
+function Is_Tooltip_Window
+ (This : in Window)
+ return Boolean;
+</pre></td>
</tr>
<tr>
@@ -705,14 +763,22 @@ function Get_X_Root
<td><pre>
const char * xclass() const;
</pre></td>
-<td>&nbsp;</td>
+<td><pre>
+function Get_X_Class
+ (This : in Window)
+ return String;
+</pre></td>
</tr>
<tr>
<td><pre>
void xclass(const char *c);
</pre></td>
-<td>&nbsp;</td>
+<td><pre>
+procedure Set_X_Class
+ (This : in out Window;
+ Value : in String);
+</pre></td>
</tr>
<tr>
@@ -747,28 +813,39 @@ procedure Draw
<td><pre>
virtual void flush();
</pre></td>
-<td>&nbsp;</td>
+<td><pre>
+procedure Flush
+ (This : in out Window);
+</pre></td>
</tr>
<tr>
<td><pre>
int force_position() const;
</pre></td>
-<td>&nbsp;</td>
+<td><pre>
+function Is_Position_Forced
+ (This : in Window)
+ return Boolean;
+</pre></td>
</tr>
<tr>
<td><pre>
void force_position(int force);
</pre></td>
-<td>&nbsp;</td>
+<td><pre>
+procedure Force_Position
+ (This : in out Window;
+ State : in Boolean := True);
+</pre></td>
</tr>
<tr>
<td><pre>
void free_icons();
</pre></td>
-<td>&nbsp;</td>
+<td>Intentionally left unbound.</td>
</tr>
</table>
diff --git a/doc/index.html b/doc/index.html
index e8f0a45..af2faf1 100644
--- a/doc/index.html
+++ b/doc/index.html
@@ -16,9 +16,13 @@
<h4>List of C++ headers</h4>
<ul>
- <li><a href="fl.html">Enumerations</a></li>
+ <li><a href="enumerations.html">Enumerations</a></li>
<li><a href="filename.html">Filename</a></li>
<li><a href="fl.html">Fl</a></li>
+ <li><a href="fl_(fltk-errors).html">Fl (FLTK.Errors)</a></li>
+ <li><a href="fl_(fltk-events).html">Fl (FLTK.Events)</a></li>
+ <li><a href="fl_(fltk-screen).html">Fl (FLTK.Screen)</a></li>
+ <li><a href="fl_(fltk-static).html">Fl (FLTK.Static)</a></li>
<li><a href="fl_adjuster.html">Fl_Adjuster</a></li>
<li><a href="fl_ask.html">Fl_Ask</a></li>
<li><a href="fl_bitmap.html">Fl_Bitmap</a></li>
@@ -143,6 +147,7 @@
<ul>
<li><a href="fl.html">FLTK</a></li>
+ <li><a href="enumerations.html">FLTK (Enumerations)</a></li>
<li><a href="fl_ask.html">FLTK.Asks</a></li>
<li><a href="fl_device.html">FLTK.Devices</a></li>
<li><a href="fl_graphics_driver.html">FLTK.Devices.Graphics</a></li>
@@ -155,8 +160,8 @@
<li><a href="fl_printer.html">FLTK.Devices.Surface.Paged.Printers</a></li>
<li><a href="fl_draw.html">FLTK.Draw</a></li>
<li><a href="fl_preferences.html">FLTK.Environment</a></li>
- <li><a href="fl.html">FLTK.Errors</a></li>
- <li><a href="fl.html">FLTK.Event</a></li>
+ <li><a href="fl_(fltk-errors).html">FLTK.Errors</a></li>
+ <li><a href="fl_(fltk-events).html">FLTK.Events</a></li>
<li><a href="fl_file_chooser.html">FLTK.File_Choosers</a></li>
<li><a href="filename.html">FLTK.Filenames</a></li>
<li><a href="fl_help_dialog.html">FLTK.Help_Dialogs</a></li>
@@ -175,8 +180,8 @@
<li><a href="fl_tiled_image.html">FLTK.Images.Tiled</a></li>
<li><a href="fl_label.html">FLTK.Labels</a></li>
<li><a href="fl_menu_item.html">FLTK.Menu_Items</a></li>
- <li><a href="fl.html">FLTK.Screen</a></li>
- <li><a href="fl.html">FLTK.Static</a></li>
+ <li><a href="fl_(fltk-screen).html">FLTK.Screen</a></li>
+ <li><a href="fl_(fltk-static).html">FLTK.Static</a></li>
<li><a href="fl_text_buffer.html">FLTK.Text_Buffers</a></li>
<li><a href="fl_tooltip.html">FLTK.Tooltips</a></li>
<li><a href="fl_widget.html">FLTK.Widgets</a></li>