diff options
Diffstat (limited to 'doc')
119 files changed, 18854 insertions, 4022 deletions
diff --git a/doc/blank_template.html b/doc/blank_template.html index d624fee..0cf4f2b 100644 --- a/doc/blank_template.html +++ b/doc/blank_template.html @@ -1,4 +1,3 @@ - <!DOCTYPE html> <html lang="en"> @@ -14,6 +13,9 @@ <h2> Binding Map</h2> +<a href="index.html">Back to Index</a> + + <table class="package"> <tr><th colspan="2">Package name</th></tr> 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> </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/filename.html b/doc/filename.html new file mode 100644 index 0000000..8759679 --- /dev/null +++ b/doc/filename.html @@ -0,0 +1,304 @@ +<!DOCTYPE html> + +<html lang="en"> + <head> + <meta charset="utf-8"> + <title>Filename Binding Map</title> + <link href="map.css" rel="stylesheet"> + </head> + + <body> + + +<h2>Filename Binding Map</h2> + + +<a href="index.html">Back to Index</a> + + +<table class="package"> + <tr><th colspan="2">Package name</th></tr> + + <tr> + <td>filename</td> + <td>FLTK.Filenames</td> + </tr> + +</table> + + + +<table class="type"> + <tr><th colspan="2">Types</th></tr> + + <tr> + <td>char *</td> + <td>Path_String</td> + </tr> + + <tr> + <td>int</td> + <td>Comparison</td> + </tr> + + <tr> + <td>Fl_File_Sort_F</td> + <td>Compare_Function</td> + </tr> + + <tr> + <td>struct dirent ***</td> + <td>File_List</td> + </tr> + +</table> + + + +<table class="type"> + <tr><th colspan="2">Errors</th></tr> + + <tr> + <td>char * msg</td> + <td>Open_URI_Error</td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Static Attributes</th></tr> + + <tr> +<td><pre> +#define FL_PATH_MAX 2048 +</pre></td> +<td><pre> +Max_Path_Length : constant Natural; +</pre></td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Functions and Procedures</th></tr> + + <tr> +<td><pre> +int fl_alphasort(struct dirent **, struct dirent **); +</pre></td> +<td><pre> +function Alpha_Sort + (A, B : in String) + return Comparison; +</pre></td> + </tr> + + <tr> +<td><pre> +int fl_casealphasort(struct dirent **, struct dirent **); +</pre></td> +<td><pre> +function Case_Alpha_Sort + (A, B : in String) + return Comparison; +</pre></td> + </tr> + + <tr> +<td><pre> +int fl_casenumericsort(struct dirent **, struct dirent **); +</pre></td> +<td><pre> +function Case_Numeric_Sort + (A, B : in String) + return Comparison; +</pre></td> + </tr> + + <tr> +<td><pre> +void fl_decode_uri(char *uri); +</pre></td> +<td><pre> +function Decode_URI + (URI : in Path_String) + return Path_String; +</pre></td> + </tr> + + <tr> +<td><pre> +int fl_filename_absolute(char *to, int tolen, const char *from); +</pre></td> +<td><pre> +function Absolute + (Name : in Path_String) + return Path_String; + +function Absolute + (Name : in Path_String; + Changed : out Boolean) + return Path_String; +</pre></td> + </tr> + + <tr> +<td><pre> +int fl_filename_expand(char *to, int tolen, const char *from); +</pre></td> +<td><pre> +function Expand + (Name : in Path_String) + return Path_String; + +function Expand + (Name : in Path_String; + Changed : out Boolean) + return Path_String; +</pre></td> + </tr> + + <tr> +<td><pre> +const char * fl_filename_ext(const char *buf); +</pre></td> +<td><pre> +function Extension + (Name : in Path_String) + return Path_String; +</pre></td> + </tr> + + <tr> +<td><pre> +void fl_filename_free_list(struct dirent ***l, int n); +</pre></td> +<td>Automatically called when a File_List goes out of scope.</td> + </tr> + + <tr> +<td><pre> +int fl_filename_isdir(const char *name); +</pre></td> +<td><pre> +function Is_Directory + (Name : in Path_String) + return Boolean; +</pre></td> + </tr> + + <tr> +<td><pre> +int fl_filename_list(const char *d, struct dirent ***l, + Fl_File_Sort_F *s=fl_numericsort); +</pre></td> +<td><pre> +function Get_Listing + (Name : in Path_String; + Sort : in not null Compare_Function := + Numeric_Sort'Access) + return File_List; +</pre></td> + </tr> + + <tr> +<td>Tracking of the return value of fl_filename_list must be done manually.</td> +<td><pre> +function Length + (This : in File_List) + return Natural; +</pre></td> + </tr> + + <tr> +<td>Dereferencing of a dirent struct must be done manually.</td> +<td><pre> +function Item + (This : in File_List; + Index : in Positive) + return Path_String +with Pre => Index in 1 .. This.Length; +</pre></td> + </tr> + + <tr> +<td><pre> +int fl_filename_match(const char *name, const char *pattern); +</pre></td> +<td><pre> +function Match + (Input, Pattern : in String) + return Boolean; +</pre></td> + </tr> + + <tr> +<td><pre> +const char * fl_filename_name(const char *filename); +</pre></td> +<td><pre> +function Base_Name + (Name : in Path_String) + return Path_String; +</pre></td> + </tr> + + <tr> +<td><pre> +int fl_filename_relative(char *to, int tolen, const char *from); +</pre></td> +<td><pre> +function Relative + (Name : in Path_String) + return Path_String; + +function Relative + (Name : in Path_String; + Changed : out Boolean) + return Path_String; +</pre></td> + </tr> + + <tr> +<td><pre> +char * fl_filename_setext(char *to, int tolen, const char *ext); +</pre></td> +<td><pre> +function Set_Extension + (Name : in Path_String; + Suffix : in String) + return Path_String; +</pre></td> + </tr> + + <tr> +<td><pre> +int fl_numericsort(struct dirent **, struct dirent **); +</pre></td> +<td><pre> +function Numeric_Sort + (A, B : in String) + return Comparison; +</pre></td> + </tr> + + <tr> +<td><pre> +int fl_open_uri(const char *uri, char *msg, int msglen); +</pre></td> +<td><pre> +procedure Open_URI + (URI : in Path_String); +</pre></td> + </tr> + +</table> + + + </body> +</html> + diff --git a/doc/fl.html b/doc/fl.html index f1da128..96bb11d 100644 --- a/doc/fl.html +++ b/doc/fl.html @@ -1,4 +1,3 @@ - <!DOCTYPE html> <html lang="en"> @@ -14,6 +13,9 @@ <h2>Fl Binding Map</h2> +<a href="index.html">Back to Index</a> + + <table class="package"> <tr><th colspan="2">Package names</th></tr> @@ -22,26 +24,6 @@ <td>FLTK</td> </tr> - <tr> - <td> </td> - <td>FLTK.Event</td> - </tr> - - <tr> - <td> </td> - <td>FLTK.Screen</td> - </tr> - - <tr> - <td> </td> - <td>FLTK.Static</td> - </tr> - - <tr> - <td>Enumerations</td> - <td> </td> - </tr> - </table> @@ -50,173 +32,45 @@ <tr><th colspan="2">Types</th></tr> <tr> - <td>Fl_Option</td> - <td>Option</td> + <td>void *</td> + <td>Wrapper</td> </tr> <tr> - <td>Fl_Color</td> - <td>Color</td> - </tr> - - <tr> - <td>Fl_Align</td> - <td>Alignment</td> - </tr> - - <tr> - <td> </td> - <td>Keypress</td> - </tr> - - <tr> - <td> </td> - <td>Mouse_Button</td> - </tr> - - <tr> - <td> </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> </td> - <td>Font_Size_Array</td> - </tr> - - <tr> - <td>Fl_Labeltype</td> - <td>Label_Kind</td> - </tr> - - <tr> - <td> </td> - <td>Event_Kind</td> - </tr> - - <tr> - <td> </td> - <td>Event_Outcome</td> - </tr> - - <tr> - <td> </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> </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> - </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> </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> </td> - <td>File_Mode</td> + <td>size_t</td> + <td>Size_Type</td> </tr> <tr> - <td>Fl_FD_Handler</td> - <td>File_Handler</td> + <td>size_t</td> + <td>Positive_Size</td> </tr> - <tr> - <td>Fl_Box_Draw_F</td> - <td>Box_Draw_Function</td> - </tr> - - <tr> - <td>Fl_Abort_Handler</td> - <td> </td> - </tr> - - <tr> - <td>Fl_Args_Handler</td> - <td> </td> - </tr> - - <tr> - <td>Fl_Atclose_Handler</td> - <td> </td> - </tr> +</table> - <tr> - <td>Fl_Label_Draw_F</td> - <td> </td> - </tr> - <tr> - <td>Fl_Label_Measure_F</td> - <td> </td> - </tr> - <tr> - <td>Fl_Old_Idle_Handler</td> - <td> </td> - </tr> +<table class="type"> + <tr><th colspan="2">Errors</th></tr> <tr> - <td>Fl_System_Handler</td> <td> </td> + <td>Internal_FLTK_Error</td> </tr> </table> @@ -224,117 +78,51 @@ <table class="function"> - <tr><th colspan="2">Functions and Procedures</th></tr> - - <tr> -<td><pre> -static int abi_check(const int val=FL_ABI_VERSION); -</pre></td> -<td><pre> -function ABI_Check - (ABI_Ver : in Version_Number) - return Boolean; -</pre></td> - </tr> - - <tr> -<td><pre> -static int abi_version(); -</pre></td> -<td><pre> -function ABI_Version - return Version_Number; -</pre></td> - </tr> + <tr><th colspan="2">Static Attributes</th></tr> <tr> <td><pre> -static int add_awake_handler_(Fl_Awake_Handler, void *); +static char const * const clipboard_image = "image"; </pre></td> <td><pre> -procedure Add_Awake_Handler - (Func : in Awake_Handler); +Clipboard_Image : constant String; </pre></td> </tr> <tr> <td><pre> -static void add_check(Fl_Timeout_Handler, void *=0); +static char const * const clipboard_plain_text = "text/plain"; </pre></td> <td><pre> -procedure Add_Check - (Func : in Timeout_Handler); +Clipboard_Plain_Text : constant String; </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> +</table> - <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> +<table class="function"> + <tr><th colspan="2">Static Functions and Procedures</th></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); +static int abi_check(const int val=FL_ABI_VERSION); </pre></td> - </tr> - - <tr> <td><pre> -static void add_system_handler(Fl_System_Handler h, void *data); +function ABI_Check + (ABI_Ver : in Version_Number) + return Boolean; </pre></td> -<td> </td> </tr> <tr> <td><pre> -static void add_timeout(double t, Fl_Timeout_Handler, void *=0); +static int abi_version(); </pre></td> <td><pre> -procedure Add_Timeout - (Seconds : in Long_Float; - Func : in Timeout_Handler); +function ABI_Version + return Version_Number; </pre></td> </tr> @@ -350,134 +138,6 @@ function API_Version <tr> <td><pre> -static int arg(int argc, char **argv, int &i); -</pre></td> -<td> </td> - </tr> - - <tr> -<td><pre> -static int args(int argc, char **argv, int &i, Fl_Args_Handler cb=0); -</pre></td> -<td> </td> - </tr> - - <tr> -<td><pre> -static void args(int argc, char **argv); -</pre></td> -<td> </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> </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> </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> </td> @@ -516,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> @@ -525,637 +187,21 @@ function Check <td><pre> static void clear_widget_pointer(Fl_Widget const *w); </pre></td> -<td> </td> - </tr> - - <tr> -<td><pre> -static int clipboard_contains(const char *type); -</pre></td> -<td> </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> </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> </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> </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> </td> - </tr> - - <tr> -<td><pre> -static const char * event_clipboard_type(); -</pre></td> -<td> </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> </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> </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> @@ -1167,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> </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> </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> @@ -1371,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> </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> </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> @@ -1504,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> </td> - </tr> - - <tr> -<td><pre> -static void selection_owner(Fl_Widget *); -</pre></td> -<td> </td> - </tr> - - <tr> -<td><pre> -static void set_abort(Fl_Abort_Handler f); -</pre></td> -<td> </td> - </tr> - - <tr> -<td><pre> -static void set_atclose(Fl_Atclose_Handler f); -</pre></td> -<td> </td> - </tr> - - <tr> -<td><pre> -static void set_box_color(Fl_Color); -</pre></td> -<td> </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> </td> - </tr> - - <tr> -<td><pre> -static void set_font(Fl_Font, const char *); -</pre></td> -<td> </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> </td> - </tr> - - <tr> -<td><pre> -static void set_labeltype(Fl_Labeltype, Fl_Label_Draw_F *, FL_Label_Measure_F *); -</pre></td> -<td> </td> - </tr> - - <tr> -<td><pre> -static void set_labeltype(Fl_Labeltype, Fl_Labeltype from); +static void use_high_res_GL(int val); </pre></td> <td> </td> </tr> <tr> <td><pre> -static int test_shortcut(Fl_Shortcut); +static int use_high_res_GL(); </pre></td> <td> </td> </tr> <tr> -<td><pre> -static void * thread_message(); -</pre></td> <td> </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> </td> - </tr> - - <tr> -<td><pre> -static int use_high_res_GL(); +function Is_Valid + (Object : in Wrapper) + return Boolean; </pre></td> -<td> </td> </tr> <tr> @@ -1838,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> </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> @@ -1890,7 +288,7 @@ static double wait(double time); <td><pre> function Wait (Seconds : in Long_Float) - return Integer; + return Long_Float; </pre></td> </tr> @@ -1898,27 +296,7 @@ function Wait <td><pre> static void watch_widget_pointer(Fl_Widget *&w); </pre></td> -<td> </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> </td> + </tr> + + <tr> + <td>Fl_Args_Handler</td> + <td>Args_Handler</td> + </tr> + + <tr> + <td>Fl_Atclose_Handler</td> + <td> </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> </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_adjuster.html b/doc/fl_adjuster.html index 3fdbfa9..ad90328 100644 --- a/doc/fl_adjuster.html +++ b/doc/fl_adjuster.html @@ -1,4 +1,3 @@ - <!DOCTYPE html> <html lang="en"> @@ -14,6 +13,9 @@ <h2>Fl_Adjuster Binding Map</h2> +<a href="index.html">Back to Index</a> + + <table class="package"> <tr><th colspan="2">Package name</th></tr> @@ -44,7 +46,7 @@ <table class="function"> - <tr><th colspan="2">Functions and Procedures</th></tr> + <tr><th colspan="2">Constructors</th></tr> <tr> <td><pre> @@ -53,30 +55,38 @@ Fl_Adjuster(int X, int Y, int W, int H, const char *L=0); <td><pre> function Create (X, Y, W, H : in Integer; - Text : in String) + Text : in String := "") return Adjuster; </pre></td> </tr> <tr> +<td>Rely on the automatic use of begin when a group is created, or use begin/end +explicitly, or add each widget to its intended parent group manually.</td> <td><pre> -void draw(); -</pre></td> -<td><pre> -procedure Draw - (This : in out Adjuster); +function Create + (Parent : in out FLTK.Widgets.Groups.Group'Class; + X, Y, W, H : in Integer; + Text : in String := "") + return Adjuster; </pre></td> </tr> +</table> + + + +<table class="function"> + <tr><th colspan="2">Functions and Procedures</th></tr> + <tr> <td><pre> -int handle(int); +int soft() const; </pre></td> <td><pre> -function Handle - (This : in out Adjuster; - Event : in Event_Kind) - return Event_Outcome; +function Is_Soft + (This : in Adjuster) + return Boolean; </pre></td> </tr> @@ -91,14 +101,42 @@ procedure Set_Soft </pre></td> </tr> +</table> + + + +<table class="function"> + <tr><th colspan="2">Protected Functions and Procedures</th></tr> + + <tr> +<td><pre> +void draw(); +</pre></td> +<td><pre> +procedure Draw + (This : in out Adjuster); +</pre></td> + </tr> + <tr> <td><pre> -int soft() const; +int handle(int); </pre></td> <td><pre> -function Is_Soft - (This : in Adjuster) - return Boolean; +function Handle + (This : in out Adjuster; + Event : in Event_Kind) + return Event_Outcome; +</pre></td> + </tr> + + <tr> +<td><pre> +void value_damage(); +</pre></td> +<td><pre> +procedure Value_Damage + (This : in out Adjuster); </pre></td> </tr> diff --git a/doc/common_dialogs.html b/doc/fl_ask.html index 0676bf8..146c17b 100644 --- a/doc/common_dialogs.html +++ b/doc/fl_ask.html @@ -1,17 +1,19 @@ - <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> - <title>Common Dialogs Binding Map</title> + <title>Fl_Ask Binding Map</title> <link href="map.css" rel="stylesheet"> </head> <body> -<h2>Common Dialogs Binding Map</h2> +<h2>Fl_Ask Binding Map</h2> + + +<a href="index.html">Back to Index</a> <table class="package"> @@ -19,7 +21,12 @@ <tr> <td>Fl_Ask</td> - <td>FLTK.Dialogs</td> + <td>FLTK.Asks</td> + </tr> + + <tr> + <td>fl_show_colormap</td> + <td> </td> </tr> </table> @@ -35,20 +42,107 @@ </tr> <tr> - <td> </td> - <td>Choice</td> + <td>int</td> + <td>Confirm_Result</td> </tr> <tr> - <td> </td> + <td>int</td> + <td>Choice_Result</td> + </tr> + + <tr> + <td>int</td> + <td>Extended_Choice_Result</td> + </tr> + + <tr> + <td>double</td> <td>RGB_Float</td> </tr> <tr> - <td> </td> + <td>uchar</td> <td>RGB_Int</td> </tr> + <tr> + <td>void(*cb)(const char *)</td> + <td>File_Chooser_Callback</td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Attributes</th></tr> + + <tr> +<td><pre> +const char * fl_cancel = "Cancel"; +</pre></td> +<td><pre> +function Get_Cancel_String + return String; + +procedure Set_Cancel_String + (Value : in String); +</pre></td> + </tr> + + <tr> +<td><pre> +const char * fl_close = "Close"; +</pre></td> +<td><pre> +function Get_Close_String + return String; + +procedure Set_Close_String + (Value : in String); +</pre></td> + </tr> + + <tr> +<td><pre> +const char * fl_no = "No"; +</pre></td> +<td><pre> +function Get_No_String + return String; + +procedure Set_No_String + (Value : in String); +</pre></td> + </tr> + + <tr> +<td><pre> +const char * fl_ok = "OK"; +</pre></td> +<td><pre> +function Get_OK_String + return String; + +procedure Set_OK_String + (Value : in String); +</pre></td> + </tr> + + <tr> +<td><pre> +const char * fl_yes = "Yes"; +</pre></td> +<td><pre> +function Get_Yes_String + return String; + +procedure Set_Yes_String + (Value : in String); +</pre></td> + </tr> + </table> @@ -70,7 +164,7 @@ procedure Alert <td><pre> int fl_ask(const char *fmt,...); </pre></td> -<td>Present but disabled due to fl_ask being deprecated</td> +<td>Deprecated.</td> </tr> <tr> @@ -79,24 +173,54 @@ void fl_beep(int type); </pre></td> <td><pre> procedure Beep - (Kind : in Beep_Kind); + (Kind : in Beep_Kind := Default_Beep); </pre></td> </tr> <tr> <td><pre> -int fl_choice(const char *fmt, const char *b0, const char *b1, const char *b2,...); +int fl_choice(const char *fmt, const char *b0, const char *b1, + const char *b2, ...); </pre></td> <td><pre> -function Three_Way_Choice +function Choice + (Message, Button1 : in String) + return Choice_Result; + +function Choice + (Message, Button1, Button2 : in String) + return Choice_Result; + +function Choice (Message, Button1, Button2, Button3 : in String) - return Choice; + return Choice_Result; </pre></td> </tr> <tr> <td><pre> -int fl_color_chooser(const char *name, double &r, double &g, double &b, int cmode); +int fl_choice_n(const char *fmt, const char *b0, const char *b1, + const char *b2, ...); +</pre></td> +<td><pre> +function Extended_Choice + (Message, Button1 : in String) + return Extended_Choice_Result; + +function Extended_Choice + (Message, Button1, Button2 : in String) + return Extended_Choice_Result; + +function Extended_Choice + (Message, Button1, Button2, Button3 : in String) + return Extended_Choice_Result; +</pre></td> + </tr> + + <tr> +<td><pre> +int fl_color_chooser(const char *name, double &r, double &g, + double &b, int cmode); </pre></td> <td><pre> function Color_Chooser @@ -104,13 +228,14 @@ function Color_Chooser R, G, B : in out RGB_Float; Mode : in FLTK.Widgets.Groups.Color_Choosers.Color_Mode := FLTK.Widgets.Groups.Color_Choosers.RGB) - return Boolean; + return Confirm_Result; </pre></td> </tr> <tr> <td><pre> -int fl_color_chooser(const char *name, uchar &r, uchar &g, uchar &b, int cmode); +int fl_color_chooser(const char *name, uchar &r, uchar &g, + uchar &b, int cmode); </pre></td> <td><pre> function Color_Chooser @@ -118,13 +243,14 @@ function Color_Chooser R, G, B : in out RGB_Int; Mode : in FLTK.Widgets.Groups.Color_Choosers.Color_Mode := FLTK.Widgets.Groups.Color_Choosers.RGB) - return Boolean; + return Confirm_Result; </pre></td> </tr> <tr> <td><pre> -char * fl_dir_chooser(const char *message, const char *fname, int relative); +char * fl_dir_chooser(const char *message, const char *fname, + int relative); </pre></td> <td><pre> function Dir_Chooser @@ -136,7 +262,8 @@ function Dir_Chooser <tr> <td><pre> -char * fl_file_chooser(const char *message, const char *pat, const char *fname, int relative); +char * fl_file_chooser(const char *message, const char *pat, + const char *fname, int relative); </pre></td> <td><pre> function File_Chooser @@ -150,19 +277,25 @@ function File_Chooser <td><pre> void fl_file_chooser_callback(void(*cb)(const char *)); </pre></td> -<td> </td> +<td><pre> +procedure Set_File_Chooser_Callback + (Func : in File_Chooser_Callback); +</pre></td> </tr> <tr> <td><pre> void fl_file_chooser_ok_label(const char *l); </pre></td> -<td> </td> +<td><pre> +procedure Set_File_Chooser_OK_String + (Value : in String); +</pre></td> </tr> <tr> <td><pre> -const char * fl_input(const char *fmt, const char *defstr,...); +const char * fl_input(const char *fmt, const char *defstr, ...); </pre></td> <td><pre> function Text_Input @@ -174,7 +307,7 @@ function Text_Input <tr> <td><pre> -void fl_message(const char *fmt,...); +void fl_message(const char *fmt, ...); </pre></td> <td><pre> procedure Message_Box @@ -198,7 +331,7 @@ procedure Set_Message_Font void fl_message_hotspot(int enable); </pre></td> <td><pre> -procedure Set_Hotspot +procedure Set_Message_Hotspot (To : in Boolean); </pre></td> </tr> @@ -208,7 +341,7 @@ procedure Set_Hotspot int fl_message_hotspot(void); </pre></td> <td><pre> -function Get_Hotspot +function Get_Message_Hotspot return Boolean; </pre></td> </tr> @@ -245,7 +378,7 @@ procedure Set_Message_Title_Default <tr> <td><pre> -const char * fl_password(const char *fmt, const char *defstr,...); +const char * fl_password(const char *fmt, const char *defstr, ...); </pre></td> <td><pre> function Password @@ -255,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 4d22550..edaf6a4 100644 --- a/doc/fl_bitmap.html +++ b/doc/fl_bitmap.html @@ -1,4 +1,3 @@ - <!DOCTYPE html> <html lang="en"> @@ -14,6 +13,9 @@ <h2>Fl_Bitmap Binding Map</h2> +<a href="index.html">Back to Index</a> + + <table class="package"> <tr><th colspan="2">Package name</th></tr> @@ -44,22 +46,103 @@ <table class="function"> - <tr><th colspan="2">Functions and Procedures</th></tr> + <tr><th colspan="2">Attributes</th></tr> <tr> <td><pre> -Fl_Bitmap(const uchar *bits, int W, int H); +int alloc_array; </pre></td> -<td> </td> +<td>Intentionally left unbound.</td> </tr> <tr> <td><pre> +const uchar * array; +</pre></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> + + + +<table class="function"> + <tr><th colspan="2">Constructors</th></tr> + + <tr> +<td><pre> +Fl_Bitmap(const uchar *bits, int W, int H); + Fl_Bitmap(const char *bits, int W, int H); </pre></td> +<td><pre> +function Create + (Data : in Color_Component_Array; + Width, Height : in Natural) + 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> </td> +<td><pre> +function Bytes_Needed + (Bits : in Natural) + return Natural; +</pre></td> </tr> +</table> + + + +<table class="function"> + <tr><th colspan="2">Functions and Procedures</th></tr> + <tr> <td><pre> virtual Fl_Image * copy(int W, int H); @@ -85,13 +168,14 @@ function Copy <tr> <td><pre> -virtual void draw(int X, int Y, int W, int H, int cx=0, int cy=0); +virtual void draw(int X, int Y, int W, int H, + int cx=0, int cy=0); </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> @@ -110,21 +194,24 @@ procedure Draw <td><pre> virtual void label(Fl_Widget *w); </pre></td> -<td> </td> +<td>Marked as obsolete.</td> </tr> <tr> <td><pre> virtual void label(Fl_Menu_Item *m); </pre></td> -<td> </td> +<td>Marked as obsolete.</td> </tr> <tr> <td><pre> virtual void uncache(); </pre></td> -<td> </td> +<td><pre> +procedure Uncache + (This : in out Bitmap); +</pre></td> </tr> </table> diff --git a/doc/fl_bmp_image.html b/doc/fl_bmp_image.html index dd0ce62..d1984d6 100644 --- a/doc/fl_bmp_image.html +++ b/doc/fl_bmp_image.html @@ -1,4 +1,3 @@ - <!DOCTYPE html> <html lang="en"> @@ -14,6 +13,9 @@ <h2>Fl_BMP_Image Binding Map</h2> +<a href="index.html">Back to Index</a> + + <table class="package"> <tr><th colspan="2">Package name</th></tr> @@ -44,7 +46,7 @@ <table class="function"> - <tr><th colspan="2">Functions and Procedures</th></tr> + <tr><th colspan="2">Constructors</th></tr> <tr> <td><pre> diff --git a/doc/fl_box.html b/doc/fl_box.html index 3f5c5f8..9c03de3 100644 --- a/doc/fl_box.html +++ b/doc/fl_box.html @@ -1,4 +1,3 @@ - <!DOCTYPE html> <html lang="en"> @@ -14,6 +13,9 @@ <h2>Fl_Box Binding Map</h2> +<a href="index.html">Back to Index</a> + + <table class="package"> <tr><th colspan="2">Package name</th></tr> @@ -21,6 +23,7 @@ <td>Fl_Box</td> <td>FLTK.Widgets.Boxes</td> </tr> + </table> @@ -37,26 +40,72 @@ <td> </td> <td>Box_Reference</td> </tr> + </table> <table class="function"> - <tr><th colspan="2">Functions and Procedures</th></tr> + <tr><th colspan="2">Constructors</th></tr> + + <tr> +<td><pre> +Fl_Box(Fl_Boxtype b, int X, int Y, int W, int H, const char *l); +</pre></td> +<td><pre> +function Create + (Kind : in Box_Kind; + X, Y, W, H : in Integer; + Text : in String := "") + return Box; +</pre></td> + </tr> + + <tr> +<td>Rely on the automatic use of begin when a group is created, or use begin/end +explicitly, or add each widget to its intended parent group manually.</td> +<td><pre> +function Create + (Parent : in out FLTK.Widgets.Groups.Group'Class; + Kind : in Box_Kind; + X, Y, W, H : in Integer; + Text : in String := "") + return Box; +</pre></td> + </tr> <tr> <td><pre> -Fl_Box (int X, int Y, int W, int H, const char *l=0); +Fl_Box(int X, int Y, int W, int H, const char *l=0); </pre></td> <td><pre> function Create (X, Y, W, H : in Integer; - Text : in String) + Text : in String := "") return Box; </pre></td> </tr> <tr> +<td>Rely on the automatic use of begin when a group is created, or use begin/end +explicitly, or add each widget to its intended parent group manually.</td> +<td><pre> +function Create + (Parent : in out FLTK.Widgets.Groups.Group'Class; + X, Y, W, H : in Integer; + Text : in String := "") + return Box; +</pre></td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Functions and Procedures</th></tr> + + <tr> <td><pre> virtual int handle(int); </pre></td> @@ -68,6 +117,13 @@ function Handle </pre></td> </tr> +</table> + + + +<table class="function"> + <tr><th colspan="2">Protected Functions and Procedures</th></tr> + <tr> <td><pre> void draw(); @@ -77,6 +133,7 @@ procedure Draw (This : in out Box); </pre></td> </tr> + </table> diff --git a/doc/fl_browser.html b/doc/fl_browser.html new file mode 100644 index 0000000..693d7c2 --- /dev/null +++ b/doc/fl_browser.html @@ -0,0 +1,779 @@ +<!DOCTYPE html> + +<html lang="en"> + <head> + <meta charset="utf-8"> + <title>Fl_Browser Binding Map</title> + <link href="map.css" rel="stylesheet"> + </head> + + <body> + + +<h2>Fl_Browser 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_Browser</td> + <td>FLTK.Widgets.Groups.Browsers.Textline</td> + </tr> + +</table> + + + +<table class="type"> + <tr><th colspan="2">Types</th></tr> + + <tr> + <td>Fl_Browser</td> + <td>Textline_Browser</td> + </tr> + + <tr> + <td> </td> + <td>Textline_Browser_Reference</td> + </tr> + + <tr> + <td>Fl_Line_Position</td> + <td>Line_Position</td> + </tr> + + <tr> + <td>const int *</td> + <td>Column_Widths</td> + </tr> + +</table> + + + +<table class="type"> + <tr><th colspan="2">Errors</th></tr> + + <tr> + <td>int</td> + <td>Browser_Load_Error</td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Constructors</th></tr> + + <tr> +<td><pre> +Fl_Browser(int X, int Y, int W, int H, const char *L=0); +</pre></td> +<td><pre> +function Create + (X, Y, W, H : in Integer; + Text : in String := "") + return Textline_Browser; +</pre></td> + </tr> + + <tr> +<td>Rely on the automatic use of begin when a group is created, or use begin/end +explicitly, or add each widget to its intended parent group manually.</td> +<td><pre> +function Create + (Parent : in out Groups.Group'Class; + X, Y, W, H : in Integer; + Text : in String := "") + return Textline_Browser; +</pre></td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Functions and Procedures</th></tr> + + <tr> +<td><pre> +void add(const char *newtext, void *d=0); +</pre></td> +<td><pre> +procedure Add + (This : in out Textline_Browser; + Text : in String); +</pre></td> + </tr> + + <tr> +<td><pre> +void bottomline(int line); +</pre></td> +<td><pre> +procedure Set_Bottom_Line + (This : in out Textline_Browser; + Line : in Positive); +</pre></td> + </tr> + + <tr> +<td><pre> +void clear(); +</pre></td> +<td><pre> +procedure Clear + (This : in out Textline_Browser); +</pre></td> + </tr> + + <tr> +<td><pre> +char column_char() const; +</pre></td> +<td><pre> +function Get_Column_Character + (This : in Textline_Browser) + return Character; +</pre></td> + </tr> + + <tr> +<td><pre> +void column_char(char c); +</pre></td> +<td><pre> +procedure Set_Column_Character + (This : in out Textline_Browser; + Value : in Character); +</pre></td> + </tr> + + <tr> +<td><pre> +const int * column_widths() const; +</pre></td> +<td><pre> +function Get_Column_Widths + (This : in Textline_Browser) + return Column_Widths; +</pre></td> + </tr> + + <tr> +<td><pre> +void column_widths(const int *arr); +</pre></td> +<td><pre> +procedure Set_Column_Widths + (This : in out Textline_Browser; + Widths : in Column_Widths); +</pre></td> + </tr> + + <tr> +<td><pre> +void * data(int line) const; +</pre></td> +<td>Not used.</td> + </tr> + + <tr> +<td><pre> +void data(int line, void *d); +</pre></td> +<td>Not used.</td> + </tr> + + <tr> +<td><pre> +void display(int line, int val=1); +</pre></td> +<td>Deprecated, see show / Show_Line and hide / Hide_Line.</td> + </tr> + + <tr> +<td><pre> +int displayed(int line) const; +</pre></td> +<td><pre> +function Is_Displayed + (This : in Textline_Browser; + Line : in Positive) + return Boolean; +</pre></td> + </tr> + + <tr> +<td><pre> +char format_char() const; +</pre></td> +<td><pre> +function Get_Format_Character + (This : in Textline_Browser) + return Character; +</pre></td> + </tr> + + <tr> +<td><pre> +void format_char(char c); +</pre></td> +<td><pre> +procedure Set_Format_Character + (This : in out Textline_Browser; + Value : in Character); +</pre></td> + </tr> + + <tr> +<td><pre> +void hide(); +</pre></td> +<td><pre> +procedure Hide + (This : in out Textline_Browser); +</pre></td> + </tr> + + <tr> +<td><pre> +void hide(int line); +</pre></td> +<td><pre> +procedure Hide_Line + (This : in out Textline_Browser; + Line : in Positive); +</pre></td> + </tr> + + <tr> +<td><pre> +Fl_Image * icon(int line) const; +</pre></td> +<td><pre> +function Has_Icon + (This : in Textline_Browser; + Line : in Positive) + return Boolean; + +function Get_Icon + (This : in Textline_Browser; + Line : in Positive) + return FLTK.Images.Image_Reference; +</pre></td> + </tr> + + <tr> +<td><pre> +void icon(int line, Fl_Image *icon); +</pre></td> +<td><pre> +procedure Set_Icon + (This : in out Textline_Browser; + Line : in Positive; + Icon : in FLTK.Images.Image'Class); +</pre></td> + </tr> + + <tr> +<td><pre> +void insert(int line, const char *newtext, void *d=0); +</pre></td> +<td><pre> +procedure Insert + (This : in out Textline_Browser; + Above : in Positive; + Text : in String); +</pre></td> + </tr> + + <tr> +<td><pre> +void lineposition(int line, Fl_Line_Position pos); +</pre></td> +<td><pre> +procedure Set_Line_Position + (This : in out Textline_Browser; + Line : in Positive; + Place : in Line_Position); +</pre></td> + </tr> + + <tr> +<td><pre> +int load(const char *filename); +</pre></td> +<td><pre> +procedure Load + (This : in out Textline_Browser; + File : in String); +</pre></td> + </tr> + + <tr> +<td><pre> +void make_visible(int line); +</pre></td> +<td><pre> +procedure Make_Visible + (This : in out Textline_Browser; + Line : in Positive); +</pre></td> + </tr> + + <tr> +<td><pre> +void middleline(int line); +</pre></td> +<td><pre> +procedure Set_Middle_Line + (This : in out Textline_Browser; + Line : in Positive); +</pre></td> + </tr> + + <tr> +<td><pre> +void move(int to, int from); +</pre></td> +<td><pre> +procedure Move + (This : in out Textline_Browser; + From, To : in Positive); +</pre></td> + </tr> + + <tr> +<td><pre> +void remove(int line); +</pre></td> +<td><pre> +procedure Remove + (This : in out Textline_Browser; + Line : in Positive); +</pre></td> + </tr> + + <tr> +<td><pre> +void remove_icon(int line); +</pre></td> +<td><pre> +procedure Remove_Icon + (This : in out Textline_Browser; + Line : in Positive); +</pre></td> + </tr> + + <tr> +<td><pre> +void replace(int a, const char *b); +</pre></td> +<td>Deprecated, see text / Set_Line_Text.</td> + </tr> + + <tr> +<td><pre> +int select(int line, int val=1); +</pre></td> +<td><pre> +function Set_Select + (This : in out Textline_Browser; + Line : in Positive; + State : in Boolean := True) + return Boolean; +</pre></td> + </tr> + + <tr> +<td><pre> +int selected(int line) const; +</pre></td> +<td><pre> +function Is_Selected + (This : in Textline_Browser; + Line : in Positive) + return Boolean; +</pre></td> + </tr> + + <tr> +<td><pre> +void show(); +</pre></td> +<td><pre> +procedure Show + (This : in out Textline_Browser); +</pre></td> + </tr> + + <tr> +<td><pre> +void show(int line); +</pre></td> +<td><pre> +procedure Show_Line + (This : in out Textline_Browser; + Line : in Positive); +</pre></td> + </tr> + + <tr> +<td><pre> +int size() const; +</pre></td> +<td><pre> +function Number_Of_Lines + (This : in Textline_Browser) + return Natural; +</pre></td> + </tr> + + <tr> +<td><pre> +void size(int W, int H); +</pre></td> +<td><pre> +procedure Resize + (This : in out Textline_Browser; + W, H : in Integer); +</pre></td> + </tr> + + <tr> +<td><pre> +void swap(int a, int b); +</pre></td> +<td><pre> +procedure Swap + (This : in out Textline_Browser; + A, B : in Positive); +</pre></td> + </tr> + + <tr> +<td><pre> +const char * text(int line) const; +</pre></td> +<td><pre> +function Get_Line_Text + (This : in Textline_Browser; + Line : in Positive) + return String; +</pre></td> + </tr> + + <tr> +<td><pre> +void text(int line, const char *newtext); +</pre></td> +<td><pre> +procedure Set_Line_Text + (This : in out Textline_Browser; + Line : in Positive; + Text : in String); +</pre></td> + </tr> + + <tr> +<td><pre> +Fl_Fontsize textsize() const; +</pre></td> +<td><pre> +function Get_Text_Size + (This : in Textline_Browser) + return Font_Size; +</pre></td> + </tr> + + <tr> +<td><pre> +void textsize(Fl_Fontsize newSize); +</pre></td> +<td><pre> +procedure Set_Text_Size + (This : in out Textline_Browser; + Size : in Font_Size); +</pre></td> + </tr> + + <tr> +<td><pre> +int topline() const; +</pre></td> +<td><pre> +function Get_Top_Line + (This : in Textline_Browser) + return Positive; +</pre></td> + </tr> + + <tr> +<td><pre> +void topline(int line); +</pre></td> +<td><pre> +procedure Set_Top_Line + (This : in out Textline_Browser; + Line : in Positive); +</pre></td> + </tr> + + <tr> +<td><pre> +int value() const; +</pre></td> +<td><pre> +function Selected_Index + (This : in Textline_Browser) + return Natural; +</pre></td> + </tr> + + <tr> +<td><pre> +void value(int line); +</pre></td> +<td><pre> +procedure Set_Select + (This : in out Textline_Browser; + Line : in Positive; + State : in Boolean := True); +</pre></td> + </tr> + + <tr> +<td><pre> +int visible(int line) const; +</pre></td> +<td><pre> +function Is_Visible + (This : in Textline_Browser; + Line : in Positive) + return Boolean; +</pre></td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Protected Functions and Procedures</th></tr> + + <tr> +<td><pre> +FL_BLINE * _remove(int line); +</pre></td> +<td>Intentionally left unbound.</td> + </tr> + + <tr> +<td><pre> +FL_BLINE * find_line(int line) const; +</pre></td> +<td>Intentionally left unbound.</td> + </tr> + + <tr> +<td><pre> +int full_height() const; +</pre></td> +<td><pre> +function Full_List_Height + (This : in Textline_Browser) + return Integer; +</pre></td> + </tr> + + <tr> +<td><pre> +int incr_height() const; +</pre></td> +<td><pre> +function Average_Item_Height + (This : in Textline_Browser) + return Integer; +</pre></td> + </tr> + + <tr> +<td><pre> +void insert(int line, FL_BLINE *item); +</pre></td> +<td>Intentionally left unbound.</td> + </tr> + + <tr> +<td><pre> +void * item_at(int line) const; +</pre></td> +<td><pre> +function Item_At + (This : in Textline_Browser; + Index : in Positive) + return Item_Cursor; +</pre></td> + </tr> + + <tr> +<td><pre> +void item_draw(void *item, int X, int Y, int W, int H) const; +</pre></td> +<td><pre> +procedure Item_Draw + (This : in Textline_Browser; + Item : in Item_Cursor; + X, Y, W, H : in Integer); +</pre></td> + </tr> + + <tr> +<td><pre> +void * item_first() const; +</pre></td> +<td><pre> +function Item_First + (This : in Textline_Browser) + return Item_Cursor; +</pre></td> + </tr> + + <tr> +<td><pre> +int item_height(void *item) const; +</pre></td> +<td><pre> +function Item_Height + (This : in Textline_Browser; + Item : in Item_Cursor) + return Integer; +</pre></td> + </tr> + + <tr> +<td><pre> +void * item_last() const; +</pre></td> +<td><pre> +function Item_Last + (This : in Textline_Browser) + return Item_Cursor; +</pre></td> + </tr> + + <tr> +<td><pre> +void * item_next(void *item) const; +</pre></td> +<td><pre> +function Item_Next + (This : in Textline_Browser; + Item : in Item_Cursor) + return Item_Cursor; +</pre></td> + </tr> + + <tr> +<td><pre> +void * item_prev(void *item) const; +</pre></td> +<td><pre> +function Item_Previous + (This : in Textline_Browser; + Item : in Item_Cursor) + return Item_Cursor; +</pre></td> + </tr> + + <tr> +<td><pre> +void item_select(void *item, int val); +</pre></td> +<td><pre> +procedure Item_Select + (This : in out Textline_Browser; + Item : in Item_Cursor; + State : in Boolean := True); +</pre></td> + </tr> + + <tr> +<td><pre> +int item_selected(void *item) const; +</pre></td> +<td><pre> +function Item_Selected + (This : in Textline_Browser; + Item : in Item_Cursor) + return Boolean; +</pre></td> + </tr> + + <tr> +<td><pre> +void item_swap(void *a, void *b); +</pre></td> +<td><pre> +procedure Item_Swap + (This : in out Textline_Browser; + A, B : in Item_Cursor); +</pre></td> + </tr> + + <tr> +<td><pre> +const char * item_text(void *item) const; +</pre></td> +<td><pre> +function Item_Text + (This : in Textline_Browser; + Item : in Item_Cursor) + return String; +</pre></td> + </tr> + + <tr> +<td><pre> +int item_width(void *item) const; +</pre></td> +<td><pre> +function Item_Width + (This : in Textline_Browser; + Item : in Item_Cursor) + return Integer; +</pre></td> + </tr> + + <tr> +<td><pre> +int lineno(void *item) const; +</pre></td> +<td><pre> +function Line_Number + (This : in Textline_Browser; + Item : in Item_Cursor) + return Natural; +</pre></td> + </tr> + + <tr> +<td><pre> +void swap(FL_BLINE *a, FL_BLINE *b); +</pre></td> +<td>Intentionally left unbound.</td> + </tr> + +</table> + + + </body> +</html> + diff --git a/doc/fl_browser_.html b/doc/fl_browser_.html new file mode 100644 index 0000000..a09e2e4 --- /dev/null +++ b/doc/fl_browser_.html @@ -0,0 +1,778 @@ +<!DOCTYPE html> + +<html lang="en"> + <head> + <meta charset="utf-8"> + <title>Fl_Browser_ Binding Map</title> + <link href="map.css" rel="stylesheet"> + </head> + + <body> + + +<h2>Fl_Browser_ 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_Browser_</td> + <td>FLTK.Widgets.Groups.Browsers</td> + </tr> + +</table> + +<p><b>Note:</b><br /><br /> +This Browser type should really be abstract but cannot be for technical binding reasons. +If you try to use it directly you will get exceptions. Either extend it or use types +already extended from it.</p> + + + +<table class="type"> + <tr><th colspan="2">Types</th></tr> + + <tr> + <td>Fl_Browser_</td> + <td>Browser</td> + </tr> + + <tr> + <td> </td> + <td>Browser_Reference</td> + </tr> + + <tr> + <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> + + <tr> + <td>void *</td> + <td>Item_Cursor</td> + </tr> + + <tr> + <td>int flags</td> + <td>Sort_Order</td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Attributes</th></tr> + + <tr> +<td><pre> +Fl_Scrollbar hscrollbar; +</pre></td> +<td><pre> +function H_Bar + (This : in out Browser) + return Valuators.Sliders.Scrollbars.Scrollbar_Reference; +</pre></td> + </tr> + + <tr> +<td><pre> +Fl_Scrollbar scrollbar; +</pre></td> +<td><pre> +function V_Bar + (This : in out Browser) + return Valuators.Sliders.Scrollbars.Scrollbar_Reference; +</pre></td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Constructors</th></tr> + + <tr> +<td><pre> +Fl_Browser_(int X, int Y, int W, int H, const char *L=0); +</pre></td> +<td><pre> +function Create + (X, Y, W, H : in Integer; + Text : in String := "") + return Browser; +</pre></td> + </tr> + + <tr> +<td>Rely on the automatic use of begin when a group is created, or use begin/end +explicitly, or add each widget to its intended parent group manually.</td> +<td><pre> +function Create + (Parent : in out Groups.Group'Class; + X, Y, W, H : in Integer; + Text : in String := "") + return Browser; +</pre></td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Functions and Procedures</th></tr> + + <tr> +<td><pre> +int deselect(int docallbacks=0); +</pre></td> +<td><pre> +function Deselect + (This : in out Browser; + Do_Callbacks : in Boolean := False) + return Boolean; + +procedure Deselect + (This : in out Browser; + Do_Callbacks : in Boolean := False); +</pre></td> + </tr> + + <tr> +<td><pre> +void display(void *item); +</pre></td> +<td><pre> +procedure Display + (This : in out Browser; + Item : in Item_Cursor); +</pre></td> + </tr> + + <tr> +<td><pre> +int handle(int event); +</pre></td> +<td><pre> +function Handle + (This : in out Browser; + Event : in Event_Kind) + return Event_Outcome; +</pre></td> + </tr> + + <tr> +<td><pre> +uchar has_scrollbar() const; +</pre></td> +<td><pre> +function Get_Scrollbar_Mode + (This : in Browser) + return Scrollbar_Mode; +</pre></td> + </tr> + + <tr> +<td><pre> +void has_scrollbar(uchar mode); +</pre></td> +<td><pre> +procedure Set_Scrollbar_Mode + (This : in out Browser; + Mode : in Scrollbar_Mode); +</pre></td> + </tr> + + <tr> +<td><pre> +int hposition() const; +</pre></td> +<td><pre> +function Get_H_Position + (This : in Browser) + return Integer; +</pre></td> + </tr> + + <tr> +<td><pre> +void hposition(int); +</pre></td> +<td><pre> +procedure Set_H_Position + (This : in out Browser; + Value : in Integer); +</pre></td> + </tr> + + <tr> +<td><pre> +int position() const; +</pre></td> +<td><pre> +function Get_V_Position + (This : in Browser) + return Integer; +</pre></td> + </tr> + + <tr> +<td><pre> +void position(int pos); +</pre></td> +<td><pre> +procedure Set_V_Position + (This : in out Browser; + Value : in Integer); +</pre></td> + </tr> + + <tr> +<td><pre> +void resize(int X, int Y, int W, int H); +</pre></td> +<td><pre> +procedure Resize + (This : in out Browser; + X, Y, W, H : in Integer); +</pre></td> + </tr> + + <tr> +<td><pre> +void scrollbar_left(); +</pre></td> +<td><pre> +procedure Set_Vertical_Left + (This : in out Browser); +</pre></td> + </tr> + + <tr> +<td><pre> +void scrollbar_right(); +</pre></td> +<td><pre> +procedure Set_Vertical_Right + (This : in out Browser); +</pre></td> + </tr> + + <tr> +<td><pre> +int scrollbar_size() const; +</pre></td> +<td><pre> +function Get_Scrollbar_Size + (This : in Browser) + return Integer; +</pre></td> + </tr> + + <tr> +<td><pre> +void scrollbar_size(int newSize); +</pre></td> +<td><pre> +procedure Set_Scrollbar_Size + (This : in out Browser; + Value : in Integer); +</pre></td> + </tr> + + <tr> +<td><pre> +int scrollbar_width() const; +</pre></td> +<td>Deprecated, see scrollbar_size / Get_Scrollbar_Size.</td> + </tr> + + <tr> +<td><pre> +void scrollbar_width(int width); +</pre></td> +<td>Deprecated, see scrollbar_size / Set_Scrollbar_Size.</td> + </tr> + + <tr> +<td><pre> +int select(void *item, int val=1, int docallbacks=0); +</pre></td> +<td><pre> +function Set_Select + (This : in out Browser; + Item : in Item_Cursor; + State : in Boolean := True; + Do_Callbacks : in Boolean := False) + return Boolean; + +procedure Set_Select + (This : in out Browser; + Item : in Item_Cursor; + State : in Boolean := True; + Do_Callbacks : in Boolean := False); +</pre></td> + </tr> + + <tr> +<td><pre> +int select_only(void *item, int docallbacks=0); +</pre></td> +<td><pre> +function Select_Only + (This : in out Browser; + Item : in Item_Cursor; + Do_Callbacks : in Boolean := False) + return Boolean; + +procedure Select_Only + (This : in out Browser; + Item : in Item_Cursor; + Do_Callbacks : in Boolean := False); +</pre></td> + </tr> + + <tr> +<td><pre> +void sort(int flags=0); +</pre></td> +<td><pre> +procedure Sort + (This : in out Browser; + Order : in Sort_Order); +</pre></td> + </tr> + + <tr> +<td><pre> +Fl_Color textcolor() const; +</pre></td> +<td><pre> +function Get_Text_Color + (This : in Browser) + return Color; +</pre></td> + </tr> + + <tr> +<td><pre> +void textcolor(Fl_Color col); +</pre></td> +<td><pre> +procedure Set_Text_Color + (This : in out Browser; + Value : in Color); +</pre></td> + </tr> + + <tr> +<td><pre> +Fl_Font textfont() const; +</pre></td> +<td><pre> +function Get_Text_Font + (This : in Browser) + return Font_Kind; +</pre></td> + </tr> + + <tr> +<td><pre> +void textfont(Fl_Font font); +</pre></td> +<td><pre> +procedure Set_Text_Font + (This : in out Browser; + Font : in Font_Kind); +</pre></td> + </tr> + + <tr> +<td><pre> +Fl_Fontsize textsize() const; +</pre></td> +<td><pre> +function Get_Text_Size + (This : in Browser) + return Font_Size; +</pre></td> + </tr> + + <tr> +<td><pre> +void textsize(Fl_Fontsize newSize); +</pre></td> +<td><pre> +procedure Set_Text_Size + (This : in out Browser; + Size : in Font_Size); +</pre></td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Protected Functions and Procedures</th></tr> + + <tr> +<td><pre> +void bbox(int &X, int &Y, int &W, int &H) const; +</pre></td> +<td><pre> +procedure Bounding_Box + (This : in Browser; + X, Y, W, H : out Integer); +</pre></td> + </tr> + + <tr> +<td><pre> +void deleting(void *item); +</pre></td> +<td><pre> +procedure Deleting + (This : in out Browser; + Item : in Item_Cursor); +</pre></td> + </tr> + + <tr> +<td><pre> +int displayed(void *item) const; +</pre></td> +<td><pre> +function Is_Displayed + (This : in Browser; + Item : in Item_Cursor) + return Boolean; +</pre></td> + </tr> + + <tr> +<td><pre> +void draw(); +</pre></td> +<td><pre> +procedure Draw + (This : in out Browser); +</pre></td> + </tr> + + <tr> +<td><pre> +void * find_item(int ypos); +</pre></td> +<td><pre> +function Find_Item + (This : in Browser; + Y_Pos : in Integer) + return Item_Cursor; +</pre></td> + </tr> + + <tr> +<td><pre> +virtual int full_height() const; +</pre></td> +<td><pre> +function Full_List_Height + (This : in Browser) + return Integer; +</pre></td> + </tr> + + <tr> +<td><pre> +virtual int full_width() const; +</pre></td> +<td><pre> +function Full_List_Width + (This : in Browser) + return Integer; +</pre></td> + </tr> + + <tr> +<td><pre> +virtual int incr_height() const; +</pre></td> +<td><pre> +function Average_Item_Height + (This : in Browser) + return Integer; +</pre></td> + </tr> + + <tr> +<td><pre> +void inserting(void *a, void *b); +</pre></td> +<td><pre> +procedure Inserting + (This : in out Browser; + A, B : in Item_Cursor); +</pre></td> + </tr> + + <tr> +<td><pre> +virtual void * item_at(int index) const; +</pre></td> +<td><pre> +function Item_At + (This : in Browser; + Index : in Positive) + return Item_Cursor; +</pre></td> + </tr> + + <tr> +<td><pre> +virtual void item_draw(void *item, + int X, int Y, int W, int H) const =0; +</pre></td> +<td><pre> +procedure Item_Draw + (This : in Browser; + Item : in Item_Cursor; + X, Y, W, H : in Integer); +</pre></td> + </tr> + + <tr> +<td><pre> +virtual void * item_first() const =0; +</pre></td> +<td><pre> +function Item_First + (This : in Browser) + return Item_Cursor; +</pre></td> + </tr> + + <tr> +<td><pre> +virtual int item_height(void *item) const =0; +</pre></td> +<td><pre> +function Item_Height + (This : in Browser; + Item : in Item_Cursor) + return Integer; +</pre></td> + </tr> + + <tr> +<td><pre> +virtual void * item_last() const; +</pre></td> +<td><pre> +function Item_Last + (This : in Browser) + return Item_Cursor; +</pre></td> + </tr> + + <tr> +<td><pre> +virtual void * item_next(void *item) const =0; +</pre></td> +<td><pre> +function Item_Next + (This : in Browser; + Item : in Item_Cursor) + return Item_Cursor; +</pre></td> + </tr> + + <tr> +<td><pre> +virtual void * item_prev(void *item) const =0; +</pre></td> +<td><pre> +function Item_Previous + (This : in Browser; + Item : in Item_Cursor) + return Item_Cursor; +</pre></td> + </tr> + + <tr> +<td><pre> +virtual int item_quick_height(void *item) const; +</pre></td> +<td><pre> +function Item_Quick_Height + (This : in Browser; + Item : in Item_Cursor) + return Integer; +</pre></td> + </tr> + + <tr> +<td><pre> +virtual void item_select(void *item, int val=1); +</pre></td> +<td><pre> +procedure Item_Select + (This : in out Browser; + Item : in Item_Cursor; + State : in Boolean := True); +</pre></td> + </tr> + + <tr> +<td><pre> +virtual int item_selected(void *item) const; +</pre></td> +<td><pre> +function Item_Selected + (This : in Browser; + Item : in Item_Cursor) + return Boolean; +</pre></td> + </tr> + + <tr> +<td><pre> +virtual void item_swap(void *a, void *b); +</pre></td> +<td><pre> +procedure Item_Swap + (This : in out Browser; + A, B : in Item_Cursor); +</pre></td> + </tr> + + <tr> +<td><pre> +virtual const char * item_text(void *item) const; +</pre></td> +<td><pre> +function Item_Text + (This : in Browser; + Item : in Item_Cursor) + return String; +</pre></td> + </tr> + + <tr> +<td><pre> +virtual int item_width(void *item) const =0; +</pre></td> +<td><pre> +function Item_Width + (This : in Browser; + Item : in Item_Cursor) + return Integer; +</pre></td> + </tr> + + <tr> +<td><pre> +int leftedge() const; +</pre></td> +<td><pre> +function Left_Edge + (This : in Browser) + return Integer; +</pre></td> + </tr> + + <tr> +<td><pre> +void new_list(); +</pre></td> +<td><pre> +procedure New_List + (This : in out Browser); +</pre></td> + </tr> + + <tr> +<td><pre> +void redraw_line(void *item); +</pre></td> +<td><pre> +procedure Redraw_Line + (This : in out Browser; + Item : in Item_Cursor); +</pre></td> + </tr> + + <tr> +<td><pre> +void redraw_lines(); +</pre></td> +<td><pre> +procedure Redraw_List + (This : in out Browser); +</pre></td> + </tr> + + <tr> +<td><pre> +void replacing(void *a, void *b); +</pre></td> +<td><pre> +procedure Replacing + (This : in out Browser; + A, B : in Item_Cursor); +</pre></td> + </tr> + + <tr> +<td><pre> +void * selection() const; +</pre></td> +<td><pre> +function Current_Selection + (This : in Browser) + return Item_Cursor; +</pre></td> + </tr> + + <tr> +<td><pre> +void swapping(void *a, void *b); +</pre></td> +<td><pre> +procedure Swapping + (This : in out Browser; + A, B : in Item_Cursor); +</pre></td> + </tr> + + <tr> +<td><pre> +void * top() const; +</pre></td> +<td><pre> +function Top_Item + (This : in Browser) + return Item_Cursor; +</pre></td> + </tr> + +</table> + + + + </body> +</html> + diff --git a/doc/fl_button.html b/doc/fl_button.html index be21c60..05838b5 100644 --- a/doc/fl_button.html +++ b/doc/fl_button.html @@ -1,4 +1,3 @@ - <!DOCTYPE html> <html lang="en"> @@ -14,6 +13,9 @@ <h2>Fl_Button Binding Map</h2> +<a href="index.html">Back to Index</a> + + <table class="package"> <tr><th colspan="2">Package name</th></tr> @@ -39,7 +41,7 @@ </tr> <tr> - <td> </td> + <td>int</td> <td>State</td> </tr> @@ -48,7 +50,21 @@ <table class="function"> - <tr><th colspan="2">Functions and Procedures</th></tr> + <tr><th colspan="2">Static Protected Attributes</th></tr> + + <tr> +<td><pre> +static Fl_Widget_Tracker * key_release_tracker = 0; +</pre></td> +<td>Intentionally left unbound.</td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Constructors</th></tr> <tr> <td><pre> @@ -57,16 +73,35 @@ Fl_Button(int X, int Y, int W, int H, const char *L=0); <td><pre> function Create (X, Y, W, H : in Integer; - Text : in String) + Text : in String := "") return Button; </pre></td> </tr> <tr> +<td>Rely on the automatic use of begin when a group is created, or use begin/end +explicitly, or add each widget to its intended parent group manually.</td> +<td><pre> +function Create + (Parent : in out FLTK.Widgets.Groups.Group'Class; + X, Y, W, H : in Integer; + Text : in String := "") + return Button; +</pre></td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Functions and Procedures</th></tr> + + <tr> <td><pre> int clear(); </pre></td> -<td>See int value();</td> +<td>See value / Set_State.</td> </tr> <tr> @@ -95,24 +130,14 @@ procedure Set_Down_Box <td><pre> Fl_Color down_color() const; </pre></td> -<td> </td> +<td>See selection_color / Get_Selection_Color from Fl_Widget.</td> </tr> <tr> <td><pre> void down_color(unsigned c); </pre></td> -<td> </td> - </tr> - - <tr> -<td><pre> -virtual void draw(); -</pre></td> -<td><pre> -procedure Draw - (This : in out Button); -</pre></td> +<td>See selection_color / Set_Selection_Color from Fl_Widget.</td> </tr> <tr> @@ -131,7 +156,7 @@ function Handle <td><pre> int set(); </pre></td> -<td>See int value();</td> +<td>See value / Set_State.</td> </tr> <tr> @@ -151,7 +176,7 @@ int shortcut() const; <td><pre> function Get_Shortcut (This : in Button) - return Shortcut_Key; + return Key_Combo; </pre></td> </tr> @@ -162,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> @@ -170,7 +195,7 @@ procedure Set_Shortcut <td><pre> void shortcut(const char *s); </pre></td> -<td>See void shortcut(int s);</td> +<td>See shortcut / Set_Shortcut.</td> </tr> <tr> @@ -189,6 +214,10 @@ procedure Set_State char value() const; </pre></td> <td><pre> +function Is_On + (This : in Button) + return Boolean; + function Get_State (This : in Button) return State; @@ -198,6 +227,47 @@ function Get_State </table> + +<table class="function"> + <tr><th colspan="2">Static Protected Functions and Procedures</th></tr> + + <tr> +<td><pre> +static void key_release_timeout(void *); +</pre></td> +<td>Intentionally left unbound.</td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Protected Functions and Procedures</th></tr> + + <tr> +<td><pre> +virtual void draw(); +</pre></td> +<td><pre> +procedure Draw + (This : in out Button); +</pre></td> + </tr> + + <tr> +<td><pre> +void simulate_key_action(); +</pre></td> +<td><pre> +procedure Simulate_Key_Action + (This : in out Button); +</pre></td> + </tr> + +</table> + + </body> </html> diff --git a/doc/fl_cairo_window.html b/doc/fl_cairo_window.html new file mode 100644 index 0000000..fe696fd --- /dev/null +++ b/doc/fl_cairo_window.html @@ -0,0 +1,162 @@ +<!DOCTYPE html> + +<html lang="en"> + <head> + <meta charset="utf-8"> + <title>Fl_Cairo_Window Binding Map</title> + <link href="map.css" rel="stylesheet"> + </head> + + <body> + + +<h2>Fl_Cairo_Window 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_Cairo_Window</td> + <td>FLTK.Widgets.Groups.Windows.Double.Cairo</td> + </tr> + +</table> + + + +<table class="type"> + <tr><th colspan="2">Types</th></tr> + + <tr> + <td>Fl_Cairo_Window</td> + <td>Cairo_Window</td> + </tr> + + <tr> + <td> </td> + <td>Cairo_Window_Reference</td> + </tr> + + <tr> + <td>cairo_draw_cb</td> + <td>Cairo_Callback</td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Constructors</th></tr> + + <tr> +<td><pre> +Fl_Cairo_Window(int w, int h); +</pre></td> +<td><pre> +function Create + (W, H : in Integer) + return Cairo_Window; +</pre></td> + </tr> + + <tr> +<td>Rely on the automatic use of begin when a group is created, or use begin/end +explicitly, or add each widget to its intended parent group manually.</td> +<td><pre> +function Create + (Parent : in out Groups.Group'Class; + W, H : in Integer) + return Cairo_Window; +</pre></td> + </tr> + + <tr> +<td>Create a Fl_Cairo_Window and set the label manually.</td> +<td><pre> +function Create + (W, H : in Integer; + Text : in String) + return Cairo_Window; +</pre></td> + </tr> + + <tr> +<td>Rely on the automatic use of begin when a group is created, or use begin/end +explicitly, or add each widget to its intended parent group manually.</td> +<td><pre> +function Create + (Parent : in out Groups.Group'Class; + W, H : in Integer; + Text : in String) + return Cairo_Window; +</pre></td> + </tr> + + <tr> +<td>Create a Fl_Cairo_Window and set the label and X,Y coords manually.</td> +<td><pre> +function Create + (X, Y, W, H : in Integer; + Text : in String := "") + return Cairo_Window; +</pre></td> + </tr> + + <tr> +<td>Rely on the automatic use of begin when a group is created, or use begin/end +explicitly, or add each widget to its intended parent group manually.</td> +<td><pre> +function Create + (Parent : in out Groups.Group'Class; + X, Y, W, H : in Integer; + Text : in String := "") + return Cairo_Window; +</pre></td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Functions and Procedures</th></tr> + + <tr> +<td><pre> +void set_draw_cb(cairo_draw_cb cb); +</pre></td> +<td><pre> +procedure Set_Cairo_Draw + (This : in out Cairo_Window; + Func : in Cairo_Callback); +</pre></td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Protected Functions and Procedures</th></tr> + + <tr> +<td><pre> +void draw(); +</pre></td> +<td><pre> +procedure Draw + (This : in out Cairo_Window); +</pre></td> + </tr> + +</table> + + + </body> +</html> + diff --git a/doc/fl_chart.html b/doc/fl_chart.html index a9041e7..95277fe 100644 --- a/doc/fl_chart.html +++ b/doc/fl_chart.html @@ -1,4 +1,3 @@ - <!DOCTYPE html> <html lang="en"> @@ -14,6 +13,9 @@ <h2>Fl_Chart Binding Map</h2> +<a href="index.html">Back to Index</a> + + <table class="package"> <tr><th colspan="2">Package name</th></tr> @@ -44,7 +46,7 @@ <table class="function"> - <tr><th colspan="2">Functions and Procedures</th></tr> + <tr><th colspan="2">Constructors</th></tr> <tr> <td><pre> @@ -53,12 +55,31 @@ Fl_Chart(int X, int Y, int W, int H, const char *L=0); <td><pre> function Create (X, Y, W, H : in Integer; - Text : in String) + Text : in String := "") return Chart; </pre></td> </tr> <tr> +<td>Rely on the automatic use of begin when a group is created, or use begin/end +explicitly, or add each widget to its intended parent group manually.</td> +<td><pre> +function Create + (Parent : in out FLTK.Widgets.Groups.Group'Class; + X, Y, W, H : in Integer; + Text : in String := "") + return Chart; +</pre></td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Functions and Procedures</th></tr> + + <tr> <td><pre> void add(double val, const char *str=0, unsigned col=0); </pre></td> @@ -127,26 +148,6 @@ procedure Clear <tr> <td><pre> -void draw(); -</pre></td> -<td><pre> -procedure Draw - (This : in out Chart); -</pre></td> - </tr> - - <tr> -<td> </td> -<td><pre> -function Handle - (This : in out Chart; - Event : in Event_Kind) - return Event_Outcome; -</pre></td> - </tr> - - <tr> -<td><pre> void insert(int ind, double val, const char *str=0, unsigned col=0); </pre></td> <td><pre> @@ -286,6 +287,23 @@ procedure Set_Text_Size </table> + +<table class="function"> + <tr><th colspan="2">Protected Functions and Procedures</th></tr> + + <tr> +<td><pre> +void draw(); +</pre></td> +<td><pre> +procedure Draw + (This : in out Chart); +</pre></td> + </tr> + +</table> + + </body> </html> diff --git a/doc/fl_check_browser.html b/doc/fl_check_browser.html new file mode 100644 index 0000000..58d0913 --- /dev/null +++ b/doc/fl_check_browser.html @@ -0,0 +1,336 @@ +<!DOCTYPE html> + +<html lang="en"> + <head> + <meta charset="utf-8"> + <title>Fl_Check_Browser Binding Map</title> + <link href="map.css" rel="stylesheet"> + </head> + + <body> + + +<h2>Fl_Check_Browser 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_Check_Browser</td> + <td>FLTK.Widgets.Groups.Browsers.Check</td> + </tr> + +</table> + + + +<table class="type"> + <tr><th colspan="2">Types</th></tr> + + <tr> + <td>Fl_Check_Browser</td> + <td>Check_Browser</td> + </tr> + + <tr> + <td> </td> + <td>Check_Browser_Reference</td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Constructors</th></tr> + + <tr> +<td><pre> +Fl_Check_Browser(int x, int y, int w, int h, const char *l=0); +</pre></td> +<td><pre> +function Create + (X, Y, W, H : in Integer; + Text : in String := "") + return Check_Browser; +</pre></td> + </tr> + + <tr> +<td>Rely on the automatic use of begin when a group is created, or use begin/end +explicitly, or add each widget to its intended parent group manually.</td> +<td><pre> +function Create + (Parent : in out Groups.Group'Class; + X, Y, W, H : in Integer; + Text : in String := "") + return Check_Browser; +</pre></td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Functions and Procedures</th></tr> + + <tr> +<td><pre> +int add(char *s); + +int add(char *s, int b); + +int add(const char *s); + +int add(const char *s, int b); +</pre></td> +<td><pre> +procedure Add + (This : in out Check_Browser; + Text : in String; + Checked : in Boolean := False); +</pre></td> + </tr> + + <tr> +<td><pre> +void check_all(); +</pre></td> +<td><pre> +procedure Check_All + (This : in out Check_Browser); +</pre></td> + </tr> + + <tr> +<td><pre> +void check_none(); +</pre></td> +<td><pre> +procedure Check_None + (This : in out Check_Browser); +</pre></td> + </tr> + + <tr> +<td><pre> +int checked(int item) const; +</pre></td> +<td><pre> +function Is_Checked + (This : in Check_Browser; + Index : in Positive) + return Boolean; +</pre></td> + </tr> + + <tr> +<td><pre> +void checked(int item, int b); +</pre></td> +<td><pre> +procedure Set_Checked + (This : in out Check_Browser; + Index : in Positive; + State : in Boolean := True); +</pre></td> + </tr> + + <tr> +<td><pre> +void clear(); +</pre></td> +<td><pre> +procedure Clear + (This : in out Check_Browser); +</pre></td> + </tr> + + <tr> +<td><pre> +int nchecked() const; +</pre></td> +<td><pre> +function Number_Checked + (This : in Check_Browser) + return Natural; +</pre></td> + </tr> + + <tr> +<td><pre> +int nitems() const; +</pre></td> +<td><pre> +function Number_Of_Items + (This : in Check_Browser) + return Natural; +</pre></td> + </tr> + + <tr> +<td><pre> +int remove(int item); +</pre></td> +<td><pre> +procedure Remove + (This : in out Check_Browser; + Index : in Positive); +</pre></td> + </tr> + + <tr> +<td><pre> +void set_checked(int item); +</pre></td> +<td>See checked / Set_Checked.</td> + </tr> + + <tr> +<td><pre> +char * text(int item) const; +</pre></td> +<td><pre> +function Item_Text + (This : in Check_Browser; + Index : in Positive) + return String; +</pre></td> + </tr> + + <tr> +<td><pre> +int value() const; +</pre></td> +<td><pre> +function Selected_Index + (This : in Check_Browser) + return Positive; +</pre></td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Protected Functions and Procedures</th></tr> + + <tr> +<td><pre> +int handle(int); +</pre></td> +<td><pre> +function Handle + (This : in out Check_Browser; + Event : in Event_Kind) + return Event_Outcome; +</pre></td> + </tr> + + <tr> +<td><pre> +void item_draw(void *, int, int, int, int) const; +</pre>(Actually private in 1.3)</td> +<td><pre> +procedure Item_Draw + (This : in Check_Browser; + Item : in Item_Cursor; + X, Y, W, H : in Integer); +</pre></td> + </tr> + + <tr> +<td><pre> +void * item_first() const; +</pre>(Actually private in 1.3)</td> +<td><pre> +function Item_First + (This : in Check_Browser) + return Item_Cursor; +</pre></td> + </tr> + + <tr> +<td><pre> +int item_height(void *) const; +</pre>(Actually private in 1.3)</td> +<td><pre> +function Item_Height + (This : in Check_Browser; + Item : in Item_Cursor) + return Integer; +</pre></td> + </tr> + + <tr> +<td><pre> +void * item_next(void *) const; +</pre>(Actually private in 1.3)</td> +<td><pre> +function Item_Next + (This : in Check_Browser; + Item : in Item_Cursor) + return Item_Cursor; +</pre></td> + </tr> + + <tr> +<td><pre> +void * item_prev(void *) const; +</pre>(Actually private in 1.3)</td> +<td><pre> +function Item_Previous + (This : in Check_Browser; + Item : in Item_Cursor) + return Item_Cursor; +</pre></td> + </tr> + + <tr> +<td><pre> +void item_select(void *, int); +</pre>(Actually private in 1.3)</td> +<td><pre> +procedure Item_Select + (This : in out Check_Browser; + Item : in Item_Cursor; + State : in Boolean := True); +</pre></td> + </tr> + + <tr> +<td><pre> +int item_selected(void *) const; +</pre>(Actually private in 1.3)</td> +<td><pre> +function Item_Selected + (This : in Check_Browser; + Item : in Item_Cursor) + return Boolean; +</pre></td> + </tr> + + <tr> +<td><pre> +int item_width(void *) const; +</pre>(Actually private in 1.3)</td> +<td><pre> +function Item_Width + (This : in Check_Browser; + Item : in Item_Cursor) + return Integer; +</pre></td> + </tr> + +</table> + + + </body> +</html> + diff --git a/doc/fl_check_button.html b/doc/fl_check_button.html index 22405bd..ad1aa5c 100644 --- a/doc/fl_check_button.html +++ b/doc/fl_check_button.html @@ -1,4 +1,3 @@ - <!DOCTYPE html> <html lang="en"> @@ -14,6 +13,9 @@ <h2>Fl_Check_Button Binding Map</h2> +<a href="index.html">Back to Index</a> + + <table class="package"> <tr><th colspan="2">Package name</th></tr> @@ -43,7 +45,7 @@ <table class="function"> - <tr><th colspan="2">Functions and Procedures</th></tr> + <tr><th colspan="2">Constructors</th></tr> <tr> <td><pre> @@ -52,26 +54,20 @@ Fl_Check_Button(int X, int Y, int W, int H, const char *L=0); <td><pre> function Create (X, Y, W, H : in Integer; - Text : in String) + Text : in String := "") return Check_Button; </pre></td> </tr> <tr> -<td> </td> -<td><pre> -procedure Draw - (This : in out Check_Button); -</pre></td> - </tr> - - <tr> -<td> </td> +<td>Rely on the automatic use of begin when a group is created, or use begin/end +explicitly, or add each widget to its intended parent group manually.</td> <td><pre> -function Handle - (This : in out Check_Button; - Event : in Event_Kind) - return Event_Outcome; +function Create + (Parent : in out FLTK.Widgets.Groups.Group'Class; + X, Y, W, H : in Integer; + Text : in String := "") + return Check_Button; </pre></td> </tr> diff --git a/doc/fl_choice.html b/doc/fl_choice.html index 34b8778..5d4b3d9 100644 --- a/doc/fl_choice.html +++ b/doc/fl_choice.html @@ -1,4 +1,3 @@ - <!DOCTYPE html> <html lang="en"> @@ -14,6 +13,9 @@ <h2>Fl_Choice Binding Map</h2> +<a href="index.html">Back to Index</a> + + <table class="package"> <tr><th colspan="2">Package name</th></tr> @@ -44,7 +46,7 @@ <table class="function"> - <tr><th colspan="2">Functions and Procedures</th></tr> + <tr><th colspan="2">Constructors</th></tr> <tr> <td><pre> @@ -53,21 +55,30 @@ Fl_Choice(int X, int Y, int W, int H, const char *L=0); <td><pre> function Create (X, Y, W, H : in Integer; - Text : in String) + Text : in String := "") return Choice; </pre></td> </tr> <tr> +<td>Rely on the automatic use of begin when a group is created, or use begin/end +explicitly, or add each widget to its intended parent group manually.</td> <td><pre> -void draw(); -</pre></td> -<td><pre> -procedure Draw - (This : in out Choice); +function Create + (Parent : in out FLTK.Widgets.Groups.Group'Class; + X, Y, W, H : in Integer; + Text : in String := "") + return Choice; </pre></td> </tr> +</table> + + + +<table class="function"> + <tr><th colspan="2">Functions and Procedures</th></tr> + <tr> <td><pre> int handle(int); @@ -81,22 +92,29 @@ function Handle </tr> <tr> -<td> </td> <td><pre> -function Chosen +int value() const; +</pre></td> +<td><pre> +function Chosen_Index (This : in Choice) - return FLTK.Menu_Items.Menu_Item_Reference; + return Extended_Index; </pre></td> </tr> <tr> <td><pre> -int value() const; +int value(const Fl_Menu_Item *v); </pre></td> <td><pre> -function Chosen_Index - (This : in Choice) - return Extended_Index; +procedure Set_Chosen + (This : in out Choice; + Item : in FLTK.Menu_Items.Menu_Item); + +function Set_Chosen + (This : in out Choice; + Item : in FLTK.Menu_Items.Menu_Item) + return Boolean; </pre></td> </tr> @@ -108,17 +126,28 @@ int value(int v); procedure Set_Chosen (This : in out Choice; Place : in Index); + +function Set_Chosen + (This : in out Choice; + Place : in Index) + return Boolean; </pre></td> </tr> +</table> + + + +<table class="function"> + <tr><th colspan="2">Protected Functions and Procedures</th></tr> + <tr> <td><pre> -int value(const Fl_Menu_Item *v); +void draw(); </pre></td> <td><pre> -procedure Set_Chosen - (This : in out Choice; - Item : in FLTK.Menu_Items.Menu_Item); +procedure Draw + (This : in out Choice); </pre></td> </tr> diff --git a/doc/fl_clock.html b/doc/fl_clock.html index 5e37577..311f993 100644 --- a/doc/fl_clock.html +++ b/doc/fl_clock.html @@ -1,4 +1,3 @@ - <!DOCTYPE html> <html lang="en"> @@ -14,6 +13,9 @@ <h2>Fl_Clock Binding Map</h2> +<a href="index.html">Back to Index</a> + + <table class="package"> <tr><th colspan="2">Package name</th></tr> @@ -43,7 +45,7 @@ <table class="function"> - <tr><th colspan="2">Functions and Procedures</th></tr> + <tr><th colspan="2">Constructors</th></tr> <tr> <td><pre> @@ -52,7 +54,19 @@ Fl_Clock(int X, int Y, int W, int H, const char *L=0); <td><pre> function Create (X, Y, W, H : in Integer; - Text : in String) + Text : in String := "") + return Updated_Clock; +</pre></td> + </tr> + + <tr> +<td>Rely on the automatic use of begin when a group is created, or use begin/end +explicitly, or add each widget to its intended parent group manually.</td> +<td><pre> +function Create + (Parent : in out FLTK.Widgets.Groups.Group'Class; + X, Y, W, H : in Integer; + Text : in String := "") return Updated_Clock; </pre></td> </tr> @@ -65,27 +79,30 @@ Fl_Clock(uchar t, int X, int Y, int W, int H, const char *L); function Create (Kind : in Box_Kind; X, Y, W, H : in Integer; - Text : in String) + Text : in String := "") return Updated_Clock; </pre></td> </tr> <tr> -<td> </td> +<td>Rely on the automatic use of begin when a group is created, or use begin/end +explicitly, or add each widget to its intended parent group manually.</td> <td><pre> -procedure Draw - (This : in out Updated_Clock); +function Create + (Parent : in out FLTK.Widgets.Groups.Group'Class; + Kind : in Box_Kind; + X, Y, W, H : in Integer; + Text : in String := "") + return Updated_Clock; </pre></td> </tr> - <tr> -<td> </td> -<td><pre> -procedure Draw - (This : in out Clock; - X, Y, W, H : in Integer); -</pre></td> - </tr> +</table> + + + +<table class="function"> + <tr><th colspan="2">Functions and Procedures</th></tr> <tr> <td><pre> diff --git a/doc/fl_clock_output.html b/doc/fl_clock_output.html index 92aaf37..7cce93b 100644 --- a/doc/fl_clock_output.html +++ b/doc/fl_clock_output.html @@ -1,4 +1,3 @@ - <!DOCTYPE html> <html lang="en"> @@ -14,6 +13,9 @@ <h2>Fl_Clock_Output Binding Map</h2> +<a href="index.html">Back to Index</a> + + <table class="package"> <tr><th colspan="2">Package name</th></tr> @@ -39,22 +41,22 @@ </tr> <tr> - <td> </td> + <td>int</td> <td>Hour</td> </tr> <tr> - <td> </td> + <td>int</td> <td>Minute</td> </tr> <tr> - <td> </td> + <td>int</td> <td>Second</td> </tr> <tr> - <td> </td> + <td>ulong</td> <td>Time_Value</td> </tr> @@ -63,7 +65,7 @@ <table class="function"> - <tr><th colspan="2">Functions and Procedures</th></tr> + <tr><th colspan="2">Constructors</th></tr> <tr> <td><pre> @@ -72,41 +74,29 @@ Fl_Clock_Output(int X, int Y, int W, int H, const char *L=0); <td><pre> function Create (X, Y, W, H : in Integer; - Text : in String) + Text : in String := "") return Clock; </pre></td> </tr> <tr> +<td>Rely on the automatic use of begin when a group is created, or use begin/end +explicitly, or add each widget to its intended parent group manually.</td> <td><pre> -void draw(); -</pre></td> -<td><pre> -procedure Draw - (This : in out Clock); +function Create + (Parent : in out FLTK.Widgets.Groups.Group'Class; + X, Y, W, H : in Integer; + Text : in String := "") + return Clock; </pre></td> </tr> - <tr> -<td><pre> -void draw(int X, int Y, int W, int H); -</pre></td> -<td><pre> -procedure Draw - (This : in out Clock; - X, Y, W, H : in Integer); -</pre></td> - </tr> +</table> + - <tr> -<td> </td> -<td><pre> -function Handle - (This : in out Clock; - Event : in Event_Kind) - return Event_Outcome; -</pre></td> - </tr> + +<table class="function"> + <tr><th colspan="2">Functions and Procedures</th></tr> <tr> <td><pre> @@ -179,6 +169,34 @@ function Get_Time </table> + +<table class="function"> + <tr><th colspan="2">Protected Functions and Procedures</th></tr> + + <tr> +<td><pre> +void draw(); +</pre></td> +<td><pre> +procedure Draw + (This : in out Clock); +</pre></td> + </tr> + + <tr> +<td><pre> +void draw(int X, int Y, int W, int H); +</pre></td> +<td><pre> +procedure Draw + (This : in out Clock; + X, Y, W, H : in Integer); +</pre></td> + </tr> + +</table> + + </body> </html> diff --git a/doc/fl_color_chooser.html b/doc/fl_color_chooser.html index 66a14a7..67ae2c8 100644 --- a/doc/fl_color_chooser.html +++ b/doc/fl_color_chooser.html @@ -1,4 +1,3 @@ - <!DOCTYPE html> <html lang="en"> @@ -14,6 +13,9 @@ <h2>Fl_Color_Chooser Binding Map</h2> +<a href="index.html">Back to Index</a> + + <table class="package"> <tr><th colspan="2">Package name</th></tr> @@ -24,6 +26,9 @@ </table> +<p><b>Note:</b><br /><br /> +See Fl_Ask for related symbols that are not members of the Fl_Color_Chooser class.</p> + <table class="type"> @@ -40,7 +45,7 @@ </tr> <tr> - <td> </td> + <td>int</td> <td>Color_Mode</td> </tr> @@ -49,7 +54,7 @@ <table class="function"> - <tr><th colspan="2">Functions and Procedures</th></tr> + <tr><th colspan="2">Constructors</th></tr> <tr> <td><pre> @@ -58,65 +63,80 @@ Fl_Color_Chooser(int X, int Y, int W, int H, const char *L=0); <td><pre> function Create (X, Y, W, H : in Integer; - Text : in String) + Text : in String := "") return Color_Chooser; </pre></td> </tr> <tr> +<td>Rely on the automatic use of begin when a group is created, or use begin/end +explicitly, or add each widget to its intended parent group manually.</td> <td><pre> -double b() const; -</pre></td> -<td><pre> -function Get_Blue - (This : in Color_Chooser) - return Long_Float; +function Create + (Parent : in out Groups.Group'Class; + X, Y, W, H : in Integer; + Text : in String := "") + return Color_Chooser; </pre></td> </tr> +</table> + + + +<table class="function"> + <tr><th colspan="2">Static Functions and Procedures</th></tr> + <tr> -<td> </td> <td><pre> -function Color_Was_Changed - (This : in Color_Chooser) - return Boolean; +static void hsv2rgb(double H, double S, double V, + double &R, double &G, double &B); </pre></td> - </tr> - - <tr> -<td> </td> <td><pre> -procedure Clear_Changed - (This : in out Color_Chooser); +procedure HSV_To_RGB + (H, S, V : in Long_Float; + R, G, B : out Long_Float); </pre></td> </tr> <tr> -<td> </td> <td><pre> -procedure Draw - (This : in out Color_Chooser); +static void rgb2hsv(double R, double G, double B, + double &H, double &S, double &V); +</pre></td> +<td><pre> +procedure RGB_To_HSV + (R, G, B : in Long_Float; + H, S, V : out Long_Float); </pre></td> </tr> +</table> + + + +<table class="function"> + <tr><th colspan="2">Functions and Procedures</th></tr> + <tr> <td><pre> -double g() const; +double b() const; </pre></td> <td><pre> -function Get_Green +function Get_Blue (This : in Color_Chooser) return Long_Float; </pre></td> </tr> <tr> -<td> </td> <td><pre> -function Handle - (This : in out Color_Chooser; - Event : in Event_Kind) - return Event_Outcome; +double g() const; +</pre></td> +<td><pre> +function Get_Green + (This : in Color_Chooser) + return Long_Float; </pre></td> </tr> @@ -128,6 +148,11 @@ int hsv(double H, double S, double V); procedure Set_HSV (This : in out Color_Chooser; H, S, V : in Long_Float); + +function Set_HSV + (This : in out Color_Chooser; + H, S, V : in Long_Float) + return Boolean; </pre></td> </tr> @@ -183,6 +208,11 @@ int rgb(double R, double G, double B); procedure Set_RGB (This : in out Color_Chooser; R, G, B : in Long_Float); + +function Set_RGB + (This : in out Color_Chooser; + R, G, B : in Long_Float) + return Boolean; </pre></td> </tr> @@ -208,28 +238,6 @@ function Get_Value </pre></td> </tr> - <tr> -<td><pre> -static void hsv2rgb(double H, double S, double V, double &R, double &G, double &B); -</pre></td> -<td><pre> -procedure HSV_To_RGB - (H, S, V : in Long_Float; - R, G, B : out Long_Float); -</pre></td> - </tr> - - <tr> -<td><pre> -static void rgb2hsv(double R, double G, double B, double &H, double &S, double &V); -</pre></td> -<td><pre> -procedure RGB_To_HSV - (R, G, B : in Long_Float; - H, S, V : out Long_Float); -</pre></td> - </tr> - </table> diff --git a/doc/fl_copy_surface.html b/doc/fl_copy_surface.html index 2fc1451..8dee54e 100644 --- a/doc/fl_copy_surface.html +++ b/doc/fl_copy_surface.html @@ -1,4 +1,3 @@ - <!DOCTYPE html> <html lang="en"> @@ -14,12 +13,15 @@ <h2>Fl_Copy_Surface 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_Copy_Surface</td> - <td>FLTK.Devices.Surfaces.Copy</td> + <td>FLTK.Devices.Surface.Copy</td> </tr> </table> @@ -44,7 +46,21 @@ <table class="function"> - <tr><th colspan="2">Functions and Procedures</th></tr> + <tr><th colspan="2">Static Attributes</th></tr> + + <tr> +<td><pre> +static const char * class_id = "Fl_Copy_Surface"; +</pre></td> +<td>Deprecated, use runtime tag checks instead.</td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Constructors</th></tr> <tr> <td><pre> @@ -57,11 +73,18 @@ function Create </pre></td> </tr> +</table> + + + +<table class="function"> + <tr><th colspan="2">Functions and Procedures</th></tr> + <tr> <td><pre> const char * class_name(); </pre></td> -<td> </td> +<td>Deprecated, use runtime tag checks instead.</td> </tr> <tr> @@ -78,7 +101,8 @@ procedure Draw_Widget <tr> <td><pre> -void draw_decorated_window(Fl_Window *win, int delta_x=0, int delta_y=0); +void draw_decorated_window(Fl_Window *win, int delta_x=0, + int delta_y=0); </pre></td> <td><pre> procedure Draw_Decorated_Window diff --git a/doc/fl_counter.html b/doc/fl_counter.html index fce7fa4..fbd6eb3 100644 --- a/doc/fl_counter.html +++ b/doc/fl_counter.html @@ -1,4 +1,3 @@ - <!DOCTYPE html> <html lang="en"> @@ -14,6 +13,9 @@ <h2>Fl_Counter Binding Map</h2> +<a href="index.html">Back to Index</a> + + <table class="package"> <tr><th colspan="2">Package name</th></tr> @@ -39,12 +41,17 @@ <td>Counter_Reference</td> </tr> + <tr> + <td>uchar</td> + <td>Counter_Kind</td> + </tr> + </table> <table class="function"> - <tr><th colspan="2">Functions and Procedures</th></tr> + <tr><th colspan="2">Constructors</th></tr> <tr> <td><pre> @@ -53,21 +60,30 @@ Fl_Counter(int X, int Y, int W, int H, const char *L=0); <td><pre> function Create (X, Y, W, H : in Integer; - Text : in String) + Text : in String := "") return Counter; </pre></td> </tr> <tr> +<td>Rely on the automatic use of begin when a group is created, or use begin/end +explicitly, or add each widget to its intended parent group manually.</td> <td><pre> -void draw(); -</pre></td> -<td><pre> -procedure Draw - (This : in out Counter); +function Create + (Parent : in out FLTK.Widgets.Groups.Group'Class; + X, Y, W, H : in Integer; + Text : in String := "") + return Counter; </pre></td> </tr> +</table> + + + +<table class="function"> + <tr><th colspan="2">Functions and Procedures</th></tr> + <tr> <td><pre> int handle(int); @@ -81,6 +97,15 @@ function Handle </tr> <tr> +<td>Keep manual track of whatever you set lstep to.</td> +<td><pre> +function Get_Long_Step + (This : in Counter) + return Long_Float; +</pre></td> + </tr> + + <tr> <td><pre> void lstep(double a); </pre></td> @@ -92,19 +117,14 @@ procedure Set_Long_Step </tr> <tr> -<td> </td> <td><pre> -function Get_Long_Step - (This : in Counter) - return Long_Float; +double step() const; </pre></td> - </tr> - - <tr> <td><pre> -void step(double a, double b); +function Get_Step + (This : in Counter) + return Long_Float; </pre></td> -<td> </td> </tr> <tr> @@ -112,7 +132,7 @@ void step(double a, double b); void step(double a); </pre></td> <td><pre> -procedure Set_Step +procedure Set_Step_Top (This : in out Counter; To : in Long_Float); </pre></td> @@ -120,12 +140,12 @@ procedure Set_Step <tr> <td><pre> -double step() const; +void step(double a, double b); </pre></td> <td><pre> -function Get_Step - (This : in Counter) - return Long_Float; +procedure Set_Step_Both + (This : in out Counter; + Short, Long : in Long_Float); </pre></td> </tr> @@ -195,6 +215,41 @@ procedure Set_Text_Size </pre></td> </tr> + <tr> +<td>See type method for Fl_Widget.</td> +<td><pre> +function Get_Kind + (This : in out Counter) + return Counter_Kind; +</pre></td> + </tr> + + <tr> +<td>See type method for Fl_Widget.</td> +<td><pre> +procedure Set_Kind + (This : in out Counter; + Value : in Counter_Kind); +</pre></td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Protected Functions and Procedures</th></tr> + + <tr> +<td><pre> +void draw(); +</pre></td> +<td><pre> +procedure Draw + (This : in out Counter); +</pre></td> + </tr> + </table> diff --git a/doc/fl_device.html b/doc/fl_device.html index 5e62da8..11db2e6 100644 --- a/doc/fl_device.html +++ b/doc/fl_device.html @@ -1,4 +1,3 @@ - <!DOCTYPE html> <html lang="en"> @@ -14,6 +13,9 @@ <h2>Fl_Device Binding Map</h2> +<a href="index.html">Back to Index</a> + + <table class="package"> <tr><th colspan="2">Package name</th></tr> @@ -34,6 +36,39 @@ <td>Device</td> </tr> + <tr> + <td> </td> + <td>Device_Reference</td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Static Attributes</th></tr> + + <tr> +<td><pre> +static const char * class_id = "Fl_Device"; +</pre></td> +<td>Deprecated, use runtime tag checks instead.</td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Functions and Procedures</th></tr> + + <tr> +<td><pre> +virtual const char * class_name(); +</pre></td> +<td>Deprecated, use runtime tag checks instead.</td> + </tr> + </table> diff --git a/doc/fl_dial.html b/doc/fl_dial.html index 9c54e4b..0b3fc45 100644 --- a/doc/fl_dial.html +++ b/doc/fl_dial.html @@ -1,4 +1,3 @@ - <!DOCTYPE html> <html lang="en"> @@ -14,6 +13,9 @@ <h2>Fl_Dial Binding Map</h2> +<a href="index.html">Back to Index</a> + + <table class="package"> <tr><th colspan="2">Package name</th></tr> @@ -40,7 +42,7 @@ </tr> <tr> - <td> </td> + <td>uchar</td> <td>Dial_Kind</td> </tr> @@ -49,7 +51,7 @@ <table class="function"> - <tr><th colspan="2">Functions and Procedures</th></tr> + <tr><th colspan="2">Constructors</th></tr> <tr> <td><pre> @@ -58,12 +60,31 @@ Fl_Dial(int x, int y, int w, int h, const char *l=0); <td><pre> function Create (X, Y, W, H : in Integer; - Text : in String) + Text : in String := "") return Dial; </pre></td> </tr> <tr> +<td>Rely on the automatic use of begin when a group is created, or use begin/end +explicitly, or add each widget to its intended parent group manually.</td> +<td><pre> +function Create + (Parent : in out FLTK.Widgets.Groups.Group'Class; + X, Y, W, H : in Integer; + Text : in String := "") + return Dial; +</pre></td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Functions and Procedures</th></tr> + + <tr> <td><pre> short angle1() const; </pre></td> @@ -120,16 +141,6 @@ procedure Set_Angles <tr> <td><pre> -void draw(); -</pre></td> -<td><pre> -procedure Draw - (This : in out Dial); -</pre></td> - </tr> - - <tr> -<td><pre> int handle(int); </pre></td> <td><pre> @@ -141,18 +152,18 @@ function Handle </tr> <tr> -<td>See type() methods for Fl_Widget</td> +<td>See type method for Fl_Widget.</td> <td><pre> -function Get_Dial_Type +function Get_Kind (This : in Dial) return Dial_Kind; </pre></td> </tr> <tr> -<td>See type() methods for Fl_Widget</td> +<td>See type method for Fl_Widget.</td> <td><pre> -procedure Set_Dial_Type +procedure Set_Kind (This : in out Dial; To : in Dial_Kind); </pre></td> @@ -161,6 +172,47 @@ procedure Set_Dial_Type </table> + +<table class="function"> + <tr><th colspan="2">Protected Functions and Procedures</th></tr> + + <tr> +<td><pre> +void draw(); +</pre></td> +<td><pre> +procedure Draw + (This : in out Dial); +</pre></td> + </tr> + + <tr> +<td><pre> +void draw(int X, int Y, int W, int H); +</pre></td> +<td><pre> +procedure Draw + (This : in out Dial; + X, Y, W, H : in Integer); +</pre></td> + </tr> + + <tr> +<td><pre> +int handle(int event, int X, int Y, int W, int H); +</pre></td> +<td><pre> +function Handle + (This : in out Dial; + Event : in Event_Kind; + X, Y, W, H : in Integer) + return Event_Outcome; +</pre></td> + </tr> + +</table> + + </body> </html> diff --git a/doc/fl_display_device.html b/doc/fl_display_device.html new file mode 100644 index 0000000..cd4e27d --- /dev/null +++ b/doc/fl_display_device.html @@ -0,0 +1,112 @@ +<!DOCTYPE html> + +<html lang="en"> + <head> + <meta charset="utf-8"> + <title>Fl_Display_Device Binding Map</title> + <link href="map.css" rel="stylesheet"> + </head> + + <body> + + +<h2>Fl_Display_Device 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_Display_Device</td> + <td>FLTK.Devices.Surface.Display</td> + </tr> + +</table> + + + +<table class="type"> + <tr><th colspan="2">Types</th></tr> + + <tr> + <td>Fl_Display_Device</td> + <td>Display_Device</td> + </tr> + + <tr> + <td> </td> + <td>Display_Device_Reference</td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Static Attributes</th></tr> + + <tr> +<td><pre> +static const char * class_id = "Fl_Display_Device"; +</pre></td> +<td>Deprecated, use runtime tag checks instead.</td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Constructors</th></tr> + + <tr> +<td><pre> +Fl_Display_Device(Fl_Graphics_Driver *graphics_driver); +</pre></td> +<td><pre> +function Create + (Graphics : in out FLTK.Devices.Graphics.Graphics_Driver) + return Display_Device; +</pre></td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Static Functions and Procedures</th></tr> + + <tr> +<td><pre> +static Fl_Display_Device * display_device(); +</pre></td> +<td><pre> +function Get_Platform_Display + return Display_Device_Reference; +</pre></td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Functions and Procedures</th></tr> + + <tr> +<td><pre> +const char * class_name(); +</pre></td> +<td>Deprecated, use runtime tag checks instead.</td> + </tr> + +</table> + + + </body> +</html> + diff --git a/doc/fl_double_window.html b/doc/fl_double_window.html index cc8a75b..355761c 100644 --- a/doc/fl_double_window.html +++ b/doc/fl_double_window.html @@ -1,4 +1,3 @@ - <!DOCTYPE html> <html lang="en"> @@ -14,6 +13,9 @@ <h2>Fl_Double_Window Binding Map</h2> +<a href="index.html">Back to Index</a> + + <table class="package"> <tr><th colspan="2">Package name</th></tr> @@ -37,14 +39,28 @@ <tr> <td> </td> <td>Double_Window_Reference</td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Protected Attributes</th></tr> + <tr> +<td><pre> +char force_doublebuffering_; +</pre></td> +<td>Intentionally left unbound.</td> + </tr> </table> <table class="function"> - <tr><th colspan="2">Functions and Procedures</th></tr> + <tr><th colspan="2">Constructors</th></tr> <tr> <td><pre> @@ -53,7 +69,19 @@ Fl_Double_Window(int W, int H, const char *L=0); <td><pre> function Create (W, H : in Integer; - Text : in String) + Text : in String := "") + return Double_Window; +</pre></td> + </tr> + + <tr> +<td>Rely on the automatic use of begin when a group is created, or use begin/end +explicitly, or add each widget to its intended parent group manually.</td> +<td><pre> +function Create + (Parent : in out Groups.Group'Class; + W, H : in Integer; + Text : in String := "") return Double_Window; </pre></td> </tr> @@ -65,19 +93,30 @@ Fl_Double_Window(int X, int Y, int W, int H, const char *L=0); <td><pre> function Create (X, Y, W, H : in Integer; - Text : in String) + Text : in String := "") return Double_Window; </pre></td> </tr> <tr> -<td> </td> +<td>Rely on the automatic use of begin when a group is created, or use begin/end +explicitly, or add each widget to its intended parent group manually.</td> <td><pre> -procedure Draw - (This : in out Double_Window); +function Create + (Parent : in out Groups.Group'Class; + X, Y, W, H : in Integer; + Text : in String := "") + return Double_Window; </pre></td> </tr> +</table> + + + +<table class="function"> + <tr><th colspan="2">Functions and Procedures</th></tr> + <tr> <td><pre> void flush(); @@ -89,16 +128,6 @@ procedure Flush </tr> <tr> -<td> </td> -<td><pre> -function Handle - (This : in out Double_Window; - Event : in Event_Kind) - return Event_Outcome; -</pre></td> - </tr> - - <tr> <td><pre> void hide(); </pre></td> @@ -112,7 +141,11 @@ procedure Hide <td><pre> void resize(int,int,int,int); </pre></td> -<td> </td> +<td><pre> +procedure Resize + (This : in out Double_Window; + X, Y, W, H : in Integer); +</pre></td> </tr> <tr> @@ -129,7 +162,27 @@ procedure Show <td><pre> void show(int a, char **b); </pre></td> -<td> </td> +<td><pre> +procedure Show_With_Args + (This : in out Double_Window); +</pre></td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Protected Functions and Procedures</th></tr> + + <tr> +<td><pre> +void flush(int eraseoverlay); +</pre></td> +<td><pre> +procedure Flush_All + (This : in out Double_Window); +</pre></td> </tr> </table> diff --git a/doc/fl_draw.html b/doc/fl_draw.html new file mode 100644 index 0000000..aca154a --- /dev/null +++ b/doc/fl_draw.html @@ -0,0 +1,1288 @@ +<!DOCTYPE html> + +<html lang="en"> + <head> + <meta charset="utf-8"> + <title>Fl_Draw Binding Map</title> + <link href="map.css" rel="stylesheet"> + </head> + + <body> + + +<h2>Fl_Draw 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_Draw</td> + <td>FLTK.Draw</td> + </tr> + +</table> + + + +<table class="type"> + <tr><th colspan="2">Types</th></tr> + + <tr> + <td>int</td> + <td>Line_Kind</td> + </tr> + + <tr> + <td>int</td> + <td>Cap_Kind</td> + </tr> + + <tr> + <td>int</td> + <td>Join_Kind</td> + </tr> + + <tr> + <td>char</td> + <td>Dash_Length</td> + </tr> + + <tr> + <td>char *</td> + <td>Dash_Gap</td> + </tr> + + <tr> + <td>char *</td> + <td>Dash_Gap_Array</td> + </tr> + + <tr> + <td>Fl_Draw_Image_Cb</td> + <td>Image_Draw_Function</td> + </tr> + + <tr> + <td>void(*drawit)(Fl_Color)</td> + <td>Symbol_Draw_Function</td> + </tr> + + <tr> + <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>int</td> + <td>Draw_Error</td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Functions and Procedures</th></tr> + + <tr> +<td><pre> +int fl_add_symbol(const char *name, void(*drawit)(Fl_Color), + int scalable); +</pre></td> +<td><pre> +procedure Add_Symbol + (Text : in String; + Func : in Symbol_Draw_Function; + Scalable : in Boolean); +</pre></td> + </tr> + + <tr> +<td><pre> +void fl_arc(double x, double y, double r, double start, double end); +</pre></td> +<td><pre> +procedure Arc + (X, Y, R, Start, Finish : in Long_Float); +</pre></td> + </tr> + + <tr> +<td><pre> +void fl_arc(int x, int y, int w, int h, double a1, double a2); +</pre></td> +<td><pre> +procedure Arc + (X, Y, W, H : in Integer; + Start, Finish : in Long_Float); +</pre></td> + </tr> + + <tr> +<td><pre> +void fl_begin_complex_polygon(); +</pre></td> +<td><pre> +procedure Begin_Complex_Polygon; +</pre></td> + </tr> + + <tr> +<td><pre> +void fl_begin_line(); +</pre></td> +<td><pre> +procedure Begin_Line; +</pre></td> + </tr> + + <tr> +<td><pre> +void fl_begin_loop(); +</pre></td> +<td><pre> +procedure Begin_Loop; +</pre></td> + </tr> + + <tr> +<td><pre> +void fl_begin_points(); +</pre></td> +<td><pre> +procedure Begin_Points; +</pre></td> + </tr> + + <tr> +<td><pre> +void fl_begin_polygon(); +</pre></td> +<td><pre> +procedure Begin_Polygon; +</pre></td> + </tr> + + <tr> +<td><pre> +char fl_can_do_alpha_blending(); +</pre></td> +<td><pre> +function Can_Do_Alpha_Blending + return Boolean; +</pre></td> + </tr> + + <tr> +<td><pre> +void fl_chord(int x, int y, int w, int h, double a1, double a2); +</pre></td> +<td><pre> +procedure Chord + (X, Y, W, H : in Integer; + Angle1, Angle2 : in Long_Float); +</pre></td> + </tr> + + <tr> +<td><pre> +void fl_circle(double x, double y, double r); +</pre></td> +<td><pre> +procedure Circle + (X, Y, R : in Long_Float); +</pre></td> + </tr> + + <tr> +<td><pre> +int fl_clip_box(int x, int y, int w, int h, + int &X, int &Y, int &W, int &H); +</pre></td> +<td><pre> +function Clip_Box + (X, Y, W, H : in Integer; + BX, BY, BW, BH : out Integer) + return Boolean; +</pre></td> + </tr> + + <tr> +<td><pre> +Fl_Region fl_clip_region(); +</pre></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> + </tr> + + <tr> +<td><pre> +Fl_Color fl_color(); +</pre></td> +<td><pre> +function Get_Color + return Color; +</pre></td> + </tr> + + <tr> +<td><pre> +void fl_color(Fl_Color c); +</pre></td> +<td><pre> +procedure Set_Color + (To : in Color); +</pre></td> + </tr> + + <tr> +<td><pre> +void fl_color(int c); +</pre></td> +<td>Not applicable; original is deprecated.</td> + </tr> + + <tr> +<td><pre> +void fl_color(uchar r, uchar g, uchar b); +</pre></td> +<td><pre> +procedure Set_Color + (R, G, B : in Color_Component); +</pre></td> + </tr> + + <tr> +<td><pre> +void fl_cursor(Fl_Cursor); +</pre></td> +<td><pre> +procedure Set_Cursor + (To : in Mouse_Cursor); +</pre></td> + </tr> + + <tr> +<td><pre> +void fl_cursor(Fl_Cursor, Fl_Color fg, Fl_Color bg=FL_WHITE); +</pre></td> +<td><pre> +procedure Set_Cursor + (To : in Mouse_Cursor; + Fore : in Color; + Back : in Color := White_Color); +</pre></td> + </tr> + + <tr> +<td><pre> +void fl_curve(double X0, double Y0, double X1, double Y1, + double X2, double Y2, double X3, double Y3); +</pre></td> +<td><pre> +procedure Curve + (X0, Y0 : in Long_Float; + X1, Y1 : in Long_Float; + X2, Y2 : in Long_Float; + X3, Y3 : in Long_Float); +</pre></td> + </tr> + + <tr> +<td><pre> +int fl_descent(); +</pre></td> +<td><pre> +function Font_Descent + return Integer; +</pre></td> + </tr> + + <tr> +<td><pre> +void fl_draw(const char *str, int n, int x, int y); + +void fl_draw(const char *str, int x, int y); +</pre></td> +<td><pre> +procedure Draw_Text + (X, Y : in Integer; + Text : in String); +with Pre => Text'Length > 0; +</pre></td> + </tr> + + <tr> +<td><pre> +void fl_draw(const char *str, int x, int y, int w, int h, + Fl_Align align, Fl_Image *img=0, int draw_symbols=1); +</pre></td> +<td><pre> +procedure Draw_Text + (X, Y, W, H : in Integer; + Text : in String; + Align : in Alignment; + Symbols : in Boolean := True); + +procedure Draw_Text + (X, Y, W, H : in Integer; + Text : in String; + Align : in Alignment; + Picture : in FLTK.Images.Image'Class; + Symbols : in Boolean := True); +</pre></td> + </tr> + + <tr> +<td><pre> +void fl_draw(const char *str, int x, int y, int w, int h, + Fl_Align align, void (*callthis)(const char *, int, int, int), + Fl_Image *img=0, int draw_symbols=1); +</pre></td> +<td><pre> +procedure Draw_Text + (X, Y, W, H : in Integer; + Text : in String; + Align : in Alignment; + 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_Draw_Function; + Picture : in FLTK.Images.Image'Class; + Symbols : in Boolean := True); +</pre></td> + </tr> + + <tr> +<td><pre> +void fl_draw(int angle, const char *str, int n, int x, int y); + +void fl_draw(int angle, const char *str, int x, int y); +</pre></td> +<td><pre> +procedure Draw_Text + (X, Y : in Integer; + Text : in String; + Angle : in Integer); +</pre></td> + </tr> + + <tr> +<td><pre> +void fl_draw_box(Fl_Boxtype, int x, int y, int w, int h, Fl_Color); +</pre></td> +<td><pre> +procedure Draw_Box + (X, Y, W, H : in Integer; + Kind : in Box_Kind; + Hue : in Color); +</pre></td> + </tr> + + <tr> +<td><pre> +void fl_draw_image(const uchar *buf, int X, int Y, + int W, int H, int D=3, int L=0); +</pre></td> +<td><pre> +procedure Draw_Image + (X, Y, W, H : in Integer; + Data : in Color_Component_Array; + Depth : in Positive := 3; + Line_Size : in Natural := 0; + Flip_Horizontal : 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> + + <tr> +<td><pre> +void fl_draw_image(Fl_Draw_Image_Cb cb, void *data, + int X, int Y, int W, int H, int D=3); +</pre></td> +<td><pre> +procedure Draw_Image + (X, Y, W, H : in Integer; + Callback : in Image_Draw_Function; + Depth : in Positive := 3); +</pre></td> + </tr> + + <tr> +<td><pre> +void fl_draw_image_mono(const uchar *buf, int X, int Y, + int W, int H, int D=1, int L=0); +</pre></td> +<td><pre> +procedure Draw_Image_Mono + (X, Y, W, H : in Integer; + Data : in Color_Component_Array; + Depth : in Positive := 1; + Line_Size : in Natural := 0; + Flip_Horizontal : 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> + + <tr> +<td><pre> +void fl_draw_image_mono(Fl_Draw_Image_Cb cb, void *data, + int X, int Y, int W, int H, int D=1); +</pre></td> +<td><pre> +procedure Draw_Image_Mono + (X, Y, W, H : in Integer; + Callback : in Image_Draw_Function; + Depth : in Positive := 1); +</pre></td> + </tr> + + <tr> +<td><pre> +int fl_draw_pixmap(char * const *data, int x, int y, + Fl_Color=FL_GRAY); + +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> + + <tr> +<td><pre> +int fl_draw_symbol(const char *label, int x, int y, + int w, int h, Fl_Color); +</pre></td> +<td><pre> +procedure Draw_Symbol + (X, Y, W, H : in Integer; + Name : in String; + Hue : in Color); +</pre></td> + </tr> + + <tr> +<td><pre> +void fl_end_complex_polygon(); +</pre></td> +<td><pre> +procedure End_Complex_Polygon; +</pre></td> + </tr> + + <tr> +<td><pre> +void fl_end_line(); +</pre></td> +<td><pre> +procedure End_Line; +</pre></td> + </tr> + + <tr> +<td><pre> +void fl_end_loop(); +</pre></td> +<td><pre> +procedure End_Loop; +</pre></td> + </tr> + + <tr> +<td><pre> +void fl_end_points(); +</pre></td> +<td><pre> +procedure End_Points; +</pre></td> + </tr> + + <tr> +<td><pre> +void fl_end_polygon(); +</pre></td> +<td><pre> +procedure End_Polygon; +</pre></td> + </tr> + + <tr> +<td><pre> +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> + + <tr> +<td><pre> +Fl_Font fl_font(); +</pre></td> +<td><pre> +function Get_Font + return Font_Kind; +</pre></td> + </tr> + + <tr> +<td><pre> +void fl_font(Fl_Font face, Fl_Fontsize fsize); +</pre></td> +<td><pre> +procedure Set_Font + (Kind : in Font_Kind; + Size : in Font_Size); +</pre></td> + </tr> + + <tr> +<td><pre> +void fl_frame(const char *s, int x, int y, int w, int h); + +void fl_frame2(const char *s, int x, int y, int w, int h); +</pre></td> +<td><pre> +procedure Frame + (X, Y, W, H : in Integer; + Top, Left, Bottom, Right : in Greyscale); +</pre></td> + </tr> + + <tr> +<td><pre> +void fl_gap(); +</pre></td> +<td><pre> +procedure Gap; +</pre></td> + </tr> + + <tr> +<td><pre> +int fl_height(); +</pre></td> +<td><pre> +function Font_Line_Spacing + return Integer; +</pre></td> + </tr> + + <tr> +<td><pre> +int fl_height(int font, int size); +</pre></td> +<td><pre> +function Font_Height + (Kind : in Font_Kind; + Size : in Font_Size) + return Natural; +</pre></td> + </tr> + + <tr> +<td><pre> +const char * fl_latin1_to_local(const char *t, int n=-1); +</pre></td> +<td><pre> +function Latin1_To_Local + (From : in String) + return String; +</pre></td> + </tr> + + <tr> +<td><pre> +void fl_line(int x, int y, int x1, int y1); +</pre></td> +<td><pre> +procedure Line + (X0, Y0 : in Integer; + X1, Y1 : in Integer); +</pre></td> + </tr> + + <tr> +<td><pre> +void fl_line(int x, int y, int x1, int y1, int x2, int y2); +</pre></td> +<td><pre> +procedure Line + (X0, Y0 : in Integer; + X1, Y1 : in Integer; + X2, Y2 : in Integer); +</pre></td> + </tr> + + <tr> +<td><pre> +void fl_line_style(int style, int width=0, char *dashes=0); +</pre></td> +<td><pre> +procedure Set_Line_Style + (Line : in Line_Kind := Solid_Line; + Cap : in Cap_Kind := Default_Cap; + Join : in Join_Kind := Default_Join; + Width : in Natural := 0; + Dashes : in Dash_Gap_Array := Empty_Dashes); +</pre></td> + </tr> + + <tr> +<td><pre> +const char * fl_local_to_latin1(const char *t, int n=-1); +</pre></td> +<td><pre> +function Local_To_Latin1 + (From : in String) + return String; +</pre></td> + </tr> + + <tr> +<td><pre> +const char * fl_local_to_mac_roman(const char *t, int n=-1); +</pre></td> +<td><pre> +function Local_To_Mac_Roman + (From : in String) + return String; +</pre></td> + </tr> + + <tr> +<td><pre> +void fl_loop(int x, int y, int x1, int y1, int x2, int y2); +</pre></td> +<td><pre> +procedure Outline + (X0, Y0 : in Integer; + X1, Y1 : in Integer; + X2, Y2 : in Integer); +</pre></td> + </tr> + + <tr> +<td><pre> +void fl_loop(int x, int y, int x1, int y1, + int x2, int y2, int x3, int y3); +</pre></td> +<td><pre> +procedure Outline + (X0, Y0 : in Integer; + X1, Y1 : in Integer; + X2, Y2 : in Integer; + X3, Y3 : in Integer); +</pre></td> + </tr> + + <tr> +<td><pre> +const char * fl_mac_roman_to_local(const char *t, int n=-1); +</pre></td> +<td><pre> +function Mac_Roman_To_Local + (From : in String) + return String; +</pre></td> + </tr> + + <tr> +<td><pre> +void fl_measure(const char *str, int &x, int &y, int draw_symbols=1); +</pre></td> +<td><pre> +procedure Measure + (Text : in String; + W, H : out Natural; + Symbols : in Boolean := True; + Wrap : in Natural := 0); +</pre></td> + </tr> + + <tr> +<td><pre> +int fl_measure_pixmap(char *const *data, int &w, int &h); + +int fl_measure_pixmap(const char *const *cdata, int &w, int &h); +</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> +<td><pre> +void fl_mult_matrix(double a, double b, double c, double d, + double x, double y); +</pre></td> +<td><pre> +procedure Mult_Matrix + (A, B, C, D, X, Y : in Long_Float); +</pre></td> + </tr> + + <tr> +<td><pre> +int fl_not_clipped(int x, int y, int w, int h); +</pre></td> +<td><pre> +function Clip_Intersects + (X, Y, W, H : in Integer) + return Boolean; +</pre></td> + </tr> + + <tr> +<td><pre> +unsigned int fl_old_shortcut(const char *s); +</pre></td> +<td>Not applicable; original is legacy.</td> + </tr> + + <tr> +<td><pre> +void fl_overlay_clear(); +</pre></td> +<td><pre> +procedure Overlay_Clear(); +</pre></td> + </tr> + + <tr> +<td><pre> +void fl_overlay_rect(int x, int y, int w, int h); +</pre></td> +<td><pre> +procedure Overlay_Rect + (X, Y, W, H : in Integer); +</pre></td> + </tr> + + <tr> +<td><pre> +void fl_pie(int x, int y, int w, int h, double a1, double a2); +</pre></td> +<td><pre> +procedure Pie + (X, Y, W, H : in Integer; + Angle1, Angle2 : in Long_Float); +</pre></td> + </tr> + + <tr> +<td><pre> +void fl_point(int x, int y); +</pre></td> +<td><pre> +procedure Point + (X, Y : in Integer); +</pre></td> + </tr> + + <tr> +<td><pre> +void fl_polygon(int x, int y, int x1, int y1, int x2, int y2); +</pre></td> +<td><pre> +procedure Polygon + (X0, Y0 : in Integer; + X1, Y1 : in Integer; + X2, Y2 : in Integer); +</pre></td> + </tr> + + <tr> +<td><pre> +void fl_polygon(int x, int y, int x1, int y1, + int x2, int y2, int x3, int y3); +</pre></td> +<td><pre> +procedure Polygon + (X0, Y0 : in Integer; + X1, Y1 : in Integer; + X2, Y2 : in Integer; + X3, Y3 : in Integer); +</pre></td> + </tr> + + <tr> +<td><pre> +void fl_pop_clip(); +</pre></td> +<td><pre> +procedure Pop_Clip(); +</pre></td> + </tr> + + <tr> +<td><pre> +void fl_pop_matrix(); +</pre></td> +<td><pre> +procedure Pop_Matrix; +</pre></td> + </tr> + + <tr> +<td><pre> +void fl_push_clip(int x, int y, int w, int h); +</pre></td> +<td><pre> +procedure Push_Clip + (X, Y, W, H : in Integer); +</pre></td> + </tr> + + <tr> +<td><pre> +void fl_push_matrix(); +</pre></td> +<td><pre> +procedure Push_Matrix; +</pre></td> + </tr> + + <tr> +<td><pre> +void fl_push_no_clip(); +</pre></td> +<td><pre> +procedure Push_No_Clip; +</pre></td> + </tr> + + <tr> +<td><pre> +uchar * fl_read_image(uchar *p, int X, int Y, int W, int H, + int alpha=0); +</pre></td> +<td><pre> +function Read_Image + (X, Y, W, H : in Integer; + Alpha : in Integer := 0) + return Color_Component_Array +with Post => + (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> + + <tr> +<td><pre> +void fl_rect(int x, int y, int w, int h); +</pre></td> +<td><pre> +procedure Rect + (X, Y, W, H : in Integer); +</pre></td> + </tr> + + <tr> +<td><pre> +void fl_rect(int x, int y, int w, int h, Fl_Color c); +</pre></td> +<td><pre> +procedure Rect + (X, Y, W, H : in Integer; + Hue : in Color); +</pre></td> + </tr> + + <tr> +<td><pre> +void fl_rectf(int x, int y, int w, int h); +</pre></td> +<td><pre> +procedure Rect_Fill + (X, Y, W, H : in Integer); +</pre></td> + </tr> + + <tr> +<td><pre> +void fl_rectf(int x, int y, int w, int h, Fl_Color c); +</pre></td> +<td><pre> +procedure Rect_Fill + (X, Y, W, H : in Integer; + Hue : in Color); +</pre></td> + </tr> + + <tr> +<td><pre> +void fl_rectf(int x, int y, int w, int h, uchar r, uchar g, uchar b); +</pre></td> +<td><pre> +procedure Rect_Fill + (X, Y, W, H : in Integer; + R, G, B : in Color_Component); +</pre></td> + </tr> + + <tr> +<td><pre> +void fl_reset_spot(); +</pre></td> +<td><pre> +procedure Reset_Spot; +</pre></td> + </tr> + + <tr> +<td><pre> +void fl_restore_clip(); +</pre></td> +<td><pre> +procedure Restore_Clip; +</pre></td> + </tr> + + <tr> +<td><pre> +void fl_rotate(double d); +</pre></td> +<td><pre> +procedure Rotate + (Angle : in Long_Float); +</pre></td> + </tr> + + <tr> +<td><pre> +void fl_rtl_draw(const char *str, int n, int x, int y); +</pre></td> +<td><pre> +procedure Draw_Text_Right_Left + (X, Y : in Integer; + Text : in String); +</pre></td> + </tr> + + <tr> +<td><pre> +void fl_scale(double x); +</pre></td> +<td><pre> +procedure Scale + (Factor : in Long_Float); +</pre></td> + </tr> + + <tr> +<td><pre> +void fl_scale(double x, double y); +</pre></td> +<td><pre> +procedure Scale + (Factor_X, Factor_Y : in Long_Float); +</pre></td> + </tr> + + <tr> +<td><pre> +void fl_scroll(int X, int Y, int W, int H, int dx, int dy, + void(*draw_area)(void *, int, int, int, int), void *data); +</pre></td> +<td><pre> +procedure Scroll + (X, Y, W, H : in Integer; + DX, DY : in Integer; + Callback : in Area_Draw_Function); +</pre></td> + </tr> + + <tr> +<td><pre> +void fl_set_spot(int font, int size, int X, int Y, + int W, int H, Fl_Window *win=0); +</pre></td> +<td><pre> +procedure Set_Spot + (X, Y, W, H : in Integer; + Font : in Font_Kind; + Size : in Font_Size); + +procedure Set_Spot + (X, Y, W, H : in Integer; + Font : in Font_Kind; + Size : in Font_Size; + Pane : in FLTK.Widgets.Groups.Windows.Window'Class); +</pre></td> + </tr> + + <tr> +<td><pre> +void fl_set_status(int X, int Y, int W, int H); +</pre></td> +<td><pre> +procedure Set_Status + (X, Y, W, H : in Integer); +</pre></td> + </tr> + + <tr> +<td><pre> +const char * fl_shortcut_label(unsigned int shortcut); + +const char * fl_shortcut_label(unsigned int shortcut, + const char **eom); +</pre></td> +<td><pre> +function Shortcut_Label + (Keys : in Key_Combo) + return String; +</pre></td> + </tr> + + <tr> +<td><pre> +Fl_Fontsize fl_size(); +</pre></td> +<td><pre> +function Get_Font_Size + return Font_Size; +</pre></td> + </tr> + + <tr> +<td><pre> +void fl_text_extents(const char *, + int &dx, int &dy, int &w, int &h); + +void fl_text_extents(const char *t, int n, + int &dx, int &dy, int &w, int &h); +</pre></td> +<td><pre> +procedure Text_Extents + (Text : in String; + DX, DY, W, H : out Integer); +</pre></td> + </tr> + + <tr> +<td><pre> +double fl_transform_dx(double x, double y); +</pre></td> +<td><pre> +function Transform_DX + (X, Y : in Long_Float) + return Long_Float; +</pre></td> + </tr> + + <tr> +<td><pre> +double fl_transform_dy(double x, double y); +</pre></td> +<td><pre> +function Transform_DY + (X, Y : in Long_Float) + return Long_Float; +</pre></td> + </tr> + + <tr> +<td><pre> +double fl_transform_x(double x, double y); +</pre></td> +<td><pre> +function Transform_X + (X, Y : in Long_Float) + return Long_Float; +</pre></td> + </tr> + + <tr> +<td><pre> +double fl_transform_y(double x, double y); +</pre></td> +<td><pre> +function Transform_Y + (X, Y : in Long_Float) + return Long_Float; +</pre></td> + </tr> + + <tr> +<td><pre> +void fl_transformed_vertex(double xf, double yf); +</pre></td> +<td><pre> +procedure Transformed_Vertex + (XF, YF : in Long_Float); +</pre></td> + </tr> + + <tr> +<td><pre> +void fl_translate(double x, double y); +</pre></td> +<td><pre> +procedure Translate + (X, Y : in Long_Float); +</pre></td> + </tr> + + <tr> +<td><pre> +void fl_vertex(double x, double y); +</pre></td> +<td><pre> +procedure Vertex + (X, Y : in Long_Float); +</pre></td> + </tr> + + <tr> +<td><pre> +double fl_width(const char *txt); + +double fl_width(const char *txt, int n); +</pre></td> +<td><pre> +function Width + (Text : in String) + return Long_Float; +</pre></td> + </tr> + + <tr> +<td><pre> +double fl_width(unsigned int c); +</pre></td> +<td><pre> +function Width + (Glyph : in Character) + return Long_Float; + +function Width + (Glyph : in Wide_Character) + return Long_Float; + +function Width + (Glyph : in Wide_Wide_Character) + return Long_Float; +</pre></td> + </tr> + + <tr> +<td><pre> +void fl_xyline(int x, int y, int x1); +</pre></td> +<td><pre> +procedure Ecks_Why_Line + (X0, Y0, X1 : in Integer); +</pre></td> + </tr> + + <tr> +<td><pre> +void fl_xyline(int x, int y, int x1, int y2); +</pre></td> +<td><pre> +procedure Ecks_Why_Line + (X0, Y0, X1, Y2 : in Integer); +</pre></td> + </tr> + + <tr> +<td><pre> +void fl_xyline(int x, int y, int x1, int y2, int x3); +</pre></td> +<td><pre> +procedure Ecks_Why_Line + (X0, Y0, X1, Y2, X3 : in Integer); +</pre></td> + </tr> + + <tr> +<td><pre> +void fl_yxline(int x, int y, int y1); +</pre></td> +<td><pre> +procedure Why_Ecks_Line + (X0, Y0, Y1 : in Integer); +</pre></td> + </tr> + + <tr> +<td><pre> +void fl_yxline(int x, int y, int y1, int x2); +</pre></td> +<td><pre> +procedure Why_Ecks_Line + (X0, Y0, Y1, X2 : in Integer); +</pre></td> + </tr> + + <tr> +<td><pre> +void fl_yxline(int x, int y, int y1, int x2, int y3); +</pre></td> +<td><pre> +procedure Why_Ecks_Line + (X0, Y0, Y1, X2, Y3 : in Integer); +</pre></td> + </tr> + +</table> + + + </body> +</html> + diff --git a/doc/fl_file_browser.html b/doc/fl_file_browser.html new file mode 100644 index 0000000..2b70537 --- /dev/null +++ b/doc/fl_file_browser.html @@ -0,0 +1,271 @@ +<!DOCTYPE html> + +<html lang="en"> + <head> + <meta charset="utf-8"> + <title>Fl_File_Browser Binding Map</title> + <link href="map.css" rel="stylesheet"> + </head> + + <body> + + +<h2>Fl_File_Browser 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_File_Browser</td> + <td>FLTK.Widgets.Groups.Browsers.Textline.File</td> + </tr> + +</table> + + + +<table class="type"> + <tr><th colspan="2">Types</th></tr> + + <tr> + <td>Fl_File_Browser</td> + <td>File_Browser</td> + </tr> + + <tr> + <td> </td> + <td>File_Browser_Reference</td> + </tr> + + <tr> + <td>enum {FILES, DIRECTORIES}</td> + <td>File_Kind</td> + </tr> + + <tr> + <td>uchar</td> + <td>Icon_Size</td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Constructors</th></tr> + + <tr> +<td><pre> +Fl_File_Browser(int, int, int, int, const char *=0); +</pre></td> +<td><pre> +function Create + (X, Y, W, H : in Integer; + Text : in String := "") + return File_Browser; +</pre></td> + </tr> + + <tr> +<td>Rely on the automatic use of begin when a group is created, or use begin/end +explicitly, or add each widget to its intended parent group manually.</td> +<td><pre> +function Create + (Parent : in out Groups.Group'Class; + X, Y, W, H : in Integer; + Text : in String := "") + return File_Browser; +</pre></td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Functions and Procedures</th></tr> + + <tr> +<td><pre> +int filetype() const; +</pre></td> +<td><pre> +function Get_File_Kind + (This : in File_Browser) + return File_Kind; +</pre></td> + </tr> + + <tr> +<td><pre> +void filetype(int t); +</pre></td> +<td><pre> +procedure Set_File_Kind + (This : in out File_Browser; + Value : in File_Kind); +</pre></td> + </tr> + + <tr> +<td><pre> +const char * filter() const; +</pre></td> +<td><pre> +function Get_Filter + (This : in File_Browser) + return String; +</pre></td> + </tr> + + <tr> +<td><pre> +void filter(const char *pattern); +</pre></td> +<td><pre> +procedure Set_Filter + (This : in out File_Browser; + Value : in String); +</pre></td> + </tr> + + <tr> +<td><pre> +uchar iconsize() const; +</pre></td> +<td><pre> +function Get_Icon_Size + (This : in File_Browser) + return Icon_Size; +</pre></td> + </tr> + + <tr> +<td><pre> +void iconsize(uchar s); +</pre></td> +<td><pre> +procedure Set_Icon_Size + (This : in out File_Browser; + Value : in Icon_Size); +</pre></td> + </tr> + + <tr> +<td><pre> +int load(const char *directory, Fl_File_Sort_F + *sort=fl_numericsort); +</pre></td> +<td><pre> +function Load + (This : in out File_Browser; + Dir : in String; + Sort : in not null FLTK.Filenames.Compare_Function := + FLTK.Filenames.Numeric_Sort'Access) + return Natural; + +procedure Load + (This : in out File_Browser; + Dir : in String; + Sort : in not null FLTK.Filenames.Compare_Function := + FLTK.Filenames.Numeric_Sort'Access); +</pre></td> + </tr> + + <tr> +<td><pre> +Fl_Fontsize textsize() const; +</pre></td> +<td><pre> +function Get_Text_Size + (This : in File_Browser) + return Font_Size; +</pre></td> + </tr> + + <tr> +<td><pre> +void textsize(Fl_Fontsize s); +</pre></td> +<td><pre> +procedure Set_Text_Size + (This : in out File_Browser; + Size : in Font_Size); +</pre></td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Protected Functions and Procedures</th></tr> + + <tr> +<td><pre> +int full_height() const; +</pre>(Actually private in 1.3)</td> +<td><pre> +function Full_List_Height + (This : in File_Browser) + return Integer; +</pre></td> + </tr> + + <tr> +<td><pre> +int incr_height() const; +</pre>(Actually private in 1.3)</td> +<td><pre> +function Average_Item_Height + (This : in File_Browser) + return Integer; +</pre></td> + </tr> + + <tr> +<td><pre> +void item_draw(void *, int, int, int, int) const; +</pre>(Actually private in 1.3)</td> +<td><pre> +procedure Item_Draw + (This : in File_Browser; + Item : in Item_Cursor; + X, Y, W, H : in Integer); +</pre></td> + </tr> + + <tr> +<td><pre> +int item_height(void *) const; +</pre>(Actually private in 1.3)</td> +<td><pre> +function Item_Height + (This : in File_Browser; + Item : in Item_Cursor) + return Integer; +</pre></td> + </tr> + + <tr> +<td><pre> +int item_width(void *) const; +</pre>(Actually private in 1.3)</td> +<td><pre> +function Item_Width + (This : in File_Browser; + Item : in Item_Cursor) + return Integer; +</pre></td> + </tr> + +</table> + + + </body> +</html> + diff --git a/doc/fl_file_chooser.html b/doc/fl_file_chooser.html new file mode 100644 index 0000000..f186ca4 --- /dev/null +++ b/doc/fl_file_chooser.html @@ -0,0 +1,747 @@ +<!DOCTYPE html> + +<html lang="en"> + <head> + <meta charset="utf-8"> + <title>Fl_File_Chooser Binding Map</title> + <link href="map.css" rel="stylesheet"> + </head> + + <body> + + +<h2>Fl_File_Chooser 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_File_Chooser</td> + <td>FLTK.File_Choosers</td> + </tr> + +</table> + +<p><b>Note:</b><br /><br /> +See Fl_Ask for related symbols that are not members of the Fl_File_Chooser class.</p> + + + +<table class="type"> + <tr><th colspan="2">Types</th></tr> + + <tr> + <td>Fl_File_Chooser</td> + <td>File_Chooser</td> + </tr> + + <tr> + <td> </td> + <td>File_Chooser_Reference</td> + </tr> + + <tr> + <td>enum {<br /> + SINGLE = 0,<br /> + MULTI = 1,<br /> + CREATE = 2,<br /> + DIRECTORY = 4 }</td> + <td>Chooser_Kind</td> + </tr> + + <tr> + <td>void (*cb)(Fl_File_Chooser *, void *)</td> + <td>Chooser_Callback</td> + </tr> + + <tr> + <td>uchar</td> + <td>Icon_Size</td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Static Attributes</th></tr> + + <tr> +<td><pre> +static const char * add_favorites_label = "Add to Favorites"; +</pre></td> +<td><pre> +function Get_Add_Favorites_Label + return String; + +procedure Set_Add_Favorites_Label + (Value : in String); +</pre></td> + </tr> + + <tr> +<td><pre> +static const char * all_files_label = "All Files (*)"; +</pre></td> +<td><pre> +function Get_All_Files_Label + return String; + +procedure Set_All_Files_Label + (Value : in String); +</pre></td> + </tr> + + <tr> +<td><pre> +static const char * custom_filter_label = "Custom Filter"; +</pre></td> +<td><pre> +function Get_Custom_Filter_Label + return String; + +procedure Set_Custom_Filter_Label + (Value : in String); +</pre></td> + </tr> + + <tr> +<td><pre> +static const char * existing_file_label = + "Please choose an existing file!"; +</pre></td> +<td><pre> +function Get_Existing_File_Label + return String; + +procedure Set_Existing_File_Label + (Value : in String); +</pre></td> + </tr> + + <tr> +<td><pre> +static const char * favorites_label = "Favorites"; +</pre></td> +<td><pre> +function Get_Favorites_Label + return String; + +procedure Set_Favorites_Label + (Value : in String); +</pre></td> + </tr> + + <tr> +<td><pre> +static const char * filename_label = "Filename:"; +</pre></td> +<td><pre> +function Get_Filename_Label + return String; + +procedure Set_Filename_Label + (Value : in String); +</pre></td> + </tr> + + <tr> +<td><pre> +static const char * filesystems_label = "File Systems"; +</pre></td> +<td><pre> +function Get_Filesystems_Label + return String; + +procedure Set_Filesystems_Label + (Value : in String); +</pre></td> + </tr> + + <tr> +<td><pre> +static const char * hidden_label = "Show hidden files"; +</pre></td> +<td><pre> +function Get_Hidden_Label + return String; + +procedure Set_Hidden_Label + (Value : in String); +</pre></td> + </tr> + + <tr> +<td><pre> +static const char * manage_favorites_label = + "Manage Favorites"; +</pre></td> +<td><pre> +function Get_Manage_Favorites_Label + return String; + +procedure Set_Manage_Favorites_Label + (Value : in String); +</pre></td> + </tr> + + <tr> +<td><pre> +static const char * new_directory_label = "New Directory?"; +</pre></td> +<td><pre> +function Get_New_Directory_Label + return String; + +procedure Set_New_Directory_Label + (Value : in String); +</pre></td> + </tr> + + <tr> +<td><pre> +static const char * new_directory_tooltip = + "Create a new directory."; +</pre></td> +<td><pre> +function Get_New_Directory_Tooltip + return String; + +procedure Set_New_Directory_Tooltip + (Value : in String); +</pre></td> + </tr> + + <tr> +<td><pre> +static const char * preview_label = "Preview"; +</pre></td> +<td><pre> +function Get_Preview_Label + return String; + +procedure Set_Preview_Label + (Value : in String); +</pre></td> + </tr> + + <tr> +<td><pre> +static const char * save_label = "Save"; +</pre></td> +<td><pre> +function Get_Save_Label + return String; + +procedure Set_Save_Label + (Value : in String); +</pre></td> + </tr> + + <tr> +<td><pre> +static const char * show_label = "Show:"; +</pre></td> +<td><pre> +function Get_Show_Label + return String; + +procedure Set_Show_Label + (Value : in String); +</pre></td> + </tr> + + <tr> +<td><pre> +static Fl_File_Sort_F * sort = fl_numericsort; +</pre></td> +<td><pre> +Sort_Method : not null FLTK.Filenames.Compare_Function := + FLTK.Filenames.Numeric_Sort'Access; +</pre></td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Attributes</th></tr> + + <tr> +<td><pre> +Fl_Button * newButton; +</pre></td> +<td><pre> +function New_Button + (This : in out File_Chooser) + return FLTK.Widgets.Buttons.Button_Reference; +</pre></td> + </tr> + + <tr> +<td><pre> +Fl_Check_Button * previewButton; +</pre></td> +<td><pre> +function Preview_Button + (This : in out File_Chooser) + return FLTK.Widgets.Buttons.Light.Check.Check_Button_Reference; +</pre></td> + </tr> + + <tr> +<td><pre> +Fl_Check_Button * showHiddenButton; +</pre></td> +<td><pre> +function Show_Hidden_Button + (This : in out File_Chooser) + return FLTK.Widgets.Buttons.Light.Check.Check_Button_Reference; +</pre></td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Constructors</th></tr> + + <tr> +<td><pre> +Fl_File_Chooser(const char *d, const char *p, int t, + const char *title); +</pre></td> +<td><pre> +function Create + (Title : in String; + Pattern : in String; + Pathname : in String; + Kind : in Chooser_Kind := Single) + return File_Chooser; +</pre></td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Functions and Procedures</th></tr> + + <tr> +<td><pre> +Fl_Widget * add_extra(Fl_Widget *gr); +</pre></td> +<td><pre> +procedure Add_Extra + (This : in out File_Chooser; + Item : in out Widgets.Widget'Class); + +procedure Remove_Extra + (This : in out File_Chooser); + +function Eject_Extra + (This : in out File_Chooser; + Item : in out Widgets.Widget'Class) + return access Widgets.Widget'Class; +</pre></td> + </tr> + + <tr> +<td><pre> +void callback(void(*cb)(Fl_File_Chooser *, void *), void *d=0); +</pre></td> +<td><pre> +procedure Set_Callback + (This : in out File_Chooser; + Func : in Chooser_Callback); +</pre></td> + </tr> + + <tr> +<td><pre> +Fl_Color color(); +</pre></td> +<td><pre> +function Get_Background_Color + (This : in File_Chooser) + return Color; +</pre></td> + </tr> + + <tr> +<td><pre> +void color(Fl_Color c); +</pre></td> +<td><pre> +procedure Set_Background_Color + (This : in out File_Chooser; + Value : in Color); +</pre></td> + </tr> + + <tr> +<td><pre> +int count(); +</pre></td> +<td><pre> +function Number_Selected + (This : in File_Chooser) + return Natural; +</pre></td> + </tr> + + <tr> +<td><pre> +char * directory(); +</pre></td> +<td><pre> +function Get_Directory + (This : in File_Chooser) + return String; +</pre></td> + </tr> + + <tr> +<td><pre> +void directory(const char *d); +</pre></td> +<td><pre> +procedure Set_Directory + (This : in out File_Chooser; + Value : in String); +</pre></td> + </tr> + + <tr> +<td><pre> +const char * filter(); +</pre></td> +<td><pre> +function Get_Filter + (This : in File_Chooser) + return String; +</pre></td> + </tr> + + <tr> +<td><pre> +void filter(const char *p); +</pre></td> +<td><pre> +procedure Set_Filter + (This : in out File_Chooser; + Value : in String); +</pre></td> + </tr> + + <tr> +<td><pre> +int filter_value(); +</pre></td> +<td><pre> +function Get_Filter_Index + (This : in File_Chooser) + return Positive; +</pre></td> + </tr> + + <tr> +<td><pre> +void filter_value(int f); +</pre></td> +<td><pre> +procedure Set_Filter_Index + (This : in out File_Chooser; + Value : in Positive); +</pre></td> + </tr> + + <tr> +<td><pre> +void hide(); +</pre></td> +<td><pre> +procedure Hide + (This : in out File_Chooser); +</pre></td> + </tr> + + <tr> +<td><pre> +uchar iconsize(); +</pre></td> +<td><pre> +function Get_Icon_Size + (This : in File_Chooser) + return Icon_Size; +</pre></td> + </tr> + + <tr> +<td><pre> +void iconsize(uchar s); +</pre></td> +<td><pre> +procedure Set_Icon_Size + (This : in out File_Chooser; + Value : in Icon_Size); +</pre></td> + </tr> + + <tr> +<td><pre> +const char * label(); +</pre></td> +<td><pre> +function Get_Label + (This : in File_Chooser) + return String; +</pre></td> + </tr> + + <tr> +<td><pre> +void label(const char *l); +</pre></td> +<td><pre> +procedure Set_Label + (This : in out File_Chooser; + Text : in String); +</pre></td> + </tr> + + <tr> +<td><pre> +const char * ok_label(); +</pre></td> +<td><pre> +function Get_OK_Label + (This : in File_Chooser) + return String; +</pre></td> + </tr> + + <tr> +<td><pre> +void ok_label(const char *l); +</pre></td> +<td><pre> +procedure Set_OK_Label + (This : in out File_Chooser; + Text : in String); +</pre></td> + </tr> + + <tr> +<td><pre> +int preview() const; +</pre></td> +<td><pre> +function Has_Preview + (This : in File_Chooser) + return Boolean; +</pre></td> + </tr> + + <tr> +<td><pre> +void preview(int e); +</pre></td> +<td><pre> +procedure Set_Preview + (This : in out File_Chooser; + Value : in Boolean); +</pre></td> + </tr> + + <tr> +<td><pre> +void rescan(); +</pre></td> +<td><pre> +procedure Rescan + (This : in out File_Chooser); +</pre></td> + </tr> + + <tr> +<td><pre> +void rescan_keep_filename(); +</pre></td> +<td><pre> +procedure Rescan_Keep_Filename + (This : in out File_Chooser); +</pre></td> + </tr> + + <tr> +<td><pre> +void show(); +</pre></td> +<td><pre> +procedure Show + (This : in out File_Chooser); +</pre></td> + </tr> + + <tr> +<td><pre> +int shown(); +</pre></td> +<td><pre> +function Is_Shown + (This : in File_Chooser) + return Boolean; +</pre></td> + </tr> + + <tr> +<td><pre> +Fl_Color textcolor(); +</pre></td> +<td><pre> +function Get_Text_Color + (This : in File_Chooser) + return Color; +</pre></td> + </tr> + + <tr> +<td><pre> +void textcolor(Fl_Color c); +</pre></td> +<td><pre> +procedure Set_Text_Color + (This : in out File_Chooser; + Value : in Color); +</pre></td> + </tr> + + <tr> +<td><pre> +Fl_Font textfont(); +</pre></td> +<td><pre> +function Get_Text_Font + (This : in File_Chooser) + return Font_Kind; +</pre></td> + </tr> + + <tr> +<td><pre> +void textfont(Fl_Font f); +</pre></td> +<td><pre> +procedure Set_Text_Font + (This : in out File_Chooser; + Font : in Font_Kind); +</pre></td> + </tr> + + <tr> +<td><pre> +Fl_Fontsize textsize(); +</pre></td> +<td><pre> +function Get_Text_Size + (This : in File_Chooser) + return Font_Size; +</pre></td> + </tr> + + <tr> +<td><pre> +void textsize(Fl_Fontsize s); +</pre></td> +<td><pre> +procedure Set_Text_Size + (This : in out File_Chooser; + Size : in Font_Size); +</pre></td> + </tr> + + <tr> +<td><pre> +int type(); +</pre></td> +<td><pre> +function Get_Kind + (This : in File_Chooser) + return Chooser_Kind; +</pre></td> + </tr> + + <tr> +<td><pre> +void type(int t); +</pre></td> +<td><pre> +procedure Set_Kind + (This : in out File_Chooser; + Kind : in Chooser_Kind); +</pre></td> + </tr> + + <tr> +<td><pre> +void * user_data() const; +</pre></td> +<td>Not used in public API.</td> + </tr> + + <tr> +<td><pre> +void user_data(void *d); +</pre></td> +<td>Not used in public API.</td> + </tr> + + <tr> +<td><pre> +void value(const char *filename); +</pre></td> +<td><pre> +procedure Set_Selected + (This : in out File_Chooser; + Value : in String); +</pre></td> + </tr> + + <tr> +<td><pre> +const char * value(int f=1); +</pre></td> +<td><pre> +function Get_Selected + (This : in File_Chooser; + Index : in Positive := 1) + return String +with Pre => Index <= This.Number_Selected; +</pre></td> + </tr> + + <tr> +<td><pre> +int visible(); +</pre></td> +<td><pre> +function Is_Visible + (This : in File_Chooser) + return Boolean; +</pre></td> + </tr> + +</table> + + + </body> +</html> + diff --git a/doc/fl_file_input.html b/doc/fl_file_input.html index d98c29c..1b83909 100644 --- a/doc/fl_file_input.html +++ b/doc/fl_file_input.html @@ -1,4 +1,3 @@ - <!DOCTYPE html> <html lang="en"> @@ -14,12 +13,15 @@ <h2>Fl_File_Input 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_File_Input</td> - <td>FLTK.Widgets.Inputs.File</td> + <td>FLTK.Widgets.Inputs.Text.File</td> </tr> </table> @@ -44,7 +46,7 @@ <table class="function"> - <tr><th colspan="2">Functions and Procedures</th></tr> + <tr><th colspan="2">Constructors</th></tr> <tr> <td><pre> @@ -53,11 +55,30 @@ Fl_File_Input(int X, int Y, int W, int H, const char *L=0); <td><pre> function Create (X, Y, W, H : in Integer; - Text : in String) + Text : in String := "") + return File_Input; +</pre></td> + </tr> + + <tr> +<td>Rely on the automatic use of begin when a group is created, or use begin/end +explicitly, or add each widget to its intended parent group manually.</td> +<td><pre> +function Create + (Parent : in out FLTK.Widgets.Groups.Group'Class; + X, Y, W, H : in Integer; + Text : in String := "") return File_Input; </pre></td> </tr> +</table> + + + +<table class="function"> + <tr><th colspan="2">Functions and Procedures</th></tr> + <tr> <td><pre> Fl_Boxtype down_box() const; @@ -82,16 +103,6 @@ procedure Set_Down_Box <tr> <td><pre> -virtual void draw(); -</pre></td> -<td><pre> -procedure Draw - (This : in out File_Input); -</pre></td> - </tr> - - <tr> -<td><pre> Fl_Color errorcolor() const; </pre></td> <td><pre> @@ -127,11 +138,12 @@ function Handle <tr> <td><pre> int value(const char *str); + int value(const char *str, int len); </pre></td> <td><pre> procedure Set_Value - (This : in out Input; + (This : in out File_Input; To : in String); </pre></td> </tr> @@ -142,7 +154,7 @@ const char * value(); </pre></td> <td><pre> function Get_Value - (This : in Input) + (This : in File_Input) return String; </pre></td> </tr> @@ -150,6 +162,24 @@ function Get_Value </table> + +<table class="function"> + <tr><th colspan="2">Protected Functions and Procedures</th></tr> + + <tr> +<td><pre> +virtual void draw(); +</pre></td> +<td><pre> +procedure Draw + (This : in out File_Input); +</pre></td> + </tr> + +</table> + + </body> </html> + diff --git a/doc/fl_fill_dial.html b/doc/fl_fill_dial.html index 26c50b5..bdd8249 100644 --- a/doc/fl_fill_dial.html +++ b/doc/fl_fill_dial.html @@ -1,4 +1,3 @@ - <!DOCTYPE html> <html lang="en"> @@ -14,6 +13,9 @@ <h2>Fl_Fill_Dial Binding Map</h2> +<a href="index.html">Back to Index</a> + + <table class="package"> <tr><th colspan="2">Package name</th></tr> @@ -44,7 +46,7 @@ <table class="function"> - <tr><th colspan="2">Functions and Procedures</th></tr> + <tr><th colspan="2">Constructors</th></tr> <tr> <td><pre> @@ -53,26 +55,20 @@ Fl_Fill_Dial(int X, int Y, int W, int H, const char *L); <td><pre> function Create (X, Y, W, H : in Integer; - Text : in String) + Text : in String := "") return Fill_Dial; </pre></td> </tr> <tr> -<td> </td> -<td><pre> -procedure Draw - (This : in out Fill_Dial); -</pre></td> - </tr> - - <tr> -<td> </td> +<td>Rely on the automatic use of begin when a group is created, or use begin/end +explicitly, or add each widget to its intended parent group manually.</td> <td><pre> -function Handle - (This : in out Fill_Dial; - Event : in Event_Kind) - return Event_Outcome; +function Create + (Parent : in out FLTK.Widgets.Groups.Group'Class; + X, Y, W, H : in Integer; + Text : in String := "") + return Fill_Dial; </pre></td> </tr> diff --git a/doc/fl_fill_slider.html b/doc/fl_fill_slider.html index c42a5e1..b89d154 100644 --- a/doc/fl_fill_slider.html +++ b/doc/fl_fill_slider.html @@ -1,4 +1,3 @@ - <!DOCTYPE html> <html lang="en"> @@ -14,6 +13,9 @@ <h2>Fl_Fill_Slider Binding Map</h2> +<a href="index.html">Back to Index</a> + + <table class="package"> <tr><th colspan="2">Package name</th></tr> @@ -44,7 +46,7 @@ <table class="function"> - <tr><th colspan="2">Functions and Procedures</th></tr> + <tr><th colspan="2">Constructors</th></tr> <tr> <td><pre> @@ -53,26 +55,20 @@ Fl_Fill_Slider(int X, int Y, int W, int H, const char *L=0); <td><pre> function Create (X, Y, W, H : in Integer; - Text : in String) + Text : in String := "") return Fill_Slider; </pre></td> </tr> <tr> -<td> </td> -<td><pre> -procedure Draw - (This : in out Fill_Slider); -</pre></td> - </tr> - - <tr> -<td> </td> +<td>Rely on the automatic use of begin when a group is created, or use begin/end +explicitly, or add each widget to its intended parent group manually.</td> <td><pre> -function Handle - (This : in out Fill_Slider; - Event : in Event_Kind) - return Event_Outcome; +function Create + (Parent : in out FLTK.Widgets.Groups.Group'Class; + X, Y, W, H : in Integer; + Text : in String := "") + return Fill_Slider; </pre></td> </tr> diff --git a/doc/fl_float_input.html b/doc/fl_float_input.html index 04afafe..6a1ec4f 100644 --- a/doc/fl_float_input.html +++ b/doc/fl_float_input.html @@ -1,4 +1,3 @@ - <!DOCTYPE html> <html lang="en"> @@ -14,12 +13,15 @@ <h2>Fl_Float_Input 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_Float_Input</td> - <td>FLTK.Widgets.Inputs.Float</td> + <td>FLTK.Widgets.Inputs.Text.Floating_Point</td> </tr> </table> @@ -44,7 +46,7 @@ <table class="function"> - <tr><th colspan="2">Functions and Procedures</th></tr> + <tr><th colspan="2">Constructors</th></tr> <tr> <td><pre> @@ -53,35 +55,36 @@ Fl_Float_Input(int X, int Y, int W, int H, const char *L=0); <td><pre> function Create (X, Y, W, H : in Integer; - Text : in String) + Text : in String := "") return Float_Input; </pre></td> </tr> <tr> -<td> </td> +<td>Rely on the automatic use of begin when a group is created, or use begin/end +explicitly, or add each widget to its intended parent group manually.</td> <td><pre> -procedure Draw - (This : in out Float_Input); +function Create + (Parent : in out FLTK.Widgets.Groups.Group'Class; + X, Y, W, H : in Integer; + Text : in String := "") + return Float_Input; </pre></td> </tr> +</table> + + + +<table class="function"> + <tr><th colspan="2">Functions and Procedures</th></tr> + <tr> -<td> </td> +<td>Use value() and manually convert from char * to float.</td> <td><pre> function Get_Value (This : in Float_Input) - return Standard.Float; -</pre></td> - </tr> - - <tr> -<td> </td> -<td><pre> -function Handle - (This : in out Float_Input; - Event : in Event_Kind) - return Event_Outcome; + return Long_Float; </pre></td> </tr> diff --git a/doc/fl_gif_image.html b/doc/fl_gif_image.html index 6117095..1a8a070 100644 --- a/doc/fl_gif_image.html +++ b/doc/fl_gif_image.html @@ -1,4 +1,3 @@ - <!DOCTYPE html> <html lang="en"> @@ -14,6 +13,9 @@ <h2>Fl_GIF_Image Binding Map</h2> +<a href="index.html">Back to Index</a> + + <table class="package"> <tr><th colspan="2">Package name</th></tr> @@ -44,7 +46,7 @@ <table class="function"> - <tr><th colspan="2">Functions and Procedures</th></tr> + <tr><th colspan="2">Constructors</th></tr> <tr> <td><pre> diff --git a/doc/fl_gl_window.html b/doc/fl_gl_window.html new file mode 100644 index 0000000..6f5ee38 --- /dev/null +++ b/doc/fl_gl_window.html @@ -0,0 +1,455 @@ +<!DOCTYPE html> + +<html lang="en"> + <head> + <meta charset="utf-8"> + <title>Fl_Gl_Window Binding Map</title> + <link href="map.css" rel="stylesheet"> + </head> + + <body> + + +<h2>Fl_Gl_Window 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_Gl_Window</td> + <td>FLTK.Widgets.Groups.Windows.OpenGL</td> + </tr> + +</table> + + + +<table class="type"> + <tr><th colspan="2">Types</th></tr> + + <tr> + <td>Fl_Gl_Window</td> + <td>GL_Window</td> + </tr> + + <tr> + <td> </td> + <td>GL_Window_Reference</td> + </tr> + + <tr> + <td>int</td> + <td>Mode_Mask</td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Constructors</th></tr> + + <tr> +<td><pre> +Fl_Gl_Window(int W, int H, const char *l=0); +</pre></td> +<td><pre> +function Create + (W, H : in Integer; + Text : in String := "") + return GL_Window; +</pre></td> + </tr> + + <tr> +<td>Rely on the automatic use of begin when a group is created, or use begin/end +explicitly, or add each widget to its intended parent group manually.</td> +<td><pre> +function Create + (Parent : in out Groups.Group'Class; + W, H : in Integer; + Text : in String := "") + return GL_Window; +</pre></td> + </tr> + + <tr> +<td><pre> +Fl_Gl_Window(int X, int Y, int W, int H, const char *l=0); +</pre></td> +<td><pre> +function Create + (X, Y, W, H : in Integer; + Text : in String := "") + return GL_Window; +</pre></td> + </tr> + + <tr> +<td>Rely on the automatic use of begin when a group is created, or use begin/end +explicitly, or add each widget to its intended parent group manually.</td> +<td><pre> +function Create + (Parent : in out Groups.Group'Class; + X, Y, W, H : in Integer; + Text : in String := "") + return GL_Window; +</pre></td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Static Functions and Procedures</th></tr> + + <tr> +<td><pre> +static int can_do(const int *m); +</pre></td> +<td> +Not applicable due to not being part of the public stable API. +</td> + </tr> + + <tr> +<td><pre> +static int can_do(int m); +</pre></td> +<td><pre> +function Can_Do + (Mask : in Mode_Mask) + return Boolean; +</pre></td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Functions and Procedures</th></tr> + + <tr> +<td><pre> +virtual Fl_Gl_Window * as_gl_window(); +</pre></td> +<td> +Use view conversion and tag membership tests instead. +</td> + </tr> + + <tr> +<td><pre> +int can_do(); +</pre></td> +<td><pre> +function Can_Do + (This : in GL_Window) + return Boolean; +</pre></td> + </tr> + + <tr> +<td><pre> +int can_do_overlay(); +</pre></td> +<td><pre> +function Can_Do_Overlay + (This : in GL_Window) + return Boolean; +</pre></td> + </tr> + + <tr> +<td><pre> +void * context() const; +</pre></td> +<td><pre> +function Get_Context + (This : in GL_Window) + return System.Address; +</pre></td> + </tr> + + <tr> +<td><pre> +void context(void *, int destroy_flag=0); +</pre></td> +<td><pre> +procedure Set_Context + (This : in out GL_Window; + Struct : in System.Address; + Destroy : in Boolean := False); +</pre></td> + </tr> + + <tr> +<td><pre> +char context_valid() const; +</pre></td> +<td><pre> +function Get_Context_Valid + (This : in GL_Window) + return Boolean; +</pre></td> + </tr> + + <tr> +<td><pre> +void context_valid(char v); +</pre></td> +<td><pre> +procedure Set_Context_Valid + (This : in out GL_Window; + Valud : in Boolean); +</pre></td> + </tr> + + <tr> +<td><pre> +void flush(); +</pre></td> +<td><pre> +procedure Flush + (This : in out GL_Window); +</pre></td> + </tr> + + <tr> +<td><pre> +int handle(int); +</pre></td> +<td><pre> +function Handle + (This : in out GL_Window; + Event : in Event_Kind) + return Event_Outcome; +</pre></td> + </tr> + + <tr> +<td><pre> +void hide(); +</pre></td> +<td><pre> +procedure Hide + (This : in out GL_Window); +</pre></td> + </tr> + + <tr> +<td><pre> +void hide_overlay(); +</pre></td> +<td><pre> +procedure Hide_Overlay + (This : in out GL_Window); +</pre></td> + </tr> + + <tr> +<td><pre> +void invalidate(); +</pre></td> +<td><pre> +procedure Invalidate + (This : in out GL_Window); +</pre></td> + </tr> + + <tr> +<td><pre> +void make_current(); +</pre></td> +<td><pre> +procedure Make_Current + (This : in out GL_Window); +</pre></td> + </tr> + + <tr> +<td><pre> +void make_overlay_current(); +</pre></td> +<td><pre> +procedure Make_Overlay_Current + (This : in out GL_Window); +</pre></td> + </tr> + + <tr> +<td><pre> +Fl_Mode mode() const; +</pre></td> +<td><pre> +function Get_Mode + (This : in GL_Window) + return Mode_Mask; +</pre></td> + </tr> + + <tr> +<td><pre> +int mode(const int *a); +</pre></td> +<td> +Not applicable due to not being part of the public stable API. +</td> + </tr> + + <tr> +<td><pre> +int mode(int a); +</pre></td> +<td><pre> +procedure Set_Mode + (This : in out GL_Window; + Mask : in Mode_Mask); +</pre></td> + </tr> + + <tr> +<td><pre> +void ortho(); +</pre></td> +<td><pre> +procedure Ortho + (This : in out GL_Window); +</pre></td> + </tr> + + <tr> +<td><pre> +int pixel_h(); +</pre></td> +<td><pre> +function Pixel_H + (This : in GL_Window) + return Integer; +</pre></td> + </tr> + + <tr> +<td><pre> +int pixel_w(); +</pre></td> +<td><pre> +function Pixel_W + (This : in GL_Window) + return Integer; +</pre></td> + </tr> + + <tr> +<td><pre> +float pixels_per_unit(); +</pre></td> +<td><pre> +function Pixels_Per_Unit + (This : in GL_Window) + return Float; +</pre></td> + </tr> + + <tr> +<td><pre> +void Redraw_Overlay(); +</pre></td> +<td><pre> +procedure Redraw_Overlay + (This : in out GL_Window); +</pre></td> + </tr> + + <tr> +<td><pre> +void resize(int, int, int, int); +</pre></td> +<td><pre> +procedure Resize + (This : in out GL_Window; + X, Y, W, H : in Integer); +</pre></td> + </tr> + + <tr> +<td><pre> +void show(); +</pre></td> +<td><pre> +procedure Show + (This : in out GL_Window); +</pre></td> + </tr> + + <tr> +<td><pre> +void show(int a, char **b); +</pre></td> +<td><pre> +procedure Show_With_Args + (This : in out GL_Window); +</pre></td> + </tr> + + <tr> +<td><pre> +void swap_buffers(); +</pre></td> +<td><pre> +procedure Swap_Buffers + (This : in out GL_Window); +</pre></td> + </tr> + + <tr> +<td><pre> +char valid() const; +</pre></td> +<td><pre> +function Get_Valid + (This : in GL_Window) + return Boolean; +</pre></td> + </tr> + + <tr> +<td><pre> +void valid(char v); +</pre></td> +<td><pre> +procedure Set_Valid + (This : in out GL_Window; + Value : in Boolean); +</pre></td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Protected Functions and Procedures</th></tr> + + <tr> +<td><pre> +virtual void draw(); +</pre></td> +<td><pre> +procedure Draw + (This : in out GL_Window); +</pre></td> + </tr> + +</table> + + + </body> +</html> + diff --git a/doc/fl_graphics_driver.html b/doc/fl_graphics_driver.html index 9f613ef..b0a435e 100644 --- a/doc/fl_graphics_driver.html +++ b/doc/fl_graphics_driver.html @@ -1,4 +1,3 @@ - <!DOCTYPE html> <html lang="en"> @@ -14,6 +13,9 @@ <h2>Fl_Graphics_Driver Binding Map</h2> +<a href="index.html">Back to Index</a> + + <table class="package"> <tr><th colspan="2">Package name</th></tr> @@ -49,20 +51,55 @@ <table class="function"> - <tr><th colspan="2">Functions and Procedures</th></tr> + <tr><th colspan="2">Static Attributes</th></tr> + + <tr> +<td><pre> +static const char * class_id = "Fl_Graphics_Driver"; +</pre></td> +<td>Deprecated, use runtime tag checks instead.</td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Protected Attributes</th></tr> + + <tr> +<td><pre> +matrix * fl_matrix; +</pre></td> +<td> </td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Constructors</th></tr> <tr> <td><pre> Fl_Graphics_Driver(); </pre></td> -<td>TBA</td> +<td> </td> </tr> +</table> + + + +<table class="function"> + <tr><th colspan="2">Functions and Procedures</th></tr> + <tr> <td><pre> virtual const char * class_name(); </pre></td> -<td>Use runtime tag checks instead</td> +<td>Deprecated, use runtime tag checks instead</td> </tr> <tr> @@ -192,6 +229,13 @@ function Get_Width </table> + +<table class="function"> + <tr><th colspan="2">Protected Functions and Procedures</th></tr> + +</table> + + </body> </html> diff --git a/doc/fl_group.html b/doc/fl_group.html index 123e05b..80f9406 100644 --- a/doc/fl_group.html +++ b/doc/fl_group.html @@ -1,4 +1,3 @@ - <!DOCTYPE html> <html lang="en"> @@ -14,6 +13,9 @@ <h2>Fl_Group Binding Map</h2> +<a href="index.html">Back to Index</a> + + <table class="package"> <tr><th colspan="2">Package name</th></tr> @@ -24,6 +26,11 @@ </table> +<p><b>Note:</b><br /><br /> +Groups automatically have end / End_Current called on them as part of their construction. +This is because otherwise the usual begin/end behaviour would get confusing with the style +of declaration this binding uses.</p> + <table class="type"> @@ -40,16 +47,21 @@ </tr> <tr> - <td> </td> + <td>int</td> <td>Index</td> </tr> <tr> - <td> </td> + <td>int</td> <td>Extended_Index</td> </tr> <tr> + <td>int</td> + <td>Clip_Mode</td> + </tr> + + <tr> <td> </td> <td>Cursor</td> </tr> @@ -59,7 +71,7 @@ <table class="function"> - <tr><th colspan="2">Functions and Procedures</th></tr> + <tr><th colspan="2">Constructors</th></tr> <tr> <td><pre> @@ -68,21 +80,68 @@ Fl_Group(int, int, int, int, const char *=0); <td><pre> function Create (X, Y, W, H : in Integer; - Text : in String) + Text : in String := "") return Group; </pre></td> </tr> <tr> +<td>Rely on the automatic use of begin when a group is created, or use begin/end +explicitly, or add each widget to its intended parent group manually.</td> +<td><pre> +function Create + (Parent : in out Group'Class; + X, Y, W, H : in Integer; + Text : in String := "") + return Group; +</pre></td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Static Functions and Procedures</th></tr> + + <tr> +<td><pre> +static Fl_Group * current(); +</pre></td> +<td><pre> +function Get_Current + return access Group'Class; +</pre></td> + </tr> + + <tr> +<td><pre> +static void current(Fl_Group *g); +</pre></td> +<td><pre> +procedure Set_Current + (To : in Group'Class); +</pre></td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Functions and Procedures</th></tr> + + <tr> <td><pre> Fl_Widget *& _ddfdesign_kludge(); </pre></td> -<td> </td> +<td>Intentionally left unbound.</td> </tr> <tr> <td><pre> void add(Fl_Widget &); + void add(Fl_Widget *o); </pre></td> <td><pre> @@ -96,32 +155,39 @@ procedure Add <td><pre> void add_resizable(Fl_Widget &o); </pre></td> -<td> </td> +<td><pre> +procedure Add_Resizable + (This : in out Group; + Item : in out Widget'Class); +</pre></td> </tr> <tr> <td><pre> Fl_Widget * const * array() const; </pre></td> -<td>Use iterators instead</td> +<td>Use iterators 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> void begin(); </pre></td> -<td> </td> +<td><pre> +procedure Begin_Current + (This : in out Group); +</pre></td> </tr> <tr> -<td> </td> +<td>Check if the index value is in range manually.</td> <td><pre> function Has_Child (This : in Group; @@ -147,7 +213,8 @@ Fl_Widget * child(int n) const; function Child (This : in Group; Place : in Index) - return Widget_Reference; + return Widget_Reference +with Pre => This.Has_Child (Place); </pre></td> </tr> @@ -184,25 +251,23 @@ procedure Clear <tr> <td><pre> -void clip_children(int c); +unsigned int clip_children(); </pre></td> -<td>TBA</td> - </tr> - - <tr> <td><pre> -unsigned int clip_children(); +function Get_Clip_Mode + (This : in Group) + return Clip_Mode; </pre></td> -<td>TBA</td> </tr> <tr> <td><pre> -void draw(); +void clip_children(int c); </pre></td> <td><pre> -procedure Draw - (This : in out Group); +procedure Set_Clip_Mode + (This : in out Group; + Mode : in Clip_Mode := Clip); </pre></td> </tr> @@ -210,19 +275,23 @@ procedure Draw <td><pre> void end(); </pre></td> -<td> </td> +<td><pre> +procedure End_Current + (This : in out Group); +</pre></td> </tr> <tr> <td><pre> int find(const Fl_Widget *) const; + int find(const Fl_Widget &o) const; </pre></td> <td><pre> function Find - (This : in Group; - Item : in out Widget'Class) - return Index; + (This : in Group; + Item : in Widget'Class) + return Extended_Index; </pre></td> </tr> @@ -230,14 +299,14 @@ function Find <td><pre> void focus(Fl_Widget *W); </pre></td> -<td> </td> +<td>Deprecated, see take_focus / Take_Focus in Fl_Widget.</td> </tr> <tr> <td><pre> void forms_end(); </pre></td> -<td> </td> +<td>Intentionally left unbound.</td> </tr> <tr> @@ -257,7 +326,7 @@ function Handle void init_sizes(); </pre></td> <td><pre> -procedure Reset_Initial_Sizes +procedure Reset_Sizes (This : in out Group); </pre></td> </tr> @@ -287,7 +356,7 @@ procedure Insert </tr> <tr> -<td> </td> +<td>Use a for loop to iterate over the group's children.</td> <td><pre> function Iterate (This : in Group) @@ -309,6 +378,7 @@ procedure Remove <tr> <td><pre> void remove(Fl_Widget &); + void remove(Fl_Widget *o); </pre></td> <td><pre> @@ -320,7 +390,19 @@ procedure Remove <tr> <td><pre> +Fl_Widget * resizable() const; +</pre></td> +<td><pre> +function Get_Resizable + (This : in Group) + return access Widget'Class; +</pre></td> + </tr> + + <tr> +<td><pre> void resizable(Fl_Widget &o); + void resizable(Fl_Widget *o); </pre></td> <td><pre> @@ -332,39 +414,79 @@ procedure Set_Resizable <tr> <td><pre> -Fl_Widget * resizable() const; +void resize(int, int, int, int); </pre></td> <td><pre> -function Get_Resizable - (This : in Group) - return access Widget'Class; +procedure Resize + (This : in out Group; + X, Y, W, H : in Integer); </pre></td> </tr> +</table> + + + +<table class="function"> + <tr><th colspan="2">Protected Functions and Procedures</th></tr> + <tr> <td><pre> -void resize(int, int, int, int); +void draw(); +</pre></td> +<td><pre> +procedure Draw + (This : in out Group); </pre></td> -<td> </td> </tr> <tr> <td><pre> -static Fl_Group * current(); +void draw_child(Fl_Widget &widget) const; </pre></td> <td><pre> -function Get_Current - return access Group'Class; +procedure Draw_Child + (This : in out Group; + Item : in out Widget'Class); </pre></td> </tr> <tr> <td><pre> -static void current(Fl_Group *g); +void draw_children(); </pre></td> <td><pre> -procedure Set_Current - (To : in Group'Class); +procedure Draw_Children + (This : in out Group); +</pre></td> + </tr> + + <tr> +<td><pre> +void draw_outside_label(const Fl_Widget &widget) const; +</pre></td> +<td><pre> +procedure Draw_Outside_Label + (This : in out Group; + Item : in out Widget'Class); +</pre></td> + </tr> + + <tr> +<td><pre> +int * sizes(); +</pre></td> +<td>Intentionally left unbound.</td> + </tr> + + <tr> +<td><pre> +void update_child(Fl_Widget &widget) const; +</pre></td> +<td><pre> +procedure Update_Child + (This : in out Group; + Item : in out Widget'Class); </pre></td> </tr> diff --git a/doc/fl_help_dialog.html b/doc/fl_help_dialog.html new file mode 100644 index 0000000..aa7a21c --- /dev/null +++ b/doc/fl_help_dialog.html @@ -0,0 +1,266 @@ +<!DOCTYPE html> + +<html lang="en"> + <head> + <meta charset="utf-8"> + <title>Fl_Help_Dialog Binding Map</title> + <link href="map.css" rel="stylesheet"> + </head> + + <body> + + +<h2>Fl_Help_Dialog 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_Help_Dialog</td> + <td>FLTK.Help_Dialogs</td> + </tr> + +</table> + + + +<table class="type"> + <tr><th colspan="2">Types</th></tr> + + <tr> + <td>Fl_Help_Dialog</td> + <td>Help_Dialog</td> + </tr> + + <tr> + <td> </td> + <td>Help_Dialog_Reference</td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Constructors</th></tr> + + <tr> +<td><pre> +Fl_Help_Dialog(); +</pre></td> +<td><pre> +function Create + return Help_Dialog; +</pre></td> + </tr> + + <tr> +<td>Create a Fl_Help_Dialog and then resize manually.</td> +<td><pre> +function Create + (X, Y, W, H : in Integer) + return Help_Dialog; +</pre></td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Functions and Procedures</th></tr> + + <tr> +<td><pre> +int h(); +</pre></td> +<td><pre> +function Get_H + (This : in Help_Dialog) + return Integer; +</pre></td> + </tr> + + <tr> +<td><pre> +void hide(); +</pre></td> +<td><pre> +procedure Hide + (This : in out Help_Dialog); +</pre></td> + </tr> + + <tr> +<td><pre> +void load(const char *f); +</pre></td> +<td><pre> +procedure Load + (This : in out Help_Dialog; + Name : in String); +</pre></td> + </tr> + + <tr> +<td><pre> +void position(int xx, int yy); +</pre></td> +<td><pre> +procedure Reposition + (This : in out Help_Dialog; + X, Y : in Integer); +</pre></td> + </tr> + + <tr> +<td><pre> +void resize(int xx, int yy, int ww, int hh); +</pre></td> +<td><pre> +procedure Resize + (This : in out Help_Dialog; + X, Y, W, H : in Integer); +</pre></td> + </tr> + + <tr> +<td><pre> +void show(); +</pre></td> +<td><pre> +procedure Show + (This : in out Help_Dialog); +</pre></td> + </tr> + + <tr> +<td><pre> +void show(int argc, char **argv); +</pre></td> +<td><pre> +procedure Show_With_Args + (This : in out Help_Dialog); +</pre></td> + </tr> + + <tr> +<td><pre> +Fl_Fontsize textsize(); +</pre></td> +<td><pre> +function Get_Text_Size + (This : in Help_Dialog) + return Font_Size; +</pre></td> + </tr> + + <tr> +<td><pre> +void textsize(Fl_Fontsize s); +</pre></td> +<td><pre> +procedure Set_Text_Size + (This : in out Help_Dialog; + Size : in Font_Size); +</pre></td> + </tr> + + <tr> +<td><pre> +void topline(const char *n); +</pre></td> +<td><pre> +procedure Set_Topline_Target + (This : in out Help_Dialog; + Value : in String); +</pre></td> + </tr> + + <tr> +<td><pre> +void topline(int n); +</pre></td> +<td><pre> +procedure Set_Topline_Number + (This : in out Help_Dialog; + Line : in Positive); +</pre></td> + </tr> + + <tr> +<td><pre> +const char * value() const; +</pre></td> +<td><pre> +function Get_Content + (This : in Help_Dialog) + return String; +</pre></td> + </tr> + + <tr> +<td><pre> +void value(const char *f); +</pre></td> +<td><pre> +procedure Set_Content + (This : in out Help_Dialog; + Value : in String); +</pre></td> + </tr> + + <tr> +<td><pre> +int visible(); +</pre></td> +<td><pre> +function Is_Visible + (This : in Help_Dialog) + return Boolean; +</pre></td> + </tr> + + <tr> +<td><pre> +int w(); +</pre></td> +<td><pre> +function Get_W + (This : in Help_Dialog) + return Integer; +</pre></td> + </tr> + + <tr> +<td><pre> +int x(); +</pre></td> +<td><pre> +function Get_X + (This : in Help_Dialog) + return Integer; +</pre></td> + </tr> + + <tr> +<td><pre> +int y(); +</pre></td> +<td><pre> +function Get_Y + (This : in Help_Dialog) + return Integer; +</pre></td> + </tr> + +</table> + + + </body> +</html> + diff --git a/doc/fl_help_view.html b/doc/fl_help_view.html new file mode 100644 index 0000000..894c5d6 --- /dev/null +++ b/doc/fl_help_view.html @@ -0,0 +1,429 @@ +<!DOCTYPE html> + +<html lang="en"> + <head> + <meta charset="utf-8"> + <title>Fl_Help_View Binding Map</title> + <link href="map.css" rel="stylesheet"> + </head> + + <body> + + +<h2>Fl_Help_View 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_Help_View</td> + <td>FLTK.Widgets.Groups.Help_Views</td> + </tr> + +</table> + + + +<table class="type"> + <tr><th colspan="2">Types</th></tr> + + <tr> + <td>Fl_Help_View</td> + <td>Help_View</td> + </tr> + + <tr> + <td> </td> + <td>Help_View_Reference</td> + </tr> + + <tr> + <td>int</td> + <td>Position</td> + </tr> + + <tr> + <td>int</td> + <td>Extended_Position</td> + </tr> + + <tr> + <td>Fl_Help_Func</td> + <td>Link_Callback</td> + </tr> + +</table> + + + +<table class="type"> + <tr><th colspan="2">Errors</th></tr> + + <tr> + <td>int</td> + <td>Load_Help_Error</td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Constructors</th></tr> + + <tr> +<td><pre> +Fl_Help_View(int xx, int yy, int ww, int hh, const char *l=0); +</pre></td> +<td><pre> +function Create + (X, Y, W, H : in Integer; + Text : in String := "") + return Help_View; +</pre></td> + </tr> + + <tr> +<td>Rely on the automatic use of begin when a group is created, or use begin/end +explicitly, or add each widget to its intended parent group manually.</td> +<td><pre> +function Create + (Parent : in out Groups.Group'Class; + X, Y, W, H : in Integer; + Text : in String := "") + return Help_View; +</pre></td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Functions and Procedures</th></tr> + + <tr> +<td><pre> +void clear_selection(); +</pre></td> +<td><pre> +procedure Clear_Selection + (This : in out Help_View); +</pre></td> + </tr> + + <tr> +<td><pre> +const char * directory() const; +</pre></td> +<td><pre> +function Current_Directory + (This : in Help_View) + return String; +</pre></td> + </tr> + + <tr> +<td><pre> +const char * filename() const; +</pre></td> +<td><pre> +function Current_File + (This : in Help_View) + return String; +</pre></td> + </tr> + + <tr> +<td><pre> +int find(const char *s, int p=0); +</pre></td> +<td><pre> +function Find + (This : in Help_View; + Item : in String; + From : in Position := 1) + return Extended_Position; +</pre></td> + </tr> + + <tr> +<td><pre> +int handle(int); +</pre></td> +<td><pre> +function Handle + (This : in out Help_View; + Event : in Event_Kind) + return Event_Outcome; +</pre></td> + </tr> + + <tr> +<td><pre> +int leftline() const; +</pre></td> +<td><pre> +function Get_Leftline_Pixel + (This : in Help_View) + return Natural; +</pre></td> + </tr> + + <tr> +<td><pre> +void leftline(int); +</pre></td> +<td><pre> +procedure Set_Leftline_Pixel + (This : in out Help_View; + Value : in Natural); +</pre></td> + </tr> + + <tr> +<td><pre> +void link(Fl_Help_Func *fn); +</pre></td> +<td><pre> +procedure Set_Link_Callback + (This : in out Help_View; + Func : in Link_Callback); +</pre></td> + </tr> + + <tr> +<td><pre> +int load(const char *f); +</pre></td> +<td><pre> +procedure Load + (This : in out Help_View; + Name : in String); +</pre></td> + </tr> + + <tr> +<td><pre> +void resize(int, int, int, int); +</pre></td> +<td><pre> +procedure Resize + (This : in out Help_View; + X, Y, W, H : in Integer); +</pre></td> + </tr> + + <tr> +<td><pre> +int scrollbar_size() const; +</pre></td> +<td><pre> +function Get_Scrollbar_Size + (This : in Help_View) + return Natural; +</pre></td> + </tr> + + <tr> +<td><pre> +void scrollbar_size(int newSize); +</pre></td> +<td><pre> +procedure Set_Scrollbar_Size + (This : in out Help_View; + Value : in Natural); +</pre></td> + </tr> + + <tr> +<td><pre> +void select_all(); +</pre></td> +<td><pre> +procedure Select_All + (This : in out Help_View); +</pre></td> + </tr> + + <tr> +<td><pre> +int size() const; +</pre></td> +<td><pre> +function Get_Size + (This : in Help_View) + return Integer; +</pre></td> + </tr> + + <tr> +<td><pre> +void size(int W, int H); +</pre></td> +<td><pre> +procedure Resize + (This : in out Help_View; + W, H : in Integer); +</pre></td> + </tr> + + <tr> +<td><pre> +Fl_Color textcolor() const; +</pre></td> +<td><pre> +function Get_Text_Color + (This : in Help_View) + return Color; +</pre></td> + </tr> + + <tr> +<td><pre> +void textcolor(Fl_Color c); +</pre></td> +<td><pre> +procedure Set_Text_Color + (This : in out Help_View; + Value : in Color); +</pre></td> + </tr> + + <tr> +<td><pre> +Fl_Font textfont() const; +</pre></td> +<td><pre> +function Get_Text_Font + (This : in Help_View) + return Font_Kind; +</pre></td> + </tr> + + <tr> +<td><pre> +void textfont(Fl_Font f); +</pre></td> +<td><pre> +procedure Set_Text_Font + (This : in out Help_View; + Font : in Font_Kind); +</pre></td> + </tr> + + <tr> +<td><pre> +Fl_Fontsize textsize() const; +</pre></td> +<td><pre> +function Get_Text_Size + (This : in Help_View) + return Font_Size; +</pre></td> + </tr> + + <tr> +<td><pre> +void textsize(Fl_Fontsize s); +</pre></td> +<td><pre> +procedure Set_Text_Size + (This : in out Help_View; + Size : in Font_Size); +</pre></td> + </tr> + + <tr> +<td><pre> +const char * title(); +</pre></td> +<td><pre> +function Document_Title + (This : in Help_View) + return String; +</pre></td> + </tr> + + <tr> +<td><pre> +int topline() const; +</pre></td> +<td><pre> +function Get_Topline_Pixel + (This : in Help_View) + return Natural; +</pre></td> + </tr> + + <tr> +<td><pre> +void topline(const char *n); +</pre></td> +<td><pre> +procedure Set_Topline_Target + (This : in out Help_View; + Value : in String); +</pre></td> + </tr> + + <tr> +<td><pre> +void topline(int); +</pre></td> +<td><pre> +procedure Set_Topline_Pixel + (This : in out Help_View; + Value : in Natural); +</pre></td> + </tr> + + <tr> +<td><pre> +const char * value() const; +</pre></td> +<td><pre> +function Get_Content + (This : in Help_View) + return String; +</pre></td> + </tr> + + <tr> +<td><pre> +void value(const char *val); +</pre></td> +<td><pre> +procedure Set_Content + (This : in out Help_View; + Value : in String); +</pre></td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Protected Functions and Procedures</th></tr> + + <tr> +<td><pre> +void draw(); +</pre></td> +<td><pre> +procedure Draw + (This : in out Help_View); +</pre></td> + </tr> + +</table> + + + </body> +</html> + diff --git a/doc/fl_hold_browser.html b/doc/fl_hold_browser.html new file mode 100644 index 0000000..d8b9867 --- /dev/null +++ b/doc/fl_hold_browser.html @@ -0,0 +1,80 @@ +<!DOCTYPE html> + +<html lang="en"> + <head> + <meta charset="utf-8"> + <title>Fl_Hold_Browser Binding Map</title> + <link href="map.css" rel="stylesheet"> + </head> + + <body> + + +<h2>Fl_Hold_Browser 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_Hold_Browser</td> + <td>FLTK.Widgets.Groups.Browsers.Textline.Hold</td> + </tr> + +</table> + + + +<table class="type"> + <tr><th colspan="2">Types</th></tr> + + <tr> + <td>Fl_Hold_Browser</td> + <td>Hold_Browser</td> + </tr> + + <tr> + <td> </td> + <td>Hold_Browser_Reference</td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Constructors</th></tr> + + <tr> +<td><pre> +Fl_Hold_Browser(int X, int Y, int W, int H, const char *L=0); +</pre></td> +<td><pre> +function Create + (X, Y, W, H : in Integer; + Text : in String := "") + return Hold_Browser; +</pre></td> + </tr> + + <tr> +<td>Rely on the automatic use of begin when a group is created, or use begin/end +explicitly, or add each widget to its intended parent group manually.</td> +<td><pre> +function Create + (Parent : in out Groups.Group'Class; + X, Y, W, H : in Integer; + Text : in String := "") + return Hold_Browser; +</pre></td> + </tr> + +</table> + + + </body> +</html> + diff --git a/doc/fl_hor_fill_slider.html b/doc/fl_hor_fill_slider.html index bf816d1..1aadbc7 100644 --- a/doc/fl_hor_fill_slider.html +++ b/doc/fl_hor_fill_slider.html @@ -1,4 +1,3 @@ - <!DOCTYPE html> <html lang="en"> @@ -14,12 +13,15 @@ <h2>Fl_Hor_Fill_Slider 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_Hor_Fill_Slider</td> - <td>FLTK.Widgets.Valuators.Sliders.Hor_Fill</td> + <td>FLTK.Widgets.Valuators.Sliders.Horizontal_Fill</td> </tr> </table> @@ -31,12 +33,12 @@ <tr> <td>Fl_Hor_Fill_Slider</td> - <td>Hor_Fill_Slider</td> + <td>Horizontal_Fill_Slider</td> </tr> <tr> <td> </td> - <td>Hor_Fill_Slider_Reference</td> + <td>Horizontal_Fill_Slider_Reference</td> </tr> </table> @@ -44,7 +46,7 @@ <table class="function"> - <tr><th colspan="2">Functions and Procedures</th></tr> + <tr><th colspan="2">Constructors</th></tr> <tr> <td><pre> @@ -53,26 +55,20 @@ Fl_Hor_Fill_Slider(int X, int Y, int W, int H, const char *L=0); <td><pre> function Create (X, Y, W, H : in Integer; - Text : in String) - return Hor_Fill_Slider; + Text : in String := "") + return Horizontal_Fill_Slider; </pre></td> </tr> <tr> -<td> </td> +<td>Rely on the automatic use of begin when a group is created, or use begin/end +explicitly, or add each widget to its intended parent group manually.</td> <td><pre> -procedure Draw - (This : in out Hor_Fill_Slider); -</pre></td> - </tr> - - <tr> -<td> </td> -<td><pre> -function Handle - (This : in out Hor_Fill_Slider; - Event : in Event_Kind) - return Event_Outcome; +function Create + (Parent : in out FLTK.Widgets.Groups.Group'Class; + X, Y, W, H : in Integer; + Text : in String := "") + return Horizontal_Fill_Slider; </pre></td> </tr> diff --git a/doc/fl_hor_nice_slider.html b/doc/fl_hor_nice_slider.html index 6597050..9a6dc4f 100644 --- a/doc/fl_hor_nice_slider.html +++ b/doc/fl_hor_nice_slider.html @@ -1,4 +1,3 @@ - <!DOCTYPE html> <html lang="en"> @@ -14,12 +13,15 @@ <h2>Fl_Hor_Nice_Slider 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_Hor_Nice_Slider</td> - <td>FLTK.Widgets.Valuators.Sliders.Hor_Nice</td> + <td>FLTK.Widgets.Valuators.Sliders.Horizontal_Nice</td> </tr> </table> @@ -31,12 +33,12 @@ <tr> <td>Fl_Hor_Nice_Slider</td> - <td>Hor_Nice_Slider</td> + <td>Horizontal_Nice_Slider</td> </tr> <tr> <td> </td> - <td>Hor_Nice_Slider_Reference</td> + <td>Horizontal_Nice_Slider_Reference</td> </tr> </table> @@ -44,7 +46,7 @@ <table class="function"> - <tr><th colspan="2">Functions and Procedures</th></tr> + <tr><th colspan="2">Constructors</th></tr> <tr> <td><pre> @@ -53,26 +55,20 @@ Fl_Hor_Nice_Slider(int X, int Y, int W, int H, const char *L=0); <td><pre> function Create (X, Y, W, H : in Integer; - Text : in String) - return Hor_Nice_Slider; + Text : in String := "") + return Horizontal_Nice_Slider; </pre></td> </tr> <tr> -<td> </td> +<td>Rely on the automatic use of begin when a group is created, or use begin/end +explicitly, or add each widget to its intended parent group manually.</td> <td><pre> -procedure Draw - (This : in out Hor_Nice_Slider); -</pre></td> - </tr> - - <tr> -<td> </td> -<td><pre> -function Handle - (This : in out Hor_Nice_Slider; - Event : in Event_Kind) - return Event_Outcome; +function Create + (Parent : in out FLTK.Widgets.Groups.Group'Class; + X, Y, W, H : in Integer; + Text : in String := "") + return Horizontal_Nice_Slider; </pre></td> </tr> diff --git a/doc/fl_hor_slider.html b/doc/fl_hor_slider.html index 9cc9a22..7f676ee 100644 --- a/doc/fl_hor_slider.html +++ b/doc/fl_hor_slider.html @@ -1,4 +1,3 @@ - <!DOCTYPE html> <html lang="en"> @@ -14,6 +13,9 @@ <h2>Fl_Hor_Slider Binding Map</h2> +<a href="index.html">Back to Index</a> + + <table class="package"> <tr><th colspan="2">Package name</th></tr> @@ -44,7 +46,7 @@ <table class="function"> - <tr><th colspan="2">Functions and Procedures</th></tr> + <tr><th colspan="2">Constructors</th></tr> <tr> <td><pre> @@ -53,26 +55,20 @@ Fl_Hor_Slider(int X, int Y, int W, int H, const char *L=0); <td><pre> function Create (X, Y, W, H : in Integer; - Text : in String) + Text : in String := "") return Horizontal_Slider; </pre></td> </tr> <tr> -<td> </td> -<td><pre> -procedure Draw - (This : in out Horizontal_Slider); -</pre></td> - </tr> - - <tr> -<td> </td> +<td>Rely on the automatic use of begin when a group is created, or use begin/end +explicitly, or add each widget to its intended parent group manually.</td> <td><pre> -function Handle - (This : in out Horizontal_Slider; - Event : in Event_Kind) - return Event_Outcome; +function Create + (Parent : in out FLTK.Widgets.Groups.Group'Class; + X, Y, W, H : in Integer; + Text : in String := "") + return Horizontal_Slider; </pre></td> </tr> diff --git a/doc/fl_hor_value_slider.html b/doc/fl_hor_value_slider.html index 7d817a4..16b0eca 100644 --- a/doc/fl_hor_value_slider.html +++ b/doc/fl_hor_value_slider.html @@ -1,4 +1,3 @@ - <!DOCTYPE html> <html lang="en"> @@ -14,6 +13,9 @@ <h2>Fl_Hor_Value_Slider Binding Map</h2> +<a href="index.html">Back to Index</a> + + <table class="package"> <tr><th colspan="2">Package name</th></tr> @@ -31,12 +33,12 @@ <tr> <td>Fl_Hor_Value_Slider</td> - <td>Hor_Value_Slider</td> + <td>Horizontal_Value_Slider</td> </tr> <tr> <td> </td> - <td>Hor_Value_Slider_Reference</td> + <td>Horizontal_Value_Slider_Reference</td> </tr> </table> @@ -44,7 +46,7 @@ <table class="function"> - <tr><th colspan="2">Functions and Procedures</th></tr> + <tr><th colspan="2">Constructors</th></tr> <tr> <td><pre> @@ -53,26 +55,20 @@ Fl_Hor_Value_Slider(int X, int Y, int W, int H, const char *L=0); <td><pre> function Create (X, Y, W, H : in Integer; - Text : in String) - return Hor_Value_Slider; + Text : in String := "") + return Horizontal_Value_Slider; </pre></td> </tr> <tr> -<td> </td> +<td>Rely on the automatic use of begin when a group is created, or use begin/end +explicitly, or add each widget to its intended parent group manually.</td> <td><pre> -procedure Draw - (This : in out Hor_Value_Slider); -</pre></td> - </tr> - - <tr> -<td> </td> -<td><pre> -function Handle - (This : in out Hor_Value_Slider; - Event : in Event_Kind) - return Event_Outcome; +function Create + (Parent : in out FLTK.Widgets.Groups.Group'Class; + X, Y, W, H : in Integer; + Text : in String := "") + return Horizontal_Value_Slider; </pre></td> </tr> diff --git a/doc/fl_image.html b/doc/fl_image.html index 4708f3f..201a2fa 100644 --- a/doc/fl_image.html +++ b/doc/fl_image.html @@ -1,4 +1,3 @@ - <!DOCTYPE html> <html lang="en"> @@ -14,6 +13,9 @@ <h2>Fl_Image Binding Map</h2> +<a href="index.html">Back to Index</a> + + <table class="package"> <tr><th colspan="2">Package name</th></tr> @@ -44,9 +46,26 @@ <td>Scaling_Kind</td> </tr> +</table> + + + +<table class="type"> + <tr><th colspan="2">Errors</th></tr> + <tr> - <td> </td> - <td>Blend</td> + <td>ERR_FILE_ACCESS</td> + <td>File_Access_Error</td> + </tr> + + <tr> + <td>ERR_FORMAT</td> + <td>Format_Error</td> + </tr> + + <tr> + <td>ERR_NO_IMAGE</td> + <td>No_Image_Error</td> </tr> </table> @@ -54,7 +73,35 @@ <table class="function"> - <tr><th colspan="2">Functions and Procedures</th></tr> + <tr><th colspan="2">Static Attributes</th></tr> + + <tr> +<td><pre> +static const int ERR_FILE_ACCESS = -2; +</pre></td> +<td>See the errors table.</td> + </tr> + + <tr> +<td><pre> +static const int ERR_FORMAT = -3; +</pre></td> +<td>See the errors table.</td> + </tr> + + <tr> +<td><pre> +static const int ERR_NO_IMAGE = -1; +</pre></td> +<td>See the errors table.</td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Constructors</th></tr> <tr> <td><pre> @@ -67,6 +114,40 @@ function Create </pre></td> </tr> +</table> + + + +<table class="function"> + <tr><th colspan="2">Static Functions and Procedures</th></tr> + + <tr> +<td><pre> +static void RGB_scaling(Fl_RGB_Scaling); +</pre></td> +<td><pre> +procedure Set_Copy_Algorithm + (To : in Scaling_Kind); +</pre></td> + </tr> + + <tr> +<td><pre> +static Fl_RGB_Scaling RGB_scaling(); +</pre></td> +<td><pre> +function Get_Copy_Algorithm + return Scaling_Kind; +</pre></td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Functions and Procedures</th></tr> + <tr> <td><pre> virtual void color_average(Fl_Color c, float i); @@ -106,7 +187,7 @@ function Copy <td><pre> int count() const; </pre></td> -<td> </td> +<td>Intentionally left unbound.</td> </tr> <tr> @@ -124,7 +205,8 @@ function Get_D <td><pre> const char * const * data() const; </pre></td> -<td> </td> +<td>See Data_Size, Get_Datum, Set_Datum, Slice, Overwrite, All_Data subprograms +in Fl_Bitmap and Fl_RGB_Image.</td> </tr> <tr> @@ -139,13 +221,14 @@ procedure Desaturate <tr> <td><pre> -virtual void draw(int X, int Y, int W, int H, int cx=0, int cy=0); +virtual void draw(int X, int Y, int W, int H, + int cx=0, int cy=0); </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> @@ -162,17 +245,6 @@ procedure Draw <tr> <td><pre> -void draw_empty(int X, int Y); -</pre></td> -<td><pre> -procedure Draw_Empty - (This : in Image; - X, Y : in Integer); -</pre></td> - </tr> - - <tr> -<td><pre> int fail(); </pre></td> <td><pre> @@ -207,59 +279,121 @@ procedure Inactive <td><pre> virtual void label(Fl_Widget *w); </pre></td> -<td> </td> +<td>Marked as obsolete.</td> </tr> <tr> <td><pre> virtual void label(Fl_Menu_Item *m); </pre></td> -<td> </td> +<td>Marked as obsolete.</td> </tr> <tr> <td><pre> int ld() const; </pre></td> -<td> </td> +<td><pre> +function Get_Line_Size + (This : in Image) + return Natural; +</pre></td> </tr> <tr> <td><pre> -static void RGB_scaling(Fl_RGB_Scaling); +virtual void uncache(); </pre></td> <td><pre> -procedure Set_Copy_Algorithm - (To : in Scaling_Kind); +procedure Uncache + (This : in out Image); </pre></td> </tr> <tr> <td><pre> -static Fl_RGB_Scaling RGB_scaling(); +int w() const; </pre></td> <td><pre> -function Get_Copy_Algorithm - return Scaling_Kind; +function Get_W + (This : in Image) + return Natural; </pre></td> </tr> +</table> + + + +<table class="function"> + <tr><th colspan="2">Static Protected Functions and Procedures</th></tr> + <tr> <td><pre> -virtual void uncache(); +static void labeltype(const Fl_Label *lo, int lx, int ly, + int lw, int lh, Fl_Align la); </pre></td> -<td> </td> +<td>Intentionally left unbound.</td> </tr> <tr> <td><pre> -int w() const; +static void measure(const Fl_Label *lo, int &lw, int &lh); +</pre></td> +<td>Intentionally left unbound.</td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Protected Functions and Procedures</th></tr> + + <tr> +<td><pre> +void d(int D); </pre></td> +<td>Intentionally left unbound.</td> + </tr> + + <tr> <td><pre> -function Get_W - (This : in Image) - return Natural; +void data(const char *const *p, int c); +</pre></td> +<td>Intentionally left unbound.</td> + </tr> + + <tr> +<td><pre> +void draw_empty(int X, int Y); +</pre></td> +<td><pre> +procedure Draw_Empty + (This : in Image; + X, Y : in Integer); +</pre></td> + </tr> + + <tr> +<td><pre> +void h(int H); +</pre></td> +<td>Intentionally left unbound.</td> + </tr> + + <tr> +<td><pre> +void ld(int LD); +</pre></td> +<td>Intentionally left unbound.</td> + </tr> + + <tr> +<td><pre> +void w(int W); </pre></td> +<td>Intentionally left unbound.</td> </tr> </table> diff --git a/doc/fl_image_surface.html b/doc/fl_image_surface.html index 4450127..46f6575 100644 --- a/doc/fl_image_surface.html +++ b/doc/fl_image_surface.html @@ -1,4 +1,3 @@ - <!DOCTYPE html> <html lang="en"> @@ -14,12 +13,15 @@ <h2>Fl_Image_Surface 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_Image_Surface</td> - <td>FLTK.Devices.Surfaces.Image</td> + <td>FLTK.Devices.Surface.Image</td> </tr> </table> @@ -44,7 +46,21 @@ <table class="function"> - <tr><th colspan="2">Functions and Procedures</th></tr> + <tr><th colspan="2">Static Attributes</th></tr> + + <tr> +<td><pre> +static const char * class_id = "Fl_Image_Surface"; +</pre></td> +<td>Deprecated, use runtime tag checks instead.</td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Constructors</th></tr> <tr> <td><pre> @@ -58,11 +74,18 @@ function Create </pre></td> </tr> +</table> + + + +<table class="function"> + <tr><th colspan="2">Functions and Procedures</th></tr> + <tr> <td><pre> const char * class_name(); </pre></td> -<td> </td> +<td>Deprecated, use runtime tag checks instead.</td> </tr> <tr> @@ -79,7 +102,8 @@ procedure Draw_Widget <tr> <td><pre> -void draw_decorated_window(Fl_Window *win, int delta_x=0, int delta_y=0); +void draw_decorated_window(Fl_Window *win, int delta_x=0, + int delta_y=0); </pre></td> <td><pre> procedure Draw_Decorated_Window diff --git a/doc/fl_input.html b/doc/fl_input.html index f93b4c8..427d4d1 100644 --- a/doc/fl_input.html +++ b/doc/fl_input.html @@ -1,4 +1,3 @@ - <!DOCTYPE html> <html lang="en"> @@ -14,12 +13,15 @@ <h2>Fl_Input 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_Input_<br>Fl_Input</td> - <td>FLTK.Widgets.Inputs</td> + <td>Fl_Input</td> + <td>FLTK.Widgets.Inputs.Text</td> </tr> </table> @@ -30,18 +32,13 @@ <tr><th colspan="2">Types</th></tr> <tr> - <td>Fl_Input_<br>Fl_Input</td> - <td>Input</td> - </tr> - - <tr> - <td> </td> - <td>Input_Reference</td> + <td>Fl_Input</td> + <td>Text_Input</td> </tr> <tr> <td> </td> - <td>Input_Kind</td> + <td>Text_Input_Reference</td> </tr> </table> @@ -49,121 +46,38 @@ <table class="function"> - <tr><th colspan="2">Functions and Procedures</th></tr> + <tr><th colspan="2">Constructors</th></tr> <tr> <td><pre> -Fl_Input_(int, int, int, int, const char*=0); -Fl_Input(int, int, int, int, const char*=0); +Fl_Input(int, int, int, int, const char *=0); </pre></td> <td><pre> function Create (X, Y, W, H : in Integer; - Text : in String) - return Input; -</pre></td> - </tr> - - <tr> -<td> </td> -<td><pre> -function Has_Changed - (This : in Input) - return Boolean; -</pre></td> - </tr> - - <tr> -<td> </td> -<td><pre> -procedure Clear_Changed - (This : in out Input); -</pre></td> - </tr> - - <tr> -<td><pre> -int copy(int clipboard); -</pre></td> -<td><pre> -procedure Copy - (This : in out Input); -</pre></td> - </tr> - - <tr> -<td><pre> -int copy_cuts(); -</pre></td> -<td><pre> -procedure Copy_Cuts - (This : in out Input); -</pre></td> - </tr> - - <tr> -<td><pre> -Fl_Color cursor_color() const; -</pre></td> -<td><pre> -function Get_Cursor_Color - (This : in Input) - return Color; + Text : in String := "") + return Text_Input; </pre></td> </tr> <tr> +<td>Rely on the automatic use of begin when a group is created, or use begin/end +explicitly, or add each widget to its intended parent group manually.</td> <td><pre> -void cursor_color(Fl_Color n); -</pre></td> -<td><pre> -procedure Set_Cursor_Color - (This : in out Input; - To : in Color); +function Create + (Parent : in out FLTK.Widgets.Groups.Group'Class; + X, Y, W, H : in Integer; + Text : in String := "") + return Text_Input; </pre></td> </tr> - <tr> -<td><pre> -int cut(); -</pre></td> -<td><pre> -procedure Cut - (This : in out Input); -</pre></td> - </tr> +</table> - <tr> -<td><pre> -int cut(int n); -</pre></td> -<td><pre> -procedure Cut - (This : in out Input; - Num_Bytes : in Integer); -</pre></td> - </tr> - <tr> -<td><pre> -int cut(int a, int b); -</pre></td> -<td><pre> -procedure Cut - (This : in out Input; - Start, Finish : in Integer); -</pre></td> - </tr> - <tr> -<td><pre> -void draw(); -</pre></td> -<td><pre> -procedure Draw - (This : in out Input); -</pre></td> - </tr> +<table class="function"> + <tr><th colspan="2">Functions and Procedures</th></tr> <tr> <td><pre> @@ -171,369 +85,26 @@ int handle(int); </pre></td> <td><pre> function Handle - (This : in out Input; + (This : in out Text_Input; Event : in Event_Kind) return Event_Outcome; </pre></td> </tr> - <tr> -<td><pre> -Fl_Char index(int i) const; -</pre></td> -<td><pre> -function Index - (This : in Input; - Place : in Integer) - return Character; -</pre></td> - </tr> - - <tr> -<td><pre> -int input_type() const; -</pre></td> -<td><pre> -function Get_Input_Type - (This : in Input) - return Input_Kind; -</pre></td> - </tr> - - <tr> -<td><pre> -void input_type(int t); -</pre></td> -<td><pre> -procedure Set_Input_Type - (This : in out Input; - To : in Input_Kind); -</pre></td> - </tr> - - <tr> -<td><pre> -int insert(const char *t, int l=0); -</pre></td> -<td><pre> -procedure Insert - (This : in out Input; - Str : in String); -</pre></td> - </tr> - - <tr> -<td><pre> -int mark() const; -</pre></td> -<td><pre> -function Get_Mark - (This : in Input) - return Natural; -</pre></td> - </tr> - - <tr> -<td><pre> -int mark(int m); -</pre></td> -<td><pre> -procedure Set_Mark - (This : in out Input; - To : in Natural); -</pre></td> - </tr> - - <tr> -<td><pre> -int maximum_size() const; -</pre></td> -<td><pre> -function Get_Maximum_Size - (This : in Input) - return Natural; -</pre></td> - </tr> - - <tr> -<td><pre> -void maximum_size(int m); -</pre></td> -<td><pre> -procedure Set_Maximum_Size - (This : in out Input; - To : in Natural); -</pre></td> - </tr> - - <tr> -<td><pre> -int position() const; -</pre></td> -<td><pre> -function Get_Position - (This : in Input) - return Natural; -</pre></td> - </tr> - - <tr> -<td><pre> -int position(int p, int m); -</pre></td> -<td> </td> - </tr> - - <tr> -<td><pre> -int position(int p); -</pre></td> -<td><pre> -procedure Set_Position - (This : in out Input; - To : in Natural); -</pre></td> - </tr> - - <tr> -<td><pre> -int readonly() const; -</pre></td> -<td><pre> -function Is_Readonly - (This : in Input) - return Boolean; -</pre></td> - </tr> - - <tr> -<td><pre> -void readonly(int b); -</pre></td> -<td><pre> -procedure Set_Readonly - (This : in out Input; - To : in Boolean); -</pre></td> - </tr> - - <tr> -<td><pre> -int replace(int b, int e, const char *text, int ilen=0); -</pre></td> -<td><pre> -procedure Replace - (This : in out Input; - From, To : in Natural; - New_Text : in String); -</pre></td> - </tr> - - <tr> -<td><pre> -void resize(int, int, int, int); -</pre></td> -<td> </td> - </tr> - - <tr> -<td><pre> -int shortcut() const; -</pre></td> -<td><pre> -function Get_Shortcut_Key - (This : in Input) - return Shortcut_Key; -</pre></td> - </tr> - - <tr> -<td><pre> -void shortcut(int s); -</pre></td> -<td><pre> -procedure Set_Shortcut_Key - (This : in out Input; - To : in Shortcut_Key); -</pre></td> - </tr> - - <tr> -<td><pre> -int size() const; -</pre></td> -<td><pre> -function Size - (This : in Input) - return Natural; -</pre></td> - </tr> - - <tr> -<td><pre> -void size(int W, int H); -</pre></td> -<td><pre> -procedure Resize - (This : in out Input; - W, H : in Integer); -</pre></td> - </tr> - - <tr> -<td><pre> -int static_value(const char *); -</pre></td> -<td> </td> - </tr> - - <tr> -<td><pre> -int static_value(const char *, int); -</pre></td> -<td> </td> - </tr> - - <tr> -<td><pre> -void tab_nav(int val); -</pre></td> -<td><pre> -procedure Set_Tab_Nav - (This : in out Input; - To : in Boolean); -</pre></td> - </tr> - - <tr> -<td><pre> -int tab_nav() const; -</pre></td> -<td><pre> -function Is_Tab_Nav - (This : in Input) - return Boolean; -</pre></td> - </tr> - - <tr> -<td><pre> -Fl_Color textcolor() const; -</pre></td> -<td><pre> -function Get_Text_Color - (This : in Input) - return Color; -</pre></td> - </tr> - - <tr> -<td><pre> -void textcolor(Fl_Color n); -</pre></td> -<td><pre> -procedure Set_Text_Color - (This : in out Input; - To : in Color); -</pre></td> - </tr> - - <tr> -<td><pre> -Fl_Font textfont() const; -</pre></td> -<td><pre> -function Get_Text_Font - (This : in Input) - return Font_Kind; -</pre></td> - </tr> - - <tr> -<td><pre> -void textfont(Fl_Font s); -</pre></td> -<td><pre> -procedure Set_Text_Font - (This : in out Input; - To : in Font_Kind); -</pre></td> - </tr> - - <tr> -<td><pre> -Fl_Fontsize textsize() const; -</pre></td> -<td><pre> -function Get_Text_Size - (This : in Input) - return Font_Size; -</pre></td> - </tr> - - <tr> -<td><pre> -void textsize(Fl_Fontsize s); -</pre></td> -<td><pre> -procedure Set_Text_Size - (This : in out Input; - To : in Font_Size); -</pre></td> - </tr> - - <tr> -<td><pre> -int undo(); -</pre></td> -<td><pre> -procedure Undo - (This : in out Input); -</pre></td> - </tr> +</table> - <tr> -<td><pre> -int value(const char *); -int value(const char *, int); -</pre></td> -<td><pre> -procedure Set_Value - (This : in out Input; - To : in String); -</pre></td> - </tr> - <tr> -<td><pre> -const char * value() const; -</pre></td> -<td><pre> -function Get_Value - (This : in Input) - return String; -</pre></td> - </tr> - <tr> -<td><pre> -int wrap() const; -</pre></td> -<td><pre> -function Is_Wrap - (This : in Input) - return Boolean; -</pre></td> - </tr> +<table class="function"> + <tr><th colspan="2">Protected Functions and Procedures</th></tr> <tr> <td><pre> -void wrap(int b); +void draw(); </pre></td> <td><pre> -procedure Set_Wrap - (This : in out Input; - To : in Boolean); +procedure Draw + (This : in out Text_Input); </pre></td> </tr> diff --git a/doc/fl_input_.html b/doc/fl_input_.html new file mode 100644 index 0000000..e9edf37 --- /dev/null +++ b/doc/fl_input_.html @@ -0,0 +1,602 @@ +<!DOCTYPE html> + +<html lang="en"> + <head> + <meta charset="utf-8"> + <title>Fl_Input_ Binding Map</title> + <link href="map.css" rel="stylesheet"> + </head> + + <body> + + +<h2>Fl_Input_ 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_Input_</td> + <td>FLTK.Widgets.Inputs</td> + </tr> + +</table> + +<p><b>Note:</b><br /><br /> +This Input type should really be abstract but cannot be for technical binding reasons. +If you try to use it directly you will get issues with the draw and handle methods. +Either extend it and override those subprograms or use types already extended from it.</p> + + + +<table class="type"> + <tr><th colspan="2">Types</th></tr> + + <tr> + <td>Fl_Input_</td> + <td>Input</td> + </tr> + + <tr> + <td> </td> + <td>Input_Reference</td> + </tr> + + <tr> + <td>int</td> + <td>Input_Kind</td> + </tr> + + <tr> + <td>int</td> + <td>Clipboard_Kind</td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Constructors</th></tr> + + <tr> +<td><pre> +Fl_Input_(int, int, int, int, const char*=0); +</pre></td> +<td><pre> +function Create + (X, Y, W, H : in Integer; + Text : in String := "") + return Input; +</pre></td> + </tr> + + <tr> +<td>Rely on the automatic use of begin when a group is created, or use begin/end +explicitly, or add each widget to its intended parent group manually.</td> +<td><pre> +function Create + (Parent : in out FLTK.Widgets.Groups.Group'Class; + X, Y, W, H : in Integer; + Text : in String := "") + return Input; +</pre></td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Functions and Procedures</th></tr> + + <tr> +<td><pre> +int copy(int clipboard); +</pre></td> +<td><pre> +procedure Copy + (This : in out Input; + Destination : in Clipboard_Kind := Cut_Paste_Board); + +function Copy + (This : in out Input; + Destination : in Clipboard_Kind := Cut_Paste_Board) + return Boolean; +</pre></td> + </tr> + + <tr> +<td><pre> +int copy_cuts(); +</pre></td> +<td><pre> +procedure Copy_Cuts + (This : in out Input); + +function Copy_Cuts + (This : in out Input) + return Boolean; +</pre></td> + </tr> + + <tr> +<td><pre> +Fl_Color cursor_color() const; +</pre></td> +<td><pre> +function Get_Cursor_Color + (This : in Input) + return Color; +</pre></td> + </tr> + + <tr> +<td><pre> +void cursor_color(Fl_Color n); +</pre></td> +<td><pre> +procedure Set_Cursor_Color + (This : in out Input; + To : in Color); +</pre></td> + </tr> + + <tr> +<td><pre> +int cut(); +</pre></td> +<td><pre> +procedure Cut + (This : in out Input); + +function Cut + (This : in out Input) + return Boolean; +</pre></td> + </tr> + + <tr> +<td><pre> +int cut(int n); +</pre></td> +<td><pre> +procedure Cut + (This : in out Input; + Num_Bytes : in Integer); + +function Cut + (This : in out Input; + Num_Bytes : in Integer) + return Boolean; +</pre></td> + </tr> + + <tr> +<td><pre> +int cut(int a, int b); +</pre></td> +<td><pre> +procedure Cut + (This : in out Input; + Start, Finish : in Integer); + +function Cut + (This : in out Input; + Start, Finish : in Integer) + return Boolean; +</pre></td> + </tr> + + <tr> +<td><pre> +Fl_Char index(int i) const; +</pre></td> +<td><pre> +function Index + (This : in Input; + Place : in Integer) + return Character; +</pre></td> + </tr> + + <tr> +<td><pre> +int input_type() const; +</pre></td> +<td><pre> +function Get_Kind + (This : in Input) + return Input_Kind; +</pre></td> + </tr> + + <tr> +<td><pre> +void input_type(int t); +</pre></td> +<td><pre> +procedure Set_Kind + (This : in out Input; + To : in Input_Kind); +</pre></td> + </tr> + + <tr> +<td><pre> +int insert(const char *t, int l=0); +</pre></td> +<td><pre> +procedure Insert + (This : in out Input; + Str : in String); + +function Insert + (This : in out Input; + Str : in String) + return Boolean; +</pre></td> + </tr> + + <tr> +<td><pre> +int mark() const; +</pre></td> +<td><pre> +function Get_Mark + (This : in Input) + return Natural; +</pre></td> + </tr> + + <tr> +<td><pre> +int mark(int m); +</pre></td> +<td><pre> +procedure Set_Mark + (This : in out Input; + To : in Natural); + +function Set_Mark + (This : in out Input; + To : in Natural) + return Boolean; +</pre></td> + </tr> + + <tr> +<td><pre> +int maximum_size() const; +</pre></td> +<td><pre> +function Get_Maximum_Size + (This : in Input) + return Natural; +</pre></td> + </tr> + + <tr> +<td><pre> +void maximum_size(int m); +</pre></td> +<td><pre> +procedure Set_Maximum_Size + (This : in out Input; + To : in Natural); +</pre></td> + </tr> + + <tr> +<td><pre> +int position() const; +</pre></td> +<td><pre> +function Get_Position + (This : in Input) + return Natural; +</pre></td> + </tr> + + <tr> +<td><pre> +int position(int p, int m); +</pre></td> +<td><pre> +procedure Set_Position_Mark + (This : in out Input; + Place : in Natural; + Mark : in Natural); + +function Set_Position_Mark + (This : in out Input; + Place : in Natural; + Mark : in Natural) + return Boolean; +</pre></td> + </tr> + + <tr> +<td><pre> +int position(int p); +</pre></td> +<td><pre> +procedure Set_Position + (This : in out Input; + To : in Natural); + +function Set_Position + (This : in out Input; + To : in Natural) + return Boolean; +</pre></td> + </tr> + + <tr> +<td><pre> +int readonly() const; +</pre></td> +<td><pre> +function Is_Readonly + (This : in Input) + return Boolean; +</pre></td> + </tr> + + <tr> +<td><pre> +void readonly(int b); +</pre></td> +<td><pre> +procedure Set_Readonly + (This : in out Input; + To : in Boolean); +</pre></td> + </tr> + + <tr> +<td><pre> +int replace(int b, int e, const char *text, int ilen=0); +</pre></td> +<td><pre> +procedure Replace + (This : in out Input; + From, To : in Natural; + New_Text : in String); + +function Replace + (This : in out Input; + From, To : in Natural; + New_Text : in String) + return Boolean; +</pre></td> + </tr> + + <tr> +<td><pre> +void resize(int, int, int, int); +</pre></td> +<td><pre> +procedure Resize + (This : in out Input; + X, Y, W, H : in Integer); +</pre></td> + </tr> + + <tr> +<td><pre> +int shortcut() const; +</pre></td> +<td><pre> +function Get_Shortcut + (This : in Input) + return Key_Combo; +</pre></td> + </tr> + + <tr> +<td><pre> +void shortcut(int s); +</pre></td> +<td><pre> +procedure Set_Shortcut + (This : in out Input; + To : in Key_Combo); +</pre></td> + </tr> + + <tr> +<td><pre> +int size() const; +</pre></td> +<td><pre> +function Size + (This : in Input) + return Natural; +</pre></td> + </tr> + + <tr> +<td><pre> +void size(int W, int H); +</pre></td> +<td><pre> +procedure Resize + (This : in out Input; + W, H : in Integer); +</pre></td> + </tr> + + <tr> +<td><pre> +int static_value(const char *); + +int static_value(const char *, int); +</pre></td> +<td>Due to the marshalling between String and char * there is no point +to binding these methods. Use value / Set_Value instead.</td> + </tr> + + <tr> +<td><pre> +void tab_nav(int val); +</pre></td> +<td><pre> +procedure Set_Tab_Nav + (This : in out Input; + To : in Boolean); +</pre></td> + </tr> + + <tr> +<td><pre> +int tab_nav() const; +</pre></td> +<td><pre> +function Is_Tab_Nav + (This : in Input) + return Boolean; +</pre></td> + </tr> + + <tr> +<td><pre> +Fl_Color textcolor() const; +</pre></td> +<td><pre> +function Get_Text_Color + (This : in Input) + return Color; +</pre></td> + </tr> + + <tr> +<td><pre> +void textcolor(Fl_Color n); +</pre></td> +<td><pre> +procedure Set_Text_Color + (This : in out Input; + To : in Color); +</pre></td> + </tr> + + <tr> +<td><pre> +Fl_Font textfont() const; +</pre></td> +<td><pre> +function Get_Text_Font + (This : in Input) + return Font_Kind; +</pre></td> + </tr> + + <tr> +<td><pre> +void textfont(Fl_Font s); +</pre></td> +<td><pre> +procedure Set_Text_Font + (This : in out Input; + To : in Font_Kind); +</pre></td> + </tr> + + <tr> +<td><pre> +Fl_Fontsize textsize() const; +</pre></td> +<td><pre> +function Get_Text_Size + (This : in Input) + return Font_Size; +</pre></td> + </tr> + + <tr> +<td><pre> +void textsize(Fl_Fontsize s); +</pre></td> +<td><pre> +procedure Set_Text_Size + (This : in out Input; + To : in Font_Size); +</pre></td> + </tr> + + <tr> +<td><pre> +int undo(); +</pre></td> +<td><pre> +procedure Undo + (This : in out Input); + +function Undo + (This : in out Input) + return Boolean; +</pre></td> + </tr> + + <tr> +<td><pre> +int value(const char *); + +int value(const char *, int); +</pre></td> +<td><pre> +procedure Set_Value + (This : in out Input; + To : in String); + +function Set_Value + (This : in out Input; + To : in String) + return Boolean; +</pre></td> + </tr> + + <tr> +<td><pre> +const char * value() const; +</pre></td> +<td><pre> +function Get_Value + (This : in Input) + return String; +</pre></td> + </tr> + + <tr> +<td><pre> +int wrap() const; +</pre></td> +<td><pre> +function Is_Wrap + (This : in Input) + return Boolean; +</pre></td> + </tr> + + <tr> +<td><pre> +void wrap(int b); +</pre></td> +<td><pre> +procedure Set_Wrap + (This : in out Input; + To : in Boolean); +</pre></td> + </tr> + +</table> + + + </body> +</html> + diff --git a/doc/fl_input_choice.html b/doc/fl_input_choice.html index c15f677..4f5ef44 100644 --- a/doc/fl_input_choice.html +++ b/doc/fl_input_choice.html @@ -1,4 +1,3 @@ - <!DOCTYPE html> <html lang="en"> @@ -14,6 +13,9 @@ <h2>Fl_Input_Choice Binding Map</h2> +<a href="index.html">Back to Index</a> + + <table class="package"> <tr><th colspan="2">Package name</th></tr> @@ -44,7 +46,36 @@ <table class="function"> - <tr><th colspan="2">Functions and Procedures</th></tr> + <tr><th colspan="2">Attributes</th></tr> + + <tr> +<td><pre> +Fl_Input * input(); +</pre></td> +<td><pre> +function Text_Field + (This : in out Input_Choice) + return FLTK.Widgets.Inputs.Text.Text_Input_Reference; +</pre></td> + </tr> + + <tr> +<td><pre> +Fl_Menu_Button * menubutton(); +</pre></td> +<td><pre> +function Button_Menu + (This : in out Input_Choice) + return FLTK.Widgets.Menus.Menu_Buttons.Menu_Button_Reference; +</pre></td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Constructors</th></tr> <tr> <td><pre> @@ -53,16 +84,35 @@ Fl_Input_Choice(int X, int Y, int W, int H, const char *L=0); <td><pre> function Create (X, Y, W, H : in Integer; - Text : in String) + Text : in String := "") + return Input_Choice; +</pre></td> + </tr> + + <tr> +<td>Rely on the automatic use of begin when a group is created, or use begin/end +explicitly, or add each widget to its intended parent group manually.</td> +<td><pre> +function Create + (Parent : in out Groups.Group'Class; + X, Y, W, H : in Integer; + Text : in String := "") return Input_Choice; </pre></td> </tr> +</table> + + + +<table class="function"> + <tr><th colspan="2">Functions and Procedures</th></tr> + <tr> <td><pre> void add(const char *s); </pre></td> -<td>Use Menu_Button instead</td> +<td>Use menubutton / Button_Menu instead.</td> </tr> <tr> @@ -119,31 +169,22 @@ procedure Set_Down_Box </tr> <tr> -<td> </td> -<td><pre> -procedure Draw - (This : in out Input_Choice); -</pre></td> - </tr> - - <tr> -<td> </td> +<td>Check index values against the size method of menubutton manually.</td> <td><pre> -function Handle - (This : in out Input_Choice; - Event : in Event_Kind) - return Event_Outcome; +function Has_Item + (This : in Input_Choice; + Place : in FLTK.Widgets.Menus.Index) + return Boolean; </pre></td> </tr> <tr> +<td>Use the menu method to access the menu item array and index it directly.</td> <td><pre> -Fl_Input * input(); -</pre></td> -<td><pre> -function Input - (This : in out Input_Choice) - return FLTK.Widgets.Inputs.Input_Reference; +function Item + (This : in Input_Choice; + Place : in FLTK.Widgets.Menus.Index) + return FLTK.Menu_Items.Menu_Item_Reference; </pre></td> </tr> @@ -151,24 +192,17 @@ function Input <td><pre> const Fl_Menu_Item * menu(); </pre></td> -<td> </td> +<td>Use Item or Button_Menu.Iterate as necessary to access specific items or walk the array.</td> </tr> <tr> <td><pre> void menu(const Fl_Menu_Item *m); </pre></td> -<td> </td> - </tr> - - <tr> -<td><pre> -Fl_Menu_Button * menubutton(); -</pre></td> <td><pre> -function Menu_Button - (This : in out Input_Choice) - return FLTK.Widgets.Menus.Menu_Buttons.Menu_Button_Reference; +procedure Use_Same_Items + (This : in out Input_Choice; + Donor : in FLTK.Widgets.Menus.Menu'Class); </pre></td> </tr> @@ -176,7 +210,11 @@ function Menu_Button <td><pre> void resize(int X, int Y, int W, int H); </pre></td> -<td> </td> +<td><pre> +procedure Resize + (This : in out Input_Choice; + X, Y, W, H : in Integer); +</pre></td> </tr> <tr> diff --git a/doc/fl_int_input.html b/doc/fl_int_input.html index 5acce80..36fe4d2 100644 --- a/doc/fl_int_input.html +++ b/doc/fl_int_input.html @@ -1,4 +1,3 @@ - <!DOCTYPE html> <html lang="en"> @@ -14,12 +13,15 @@ <h2>Fl_Int_Input 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_Int_Input</td> - <td>FLTK.Widgets.Inputs.Integer</td> + <td>FLTK.Widgets.Inputs.Text.Whole_Number</td> </tr> </table> @@ -44,7 +46,7 @@ <table class="function"> - <tr><th colspan="2">Functions and Procedures</th></tr> + <tr><th colspan="2">Constructors</th></tr> <tr> <td><pre> @@ -53,35 +55,36 @@ Fl_Int_Input(int X, int Y, int W, int H, const char *L=0); <td><pre> function Create (X, Y, W, H : in Integer; - Text : in String) + Text : in String := "") return Integer_Input; </pre></td> </tr> <tr> -<td> </td> +<td>Rely on the automatic use of begin when a group is created, or use begin/end +explicitly, or add each widget to its intended parent group manually.</td> <td><pre> -procedure Draw - (This : in out Integer_Input); +function Create + (Parent : in out FLTK.Widgets.Groups.Group'Class; + X, Y, W, H : in Integer; + Text : in String := "") + return Integer_Input; </pre></td> </tr> +</table> + + + +<table class="function"> + <tr><th colspan="2">Functions and Procedures</th></tr> + <tr> -<td> </td> +<td>Use value() and manually convert from char * to int.</td> <td><pre> function Get_Value (This : in Integer_Input) - return Standard.Integer; -</pre></td> - </tr> - - <tr> -<td> </td> -<td><pre> -function Handle - (This : in out Integer_Input; - Event : in Event_Kind) - return Event_Outcome; + return Long_Integer; </pre></td> </tr> diff --git a/doc/fl_jpeg_image.html b/doc/fl_jpeg_image.html index b948ab0..9ca77b4 100644 --- a/doc/fl_jpeg_image.html +++ b/doc/fl_jpeg_image.html @@ -1,4 +1,3 @@ - <!DOCTYPE html> <html lang="en"> @@ -14,6 +13,9 @@ <h2>Fl_JPEG_Image Binding Map</h2> +<a href="index.html">Back to Index</a> + + <table class="package"> <tr><th colspan="2">Package name</th></tr> @@ -44,7 +46,7 @@ <table class="function"> - <tr><th colspan="2">Functions and Procedures</th></tr> + <tr><th colspan="2">Constructors</th></tr> <tr> <td><pre> @@ -61,7 +63,12 @@ function Create <td><pre> Fl_JPEG_Image(const char *name, const unsigned char *data); </pre></td> -<td> </td> +<td><pre> +function Create + (Name : in String := ""; + Data : in Color_Component_Array) + return JPEG_Image; +</pre></td> </tr> </table> diff --git a/doc/fl_label.html b/doc/fl_label.html new file mode 100644 index 0000000..dbdfeae --- /dev/null +++ b/doc/fl_label.html @@ -0,0 +1,222 @@ +<!DOCTYPE html> + +<html lang="en"> + <head> + <meta charset="utf-8"> + <title>Fl_Label Binding Map</title> + <link href="map.css" rel="stylesheet"> + </head> + + <body> + + +<h2>Fl_Label 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_Label</td> + <td>FLTK.Labels</td> + </tr> + +</table> + + + +<table class="type"> + <tr><th colspan="2">Types</th></tr> + + <tr> + <td>Fl_Label</td> + <td>Label</td> + </tr> + + <tr> + <td> </td> + <td>Label_Reference</td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Constructors</th></tr> + + <tr> +<td>Initialize manually as per any other struct.</td> +<td><pre> +function Create + (Value : in String; + Font : in Font_Kind := Helvetica; + Size : in Font_Size := Normal_Size; + Hue : in Color := Foreground_Color; + Kind : in Label_Kind := Normal_Label; + Place : in Alignment := Align_Center; + Active : access FLTK.Images.Image'Class := null; + Inactive : access FLTK.Images.Image'Class := null) + return Label; +</pre></td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Functions and Procedures</th></tr> + + <tr> +<td><pre> +Fl_Align align_; +</pre></td> +<td><pre> +function Get_Alignment + (This : in Label) + return Alignment; + +procedure Set_Alignment + (This : in out Label; + Place : in Alignment); +</pre></td> + </tr> + + <tr> +<td><pre> +Fl_Color color; +</pre></td> +<td><pre> +function Get_Color + (This : in Label) + return Color; + +procedure Set_Color + (This : in out Label; + Hue : in Color); +</pre></td> + </tr> + + <tr> +<td><pre> +Fl_Image * deimage; +</pre></td> +<td><pre> +function Get_Inactive + (This : in Label) + return access FLTK.Images.Image'Class; + +procedure Set_Inactive + (This : in out Label; + Pic : access FLTK.Images.Image'Class); +</pre></td> + </tr> + + <tr> +<td><pre> +void draw(int, int, int, int, Fl_Align); +</pre></td> +<td><pre> +procedure Draw + (This : in out Label; + X, Y, W, H : in Integer; + Place : in Alignment); +</pre></td> + </tr> + + <tr> +<td><pre> +Fl_Font font; +</pre></td> +<td><pre> +function Get_Font + (This : in Label) + return Font_Kind; + +procedure Set_Font + (This : in out Label; + Font : in Font_Kind); +</pre></td> + </tr> + + <tr> +<td><pre> +Fl_Image * image; +</pre></td> +<td><pre> +function Get_Active + (This : in Label) + return access FLTK.Images.Image'Class; + +procedure Set_Active + (This : in out Label; + Pic : access FLTK.Images.Image'Class); +</pre></td> + </tr> + + <tr> +<td><pre> +void measure(int, &w, int &h) const; +</pre></td> +<td><pre> +procedure Measure + (This : in Label; + W, H : out Integer); +</pre></td> + </tr> + + <tr> +<td><pre> +Fl_Fontsize size; +</pre></td> +<td><pre> +function Get_Size + (This : in Label) + return Font_Size; + +procedure Set_Size + (This : in out Label; + Size : in Font_Size); +</pre></td> + </tr> + + <tr> +<td><pre> +uchar type; +</pre></td> +<td><pre> +function Get_Kind + (This : in Label) + return Label_Kind; + +procedure Set_Kind + (This : in out Label; + Kind : in Label_Kind); +</pre></td> + </tr> + + <tr> +<td><pre> +const char * value; +</pre></td> +<td><pre> +function Get_Value + (This : in Label) + return String; + +procedure Set_Value + (This : in out Label; + Text : in String); +</pre></td> + </tr> + +</table> + + + </body> +</html> + diff --git a/doc/fl_light_button.html b/doc/fl_light_button.html index 521d1be..f80bc6a 100644 --- a/doc/fl_light_button.html +++ b/doc/fl_light_button.html @@ -1,4 +1,3 @@ - <!DOCTYPE html> <html lang="en"> @@ -14,6 +13,9 @@ <h2>Fl_Light_Button Binding Map</h2> +<a href="index.html">Back to Index</a> + + <table class="package"> <tr><th colspan="2">Package name</th></tr> @@ -43,7 +45,7 @@ <table class="function"> - <tr><th colspan="2">Functions and Procedures</th></tr> + <tr><th colspan="2">Constructors</th></tr> <tr> <td><pre> @@ -52,21 +54,30 @@ Fl_Light_Button(int X, int Y, int W, int H, const char *L=0); <td><pre> function Create (X, Y, W, H : in Integer; - Text : in String) + Text : in String := "") return Light_Button; </pre></td> </tr> <tr> +<td>Rely on the automatic use of begin when a group is created, or use begin/end +explicitly, or add each widget to its intended parent group manually.</td> <td><pre> -void draw(); -</pre></td> -<td><pre> -procedure Draw - (This : in out Light_Button); +function Create + (Parent : in out FLTK.Widgets.Groups.Group'Class; + X, Y, W, H : in Integer; + Text : in String := "") + return Light_Button; </pre></td> </tr> +</table> + + + +<table class="function"> + <tr><th colspan="2">Functions and Procedures</th></tr> + <tr> <td><pre> int handle(int); @@ -82,6 +93,23 @@ function Handle </table> + +<table class="function"> + <tr><th colspan="2">Protected Functions and Procedures</th></tr> + + <tr> +<td><pre> +void draw(); +</pre></td> +<td><pre> +procedure Draw + (This : in out Light_Button); +</pre></td> + </tr> + +</table> + + </body> </html> diff --git a/doc/fl_line_dial.html b/doc/fl_line_dial.html index 9020bad..d8e3e53 100644 --- a/doc/fl_line_dial.html +++ b/doc/fl_line_dial.html @@ -1,4 +1,3 @@ - <!DOCTYPE html> <html lang="en"> @@ -14,6 +13,9 @@ <h2>Fl_Line_Dial Binding Map</h2> +<a href="index.html">Back to Index</a> + + <table class="package"> <tr><th colspan="2">Package name</th></tr> @@ -44,7 +46,7 @@ <table class="function"> - <tr><th colspan="2">Functions and Procedures</th></tr> + <tr><th colspan="2">Constructors</th></tr> <tr> <td><pre> @@ -53,26 +55,20 @@ Fl_Line_Dial(int X, int Y, int W, int H, const char *L=0); <td><pre> function Create (X, Y, W, H : in Integer; - Text : in String) + Text : in String := "") return Line_Dial; </pre></td> </tr> <tr> -<td> </td> -<td><pre> -procedure Draw - (This : in out Line_Dial); -</pre></td> - </tr> - - <tr> -<td> </td> +<td>Rely on the automatic use of begin when a group is created, or use begin/end +explicitly, or add each widget to its intended parent group manually.</td> <td><pre> -function Handle - (This : in out Line_Dial; - Event : in Event_Kind) - return Event_Outcome; +function Create + (Parent : in out FLTK.Widgets.Groups.Group'Class; + X, Y, W, H : in Integer; + Text : in String := "") + return Line_Dial; </pre></td> </tr> diff --git a/doc/fl_menu_.html b/doc/fl_menu_.html index 731c16e..e92d0ee 100644 --- a/doc/fl_menu_.html +++ b/doc/fl_menu_.html @@ -1,4 +1,3 @@ - <!DOCTYPE html> <html lang="en"> @@ -14,6 +13,9 @@ <h2>Fl_Menu_ Binding Map</h2> +<a href="index.html">Back to Index</a> + + <table class="package"> <tr><th colspan="2">Package name</th></tr> @@ -24,6 +26,11 @@ </table> +<p><b>Note:</b><br /><br /> +This Menu type should really be abstract but cannot be for technical binding reasons. +If you try to use it directly you will get issues with the draw and handle methods. +Either extend it and override those subprograms or use types already extended from it.</p> + <table class="type"> @@ -40,12 +47,12 @@ </tr> <tr> - <td> </td> + <td>int</td> <td>Index</td> </tr> <tr> - <td> </td> + <td>int</td> <td>Extended_Index</td> </tr> @@ -58,8 +65,62 @@ +<table class="type"> + <tr><th colspan="2">Errors</th></tr> + + <tr> +<td>NULL</td> +<td>No_Reference_Error</td> + </tr> + +</table> + + + <table class="function"> - <tr><th colspan="2">Functions and Procedures</th></tr> + <tr><th colspan="2">Protected Attributes</th></tr> + + <tr> +<td><pre> +uchar alloc; +</pre></td> +<td>Intentionally left unbound.</td> + </tr> + + <tr> +<td><pre> +uchar down_box_; +</pre></td> +<td>Intentionally left unbound.</td> + </tr> + + <tr> +<td><pre> +Fl_Color textcolor_; +</pre></td> +<td>Intentionally left unbound.</td> + </tr> + + <tr> +<td><pre> +Fl_Font textfont_; +</pre></td> +<td>Intentionally left unbound.</td> + </tr> + + <tr> +<td><pre> +Fl_Fontsize textsize_; +</pre></td> +<td>Intentionally left unbound.</td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Constructors</th></tr> <tr> <td><pre> @@ -68,14 +129,50 @@ Fl_Menu_(int, int, int, int, const char *=0); <td><pre> function Create (X, Y, W, H : in Integer; - Text : in String) + Text : in String := "") + return Menu; +</pre></td> + </tr> + + <tr> +<td>Rely on the automatic use of begin when a group is created, or use begin/end +explicitly, or add each widget to its intended parent group manually.</td> +<td><pre> +function Create + (Parent : in out FLTK.Widgets.Groups.Group'Class; + X, Y, W, H : in Integer; + Text : in String := "") return Menu; </pre></td> </tr> +</table> + + + +<table class="function"> + <tr><th colspan="2">Functions and Procedures</th></tr> + <tr> <td><pre> -int add(const char *, int shortcut, Fl_Callback *, void *=0, int=0); +int add(const char *); +</pre></td> +<td><pre> +procedure Add + (This : in out Menu; + Text : in String); + +function Add + (This : in out Menu; + Text : in String) + return Index; +</pre></td> + </tr> + + <tr> +<td><pre> +int add(const char *, int shortcut, Fl_Callback *, + void *=0, int=0); </pre></td> <td><pre> procedure Add @@ -84,21 +181,38 @@ procedure Add Action : in Widget_Callback := null; Shortcut : in Key_Combo := No_Key; Flags : in Menu_Flag := Flag_Normal); + +function Add + (This : in out Menu; + Text : in String; + Action : in Widget_Callback := null; + Shortcut : in Key_Combo := No_Key; + Flags : in Menu_Flag := Flag_Normal) + return Index; </pre></td> </tr> <tr> <td><pre> -int add(const char *a, const char *b, Fl_Callback *c, void *d=0, int e=0); +int add(const char *a, const char *b, Fl_Callback *c, + void *d=0, int e=0); </pre></td> -<td> </td> - </tr> - - <tr> <td><pre> -int add(const char *); +procedure Add + (This : in out Menu; + Text : in String; + Action : in Widget_Callback := null; + Shortcut : in String; + Flags : in Menu_Flag := Flag_Normal); + +function Add + (This : in out Menu; + Text : in String; + Action : in Widget_Callback := null; + Shortcut : in String; + Flags : in Menu_Flag := Flag_Normal) + return Index; </pre></td> -<td> </td> </tr> <tr> @@ -115,14 +229,22 @@ procedure Clear <td><pre> int clear_submenu(int index); </pre></td> -<td> </td> +<td><pre> +procedure Clear_Submenu + (This : in out Menu; + Place : in Index); +</pre></td> </tr> <tr> <td><pre> void copy(const Fl_Menu_Item *m, void *user_data=0); </pre></td> -<td> </td> +<td><pre> +procedure Set_Items + (This : in out Menu; + Items : in FLTK.Menu_Items.Menu_Item_Array); +</pre></td> </tr> <tr> @@ -151,26 +273,18 @@ procedure Set_Down_Box <td><pre> Fl_Color down_color() const; </pre></td> -<td> </td> +<td>See selection_color / Get_Selection_Color from Fl_Widget.</td> </tr> <tr> <td><pre> void down_color(unsigned c); </pre></td> -<td> </td> +<td>See selection_color / Set_Selection_Color from Fl_Widget.</td> </tr> <tr> -<td> </td> -<td><pre> -procedure Draw - (This : in out Menu) is null; -</pre></td> - </tr> - - <tr> -<td>See draw method in Fl_Menu_Item</td> +<td>See draw method in Fl_Menu_Item.</td> <td><pre> procedure Draw_Item (This : in out Menu; @@ -241,27 +355,33 @@ function Find_Item </tr> <tr> +<td>See find_shortcut in Fl_Menu_Item.</td> <td><pre> -void global(); -</pre></td> -<td><pre> -procedure Make_Global - (This : in out Menu); +function Find_Shortcut + (This : in Menu; + Require_Alt : in Boolean := False) + return access FLTK.Menu_Items.Menu_Item'Class; + +function Find_Shortcut + (This : in Menu; + Place : out Extended_Index; + Require_Alt : in Boolean := False) + return access FLTK.Menu_Items.Menu_Item'Class; </pre></td> </tr> <tr> -<td> </td> <td><pre> -function Handle - (This : in out Menu; - Event : in Event_Kind) - return Event_Outcome; +void global(); +</pre></td> +<td><pre> +procedure Make_Global + (This : in out Menu); </pre></td> </tr> <tr> -<td> </td> +<td>Check index values against the size method manually.</td> <td><pre> function Has_Item (This : in Menu; @@ -281,7 +401,8 @@ function Has_Item <tr> <td><pre> -int insert(int index, const char *, int shortcut, Fl_Callback *, void *=0, int=0); +int insert(int index, const char *, int shortcut, + Fl_Callback *, void *=0, int=0); </pre></td> <td><pre> procedure Insert @@ -291,18 +412,45 @@ procedure Insert Action : in Widget_Callback := null; Shortcut : in Key_Combo := No_Key; Flags : in Menu_Flag := Flag_Normal); + +function Insert + (This : in out Menu; + Place : in Index; + Text : in String; + Action : in Widget_Callback := null; + Shortcut : in Key_Combo := No_Key; + Flags : in Menu_Flag := Flag_Normal) + return Index; </pre></td> </tr> <tr> <td><pre> -int insert(int index, const char *a, const char *b, Fl_Callback *c, void *d=0, int e=0); +int insert(int index, const char *a, const char *b, + Fl_Callback *c, void *d=0, int e=0); +</pre></td> +<td><pre> +procedure Insert + (This : in out Menu; + Place : in Index; + Text : in String; + Action : in Widget_Callback := null; + Shortcut : in String; + Flags : in Menu_Flag := Flag_Normal); + +function Insert + (This : in out Menu; + Place : in Index; + Text : in String; + Action : in Widget_Callback := null; + Shortcut : in String; + Flags : in Menu_Flag := Flag_Normal) + return Index; </pre></td> -<td> </td> </tr> <tr> -<td> </td> +<td>Use the menu method to access the menu item array and index it directly.</td> <td><pre> function Item (This : in Menu; @@ -323,9 +471,19 @@ function Item <tr> <td><pre> -int item_pathname(char *name, int namelen, const Fl_Menu_Item *finditem=0) const; +int item_pathname(char *name, int namelen, + const Fl_Menu_Item *finditem=0) const; +</pre></td> +<td><pre> +function Item_Pathname + (This : in Menu) + return String; + +function Item_Pathname + (This : in Menu; + Item : in FLTK.Menu_Items.Menu_Item) + return String; </pre></td> -<td> </td> </tr> <tr> @@ -338,7 +496,7 @@ function Iterate </tr> <tr> -<td>See measure method in Fl_Menu_Item</td> +<td>See measure method in Fl_Menu_Item.</td> <td><pre> procedure Measure_Item (This : in Menu; @@ -351,28 +509,42 @@ procedure Measure_Item <td><pre> const Fl_Menu_Item * menu() const; </pre></td> -<td>Use iterators instead</td> +<td>Use Item or Iterate as necessary to access specific items or walk the array.</td> </tr> <tr> <td><pre> void menu(const Fl_Menu_Item *m); </pre></td> -<td> </td> +<td><pre> +procedure Use_Same_Items + (This : in out Menu; + Donor : in Menu'Class); +</pre></td> </tr> <tr> <td><pre> -void mode(int i, int fl); +int mode(int i) const; +</pre></td> +<td><pre> +function Get_Flags + (This : in Menu + Place : in Index) + return Menu_Flag; </pre></td> -<td>See Set_Flags procedure in FLTK.Menu_Items</td> </tr> <tr> <td><pre> -int mode(int i) const; +void mode(int i, int fl); +</pre></td> +<td><pre> +procedure Set_Flags + (This : in out Menu; + Place : in Index; + Flags : in Menu_Flag); </pre></td> -<td>See Get_Flags function in FLTK.Menu_Items</td> </tr> <tr> @@ -390,29 +562,33 @@ function Chosen <td><pre> const Fl_Menu_Item * picked(const Fl_Menu_Item *); </pre></td> -<td> </td> +<td><pre> +procedure Picked + (This : in out Menu; + Item : in out FLTK.Menu_Items.Menu_Item); +</pre></td> </tr> <tr> -<td>See popup method in Fl_Menu_Item</td> +<td>See popup method in Fl_Menu_Item.</td> <td><pre> function Popup (This : in Menu; X, Y : in Integer; Title : in String := ""; Initial : in Extended_Index := No_Index) - return FLTK.Menu_Items.Menu_Item_Reference; + return Extended_Index; </pre></td> </tr> <tr> -<td>See pulldown method in Fl_Menu_Item</td> +<td>See pulldown method in Fl_Menu_Item.</td> <td><pre> function Pulldown (This : in Menu; X, Y, W, H : in Integer; Initial : in Extended_Index := No_Index) - return FLTK.Menu_Items.Menu_Item_Reference; + return Extended_Index; </pre></td> </tr> @@ -431,21 +607,35 @@ procedure Remove <td><pre> void replace(int, const char *); </pre></td> -<td>See Set_Label procedure in FLTK.Menu_Items</td> +<td><pre> +procedure Set_Label + (This : in out Menu; + Place : in Index; + Text : in String); +</pre></td> </tr> <tr> <td><pre> void setonly(Fl_Menu_Item *item); </pre></td> -<td>See Set_Only procedure in FLTK.Menu_Items</td> +<td><pre> +procedure Set_Only + (This : in out Menu; + Item : in out Menu_Item); +</pre></td> </tr> <tr> <td><pre> void shortcut(int i, int s); </pre></td> -<td>See Set_Shortcut procedure in FLTK.Menu_Items</td> +<td><pre> +procedure Set_Shortcut + (This : in out Menu; + Place : in Index; + Press : in Key_Combo); +</pre></td> </tr> <tr> @@ -463,14 +653,22 @@ function Number_Of_Items <td><pre> void size(int W, int H); </pre></td> -<td> </td> +<td><pre> +procedure Resize + (This : in out Menu; + W, H : in Integer); +</pre></td> </tr> <tr> <td><pre> const Fl_Menu_Item * test_shortcut(); </pre></td> -<td> </td> +<td><pre> +function Test_Shortcut + (This : in out Menu) + return access FLTK.Menu_Items.Menu_Item'Class; +</pre></td> </tr> <tr> @@ -488,7 +686,12 @@ function Chosen_Label <td><pre> const char * text(int i) const; </pre></td> -<td>See Get_Label function in FLTK.Menu_Items</td> +<td><pre> +function Get_Label + (This : in Menu; + Place : in Index) + return String; +</pre></td> </tr> <tr> @@ -576,6 +779,11 @@ int value(const Fl_Menu_Item *); procedure Set_Chosen (This : in out Menu; Item : in FLTK.Menu_Items.Menu_Item); + +function Set_Chosen + (This : in out Menu; + Item : in FLTK.Menu_Items.Menu_Item) + return Boolean; </pre></td> </tr> @@ -587,7 +795,27 @@ int value(int i); procedure Set_Chosen (This : in out Menu; Place : in Index); + +function Set_Chosen + (This : in out Menu; + Place : in Index) + return Boolean; +</pre></td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Protection Functions and Procedures</th></tr> + + <tr> +<td><pre> +int item_pathname_(char *name, int namelen, + const Fl_Menu_Item *finditem, const Fl_Menu_Item *menu=0) const; </pre></td> +<td>Intentionally left unbound.</td> </tr> </table> diff --git a/doc/fl_menu_bar.html b/doc/fl_menu_bar.html index 3ff571b..175881a 100644 --- a/doc/fl_menu_bar.html +++ b/doc/fl_menu_bar.html @@ -1,4 +1,3 @@ - <!DOCTYPE html> <html lang="en"> @@ -14,6 +13,9 @@ <h2>Fl_Menu_Bar Binding Map</h2> +<a href="index.html">Back to Index</a> + + <table class="package"> <tr><th colspan="2">Package name</th></tr> @@ -44,7 +46,7 @@ <table class="function"> - <tr><th colspan="2">Functions and Procedures</th></tr> + <tr><th colspan="2">Constructors</th></tr> <tr> <td><pre> @@ -53,21 +55,30 @@ Fl_Menu_Bar(int X, int Y, int W, int H, const char *L=0); <td><pre> function Create (X, Y, W, H : in Integer; - Text : in String) + Text : in String := "") return Menu_Bar; </pre></td> </tr> <tr> +<td>Rely on the automatic use of begin when a group is created, or use begin/end +explicitly, or add each widget to its intended parent group manually.</td> <td><pre> -void draw(); -</pre></td> -<td><pre> -procedure Draw - (This : in out Menu_Bar); +function Create + (Parent : in out FLTK.Widgets.Groups.Group'Class; + X, Y, W, H : in Integer; + Text : in String := "") + return Menu_Bar; </pre></td> </tr> +</table> + + + +<table class="function"> + <tr><th colspan="2">Functions and Procedures</th></tr> + <tr> <td><pre> int handle(int); @@ -83,6 +94,23 @@ function Handle </table> + +<table class="function"> + <tr><th colspan="2">Protected Functions and Procedures</th></tr> + + <tr> +<td><pre> +void draw(); +</pre></td> +<td><pre> +procedure Draw + (This : in out Menu_Bar); +</pre></td> + </tr> + +</table> + + </body> </html> diff --git a/doc/fl_menu_button.html b/doc/fl_menu_button.html index 55b9e57..3919095 100644 --- a/doc/fl_menu_button.html +++ b/doc/fl_menu_button.html @@ -1,4 +1,3 @@ - <!DOCTYPE html> <html lang="en"> @@ -14,6 +13,9 @@ <h2>Fl_Menu_Button Binding Map</h2> +<a href="index.html">Back to Index</a> + + <table class="package"> <tr><th colspan="2">Package name</th></tr> @@ -49,7 +51,7 @@ <table class="function"> - <tr><th colspan="2">Functions and Procedures</th></tr> + <tr><th colspan="2">Constructors</th></tr> <tr> <td><pre> @@ -58,21 +60,30 @@ Fl_Menu_Button(int, int, int, int, const char *=0); <td><pre> function Create (X, Y, W, H : in Integer; - Text : in String) + Text : in String := "") return Menu_Button; </pre></td> </tr> <tr> +<td>Rely on the automatic use of begin when a group is created, or use begin/end +explicitly, or add each widget to its intended parent group manually.</td> <td><pre> -void draw(); -</pre></td> -<td><pre> -procedure Draw - (This : in out Menu_Button); +function Create + (Parent : in out FLTK.Widgets.Groups.Group'Class; + X, Y, W, H : in Integer; + Text : in String := "") + return Menu_Button; </pre></td> </tr> +</table> + + + +<table class="function"> + <tr><th colspan="2">Functions and Procedures</th></tr> + <tr> <td><pre> int handle(int); @@ -92,16 +103,42 @@ const Fl_Menu_Item * popup(); <td><pre> function Popup (This : in out Menu_Button) - return FLTK.Menu_Items.Menu_Item; + return Extended_Index; </pre></td> </tr> <tr> -<td> </td> +<td>Use the type methods in Fl_Widget with the popup_buttons enum.</td> +<td><pre> +function Get_Popup_Kind + (This : in Menu_Button) + return Popup_Buttons; +</pre></td> + </tr> + + <tr> +<td>Use the type methods in Fl_Widget with the popup_buttons enum.</td> <td><pre> procedure Set_Popup_Kind (This : in out Menu_Button; - Pop : in Popup_Buttons); + Kind : in Popup_Buttons); +</pre></td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Protected Functions and Procedures</th></tr> + + <tr> +<td><pre> +void draw(); +</pre></td> +<td><pre> +procedure Draw + (This : in out Menu_Button); </pre></td> </tr> diff --git a/doc/fl_menu_item.html b/doc/fl_menu_item.html index cca7528..a09cfe7 100644 --- a/doc/fl_menu_item.html +++ b/doc/fl_menu_item.html @@ -1,4 +1,3 @@ - <!DOCTYPE html> <html lang="en"> @@ -14,6 +13,9 @@ <h2>Fl_Menu_Item Binding Map</h2> +<a href="index.html">Back to Index</a> + + <table class="package"> <tr><th colspan="2">Package name</th></tr> @@ -39,15 +41,90 @@ <td>Menu_Item_Reference</td> </tr> + <tr> + <td>Fl_Menu_Item *</td> + <td>Menu_Item_Array</td> + </tr> + </table> <table class="function"> - <tr><th colspan="2">Functions and Procedures</th></tr> + <tr><th colspan="2">Attributes</th></tr> + + <tr> +<td><pre> +Fl_Callback * callback_; +</pre></td> +<td>Intentionally left unbound.</td> + </tr> + + <tr> +<td><pre> +int flags; +</pre></td> +<td>Intentionally left unbound.</td> + </tr> + + <tr> +<td><pre> +Fl_Color labelcolor_; +</pre></td> +<td>Intentionally left unbound.</td> + </tr> + + <tr> +<td><pre> +Fl_Font labelfont_; +</pre></td> +<td>Intentionally left unbound.</td> + </tr> + + <tr> +<td><pre> +Fl_Fontsize labelsize_; +</pre></td> +<td>Intentionally left unbound.</td> + </tr> + + <tr> +<td><pre> +uchar labeltype_; +</pre></td> +<td>Intentionally left unbound.</td> + </tr> + + <tr> +<td><pre> +int shortcut_; +</pre></td> +<td>Intentionally left unbound.</td> + </tr> + + <tr> +<td><pre> +const char * text; +</pre></td> +<td>Intentionally left unbound.</td> + </tr> + + <tr> +<td><pre> +void * user_data_; +</pre></td> +<td>Intentionally left unbound.</td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Constructors</th></tr> <tr> -<td>N/A due to being a struct, not a class</td> +<td>Initialize manually as per any other struct.</td> <td><pre> function Create (Text : in String; @@ -58,13 +135,20 @@ function Create </pre></td> </tr> +</table> + + + +<table class="function"> + <tr><th colspan="2">Functions and Procedures</th></tr> + <tr> <td><pre> void activate(); </pre></td> <td><pre> procedure Activate - (Item : in out Menu_Item); + (This : in out Menu_Item); </pre></td> </tr> @@ -74,7 +158,7 @@ int active() const; </pre></td> <td><pre> function Is_Active - (Item : in Menu_Item) + (This : in Menu_Item) return Boolean; </pre></td> </tr> @@ -85,37 +169,39 @@ int activevisible() const; </pre></td> <td><pre> function Is_Active_And_Visible - (Item : in Menu_Item) + (This : in Menu_Item) return Boolean; </pre></td> </tr> <tr> <td><pre> -int add(const char *, int shortcut, Fl_Callback *, void *=0, int=0); +int add(const char *, int shortcut, Fl_Callback *, + void *=0, int=0); </pre></td> -<td>See Add procedure in FLTK.Widgets.Menus</td> +<td>Use the Add subprograms in FLTK.Widgets.Menus instead.</td> </tr> <tr> <td><pre> -int add(const char *a, const char *b, Fl_Callback *c, void *d=0, int e=0); +int add(const char *a, const char *b, Fl_Callback *c, + void *d=0, int e=0); </pre></td> -<td> </td> +<td>Use the Add subprograms in FLTK.Widgets.Menus instead.</td> </tr> <tr> <td><pre> long argument() const; </pre></td> -<td> </td> +<td>Not used in public API.</td> </tr> <tr> <td><pre> void argument(long v); </pre></td> -<td> </td> +<td>Not used in public API.</td> </tr> <tr> @@ -124,7 +210,7 @@ Fl_Callback_p callback() const; </pre></td> <td><pre> function Get_Callback - (Item : in Menu_Item) + (This : in Menu_Item) return FLTK.Widgets.Widget_Callback; </pre></td> </tr> @@ -132,13 +218,16 @@ function Get_Callback <tr> <td><pre> void callback(Fl_Callback *c, void *p); + void callback(Fl_Callback *c); + void callback(Fl_Callback0 *c); + void callback(Fl_Callback1 *c, long p=0); </pre></td> <td><pre> procedure Set_Callback - (Item : in out Menu_Item; + (This : in out Menu_Item; Func : in FLTK.Widgets.Widget_Callback); </pre></td> </tr> @@ -147,7 +236,7 @@ procedure Set_Callback <td><pre> void check(); </pre></td> -<td> </td> +<td>Marked as deprecated.</td> </tr> <tr> @@ -156,7 +245,7 @@ int checkbox() const; </pre></td> <td><pre> function Has_Checkbox - (Item : in Menu_Item) + (This : in Menu_Item) return Boolean; </pre></td> </tr> @@ -165,7 +254,7 @@ function Has_Checkbox <td><pre> int checked() const; </pre></td> -<td> </td> +<td>Marked as deprecated.</td> </tr> <tr> @@ -173,9 +262,8 @@ int checked() const; void clear(); </pre></td> <td><pre> -procedure Set_State - (Item : in out Menu_Item; - To : in Boolean); +procedure Clear + (This : in out Menu_Item); </pre></td> </tr> @@ -185,59 +273,64 @@ void deactivate(); </pre></td> <td><pre> procedure Deactivate - (Item : in out Menu_Item); + (This : in out Menu_Item); </pre></td> </tr> <tr> <td><pre> void do_callback(Fl_Widget *o) const; + void do_callback(Fl_Widget *o, void *arg) const; + void do_callback(Fl_Widget *o, long arg) const; </pre></td> <td><pre> procedure Do_Callback - (Item : in out Menu_Item; + (This : in out Menu_Item; Widget : in out FLTK.Widgets.Widget'Class); </pre></td> </tr> <tr> <td><pre> -void draw(int x, int y, int w, int h, const Fl_Menu_ *, int t=0) const; +void draw(int x, int y, int w, int h, const Fl_Menu_ *, + int t=0) const; </pre></td> -<td>See Draw_Item procedure in FLTK.Widgets.Menus</td> +<td>See Draw_Item in FLTK.Widgets.Menus.</td> </tr> <tr> <td><pre> -const Fl_Menu_Item * find_shortcut(int *ip=0, const bool require_alt=false) const; +const Fl_Menu_Item * find_shortcut(int *ip=0, + const bool require_alt=false) const; </pre></td> -<td> </td> +<td>See Find_Shortcut in FLTK.Widgets.Menus.</td> </tr> <tr> <td><pre> const Fl_Menu_Item * first() const; + Fl_Menu_Item * first(); </pre></td> -<td>Use FLTK.Widgets.Menus iterators instead</td> +<td>Iterate through FLTK.Widgets.Menus instead.</td> </tr> <tr> -<td>See Fl_Menu_ int mode(int i) const;</td> +<td>Access the flags attribute directly.</td> <td><pre> function Get_Flags - (Item : in Menu_Item) + (This : in Menu_Item) return Menu_Flag; </pre></td> </tr> <tr> -<td>See Fl_Menu_ void mode(int i, int fl);</td> +<td>Assign to the flags attribute directly.</td> <td><pre> procedure Set_Flags - (Item : in out Menu_Item; + (This : in out Menu_Item; To : in Menu_Flag); </pre></td> </tr> @@ -248,23 +341,38 @@ void hide(); </pre></td> <td><pre> procedure Hide - (Item : in out Menu_Item); + (This : in out Menu_Item); +</pre></td> + </tr> + + <tr> +<td>Fl_Menu_Item is missing a method for getting the image set to it.</td> +<td><pre> +function Get_Image + (This : in Menu_Item) + return access FLTK.Images.Image'Class; </pre></td> </tr> <tr> <td><pre> void image(Fl_Image *a); + void image(Fl_Image &a); </pre></td> -<td> </td> +<td><pre> +procedure Set_Image + (This : in out Menu_Item; + Pict : in out FLTK.Images.Image'Class); +</pre></td> </tr> <tr> <td><pre> -int insert(int, const char *, int, Fl_Callback *, void *=0, int=0); +int insert(int, const char *, int, Fl_Callback *, + void *=0, int=0); </pre></td> -<td>See Insert procedure in FLTK.Widgets.Menus</td> +<td>Use the Insert subprograms in FLTK.Widgets.Menus instead.</td> </tr> <tr> @@ -273,7 +381,7 @@ const char * label() const; </pre></td> <td><pre> function Get_Label - (Item : in Menu_Item) + (This : in Menu_Item) return String; </pre></td> </tr> @@ -284,7 +392,7 @@ void label(const char *a); </pre></td> <td><pre> procedure Set_Label - (Item : in out Menu_Item; + (This : in out Menu_Item; Text : in String); </pre></td> </tr> @@ -293,7 +401,12 @@ procedure Set_Label <td><pre> void label(Fl_Labeltype a, const char *b); </pre></td> -<td> </td> +<td><pre> +procedure Set_Label + (This : in out Menu_Item; + Kind : in Label_Kind; + Text : in String); +</pre></td> </tr> <tr> @@ -302,7 +415,7 @@ Fl_Color labelcolor() const; </pre></td> <td><pre> function Get_Label_Color - (Item : in Menu_Item) + (This : in Menu_Item) return Color; </pre></td> </tr> @@ -313,7 +426,7 @@ void labelcolor(Fl_Color a); </pre></td> <td><pre> procedure Set_Label_Color - (Item : in out Menu_Item; + (This : in out Menu_Item; To : in Color); </pre></td> </tr> @@ -324,7 +437,7 @@ Fl_Font labelfont() const; </pre></td> <td><pre> function Get_Label_Font - (Item : in Menu_Item) + (This : in Menu_Item) return Font_Kind; </pre></td> </tr> @@ -335,7 +448,7 @@ void labelfont(Fl_Font a); </pre></td> <td><pre> procedure Set_Label_Font - (Item : in out Menu_Item; + (This : in out Menu_Item; To : in Font_Kind); </pre></td> </tr> @@ -346,7 +459,7 @@ Fl_Fontsize labelsize() const; </pre></td> <td><pre> function Get_Label_Size - (Item : in Menu_Item) + (This : in Menu_Item) return Font_Size; </pre></td> </tr> @@ -357,7 +470,7 @@ void labelsize(Fl_Fontsize a); </pre></td> <td><pre> procedure Set_Label_Size - (Item : in out Menu_Item; + (This : in out Menu_Item; To : in Font_Size); </pre></td> </tr> @@ -367,8 +480,8 @@ procedure Set_Label_Size Fl_Labeltype labeltype() const; </pre></td> <td><pre> -function Get_Label_Type - (Item : in Menu_Item) +function Get_Label_Kind + (This : in Menu_Item) return Label_Kind; </pre></td> </tr> @@ -378,8 +491,8 @@ function Get_Label_Type void labeltype(Fl_Labeltype a); </pre></td> <td><pre> -procedure Set_Label_Type - (Item : in out Menu_Item; +procedure Set_Label_Kind + (This : in out Menu_Item; To : in Label_Kind); </pre></td> </tr> @@ -388,15 +501,16 @@ procedure Set_Label_Type <td><pre> int measure(int *h, const Fl_Menu_ *) const; </pre></td> -<td>See Measure_Item procedure in FLTK.Widgets.Menus</td> +<td>See Measure_Item in FLTK.Widgets.Menus.</td> </tr> <tr> <td><pre> const Fl_Menu_Item * next(int=1) const; + Fl_Menu_Item * next(int i=1); </pre></td> -<td>Use FLTK.Widgets.Menus iterators instead</td> +<td>Iterate through FLTK.Widgets.Menus instead.</td> </tr> <tr> @@ -405,7 +519,7 @@ const Fl_Menu_Item * popup (int X, int Y, const char *title=0, const Fl_Menu_Item *picked=0, const Fl_Menu_*=0) const; </pre></td> -<td>See Popup function in FLTK.Widgets.Menus</td> +<td>See Popup in FLTK.Widgets.Menus.</td> </tr> <tr> @@ -415,7 +529,7 @@ const Fl_Menu_Item * pulldown const Fl_Menu_Item *picked=0, const Fl_Menu_*=0, const Fl_Menu_Item *title=0, int menubar=0) const; </pre></td> -<td>See Pulldown function in FLTK.Widgets.Menus</td> +<td>See Pulldown in FLTK.Widgets.Menus.</td> </tr> <tr> @@ -424,7 +538,7 @@ int radio() const; </pre></td> <td><pre> function Is_Radio - (Item : in Menu_Item) + (This : in Menu_Item) return Boolean; </pre></td> </tr> @@ -433,7 +547,10 @@ function Is_Radio <td><pre> void set(); </pre></td> -<td>See void clear();</td> +<td><pre> +procedure Set + (This : in out Menu_Item); +</pre></td> </tr> <tr> @@ -442,7 +559,7 @@ void setonly(); </pre></td> <td><pre> procedure Set_Only - (Item : in out Menu_Item); + (This : in out Menu_Item); </pre></td> </tr> @@ -452,7 +569,7 @@ int shortcut() const; </pre></td> <td><pre> function Get_Shortcut - (Item : in Menu_Item) + (This : in Menu_Item) return Key_Combo; </pre></td> </tr> @@ -463,7 +580,7 @@ void shortcut(int s); </pre></td> <td><pre> procedure Set_Shortcut - (Item : in out Menu_Item; + (This : in out Menu_Item; To : in Key_Combo); </pre></td> </tr> @@ -474,7 +591,7 @@ void show(); </pre></td> <td><pre> procedure Show - (Item : in out Menu_Item); + (This : in out Menu_Item); </pre></td> </tr> @@ -482,42 +599,46 @@ procedure Show <td><pre> int size() const; </pre></td> -<td>See Number_Of_Items function in FLTK.Widgets.Menus</td> +<td>Use the Number_Of_Items function in FLTK.Widgets.Menus instead.</td> </tr> <tr> <td><pre> int submenu() const; </pre></td> -<td> </td> +<td><pre> +function Is_Submenu + (This : in Menu_Item) + return Boolean; +</pre></td> </tr> <tr> <td><pre> const Fl_Menu_Item * test_shortcut() const; </pre></td> -<td> </td> +<td>Use the Test_Shortcut function in FLTK.Widgets.Menus instead.</td> </tr> <tr> <td><pre> void uncheck(); </pre></td> -<td> </td> +<td>Marked as deprecated.</td> </tr> <tr> <td><pre> void * user_data() const; </pre></td> -<td> </td> +<td>Not used in public API.</td> </tr> <tr> <td><pre> void user_data(void *v); </pre></td> -<td> </td> +<td>Not used in public API.</td> </tr> <tr> @@ -526,18 +647,27 @@ int value() const; </pre></td> <td><pre> function Get_State - (Item : in Menu_Item) + (This : in Menu_Item) return Boolean; </pre></td> </tr> <tr> +<td>Use set or clear methods.</td> +<td><pre> +procedure Set_State + (This : in out Menu_Item; + To : in Boolean); +</pre></td> + </tr> + + <tr> <td><pre> int visible() const; </pre></td> <td><pre> function Is_Visible - (Item : in Menu_Item) + (This : in Menu_Item) return Boolean; </pre></td> </tr> diff --git a/doc/fl_menu_window.html b/doc/fl_menu_window.html index 9237db5..920ecdd 100644 --- a/doc/fl_menu_window.html +++ b/doc/fl_menu_window.html @@ -1,4 +1,3 @@ - <!DOCTYPE html> <html lang="en"> @@ -14,6 +13,9 @@ <h2>Fl_Menu_Window Binding Map</h2> +<a href="index.html">Back to Index</a> + + <table class="package"> <tr><th colspan="2">Package name</th></tr> @@ -44,7 +46,7 @@ <table class="function"> - <tr><th colspan="2">Functions and Procedures</th></tr> + <tr><th colspan="2">Constructors</th></tr> <tr> <td><pre> @@ -53,7 +55,19 @@ Fl_Menu_Window(int W, int H, const char *L=0); <td><pre> function Create (W, H : in Integer; - Text : in String) + Text : in String := "") + return Menu_Window; +</pre></td> + </tr> + + <tr> +<td>Rely on the automatic use of begin when a group is created, or use begin/end +explicitly, or add each widget to its intended parent group manually.</td> +<td><pre> +function Create + (Parent : in out Groups.Group'Class; + W, H : in Integer; + Text : in String := "") return Menu_Window; </pre></td> </tr> @@ -65,22 +79,36 @@ Fl_Menu_Window(int X, int Y, int W, int H, const char *L=0); <td><pre> function Create (X, Y, W, H : in Integer; - Text : in String) + Text : in String := "") return Menu_Window; </pre></td> </tr> <tr> +<td>Rely on the automatic use of begin when a group is created, or use begin/end +explicitly, or add each widget to its intended parent group manually.</td> <td><pre> -void clear_overlay(); +function Create + (Parent : in out Groups.Group'Class; + X, Y, W, H : in Integer; + Text : in String := "") + return Menu_Window; </pre></td> -<td>See set_overlay();</td> </tr> +</table> + + + +<table class="function"> + <tr><th colspan="2">Functions and Procedures</th></tr> + <tr> -<td> </td> <td><pre> -procedure Draw +void clear_overlay(); +</pre></td> +<td><pre> +procedure Clear_Overlay (This : in out Menu_Window); </pre></td> </tr> @@ -89,7 +117,10 @@ procedure Draw <td><pre> void erase(); </pre></td> -<td> </td> +<td><pre> +procedure Erase + (This : in out Menu_Window); +</pre></td> </tr> <tr> @@ -103,16 +134,6 @@ procedure Flush </tr> <tr> -<td> </td> -<td><pre> -function Handle - (This : in out Menu_Window; - Event : in Event_Kind) - return Event_Outcome; -</pre></td> - </tr> - - <tr> <td><pre> void hide(); </pre></td> @@ -140,7 +161,7 @@ void set_overlay(); <td><pre> procedure Set_Overlay (This : in out Menu_Window; - Value : in Boolean); + Value : in Boolean := True); </pre></td> </tr> diff --git a/doc/fl_multi_browser.html b/doc/fl_multi_browser.html new file mode 100644 index 0000000..fdc2055 --- /dev/null +++ b/doc/fl_multi_browser.html @@ -0,0 +1,80 @@ +<!DOCTYPE html> + +<html lang="en"> + <head> + <meta charset="utf-8"> + <title>Fl_Multi_Browser Binding Map</title> + <link href="map.css" rel="stylesheet"> + </head> + + <body> + + +<h2>Fl_Multi_Browser 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_Multi_Browser</td> + <td>FLTK.Widgets.Groups.Browsers.Textline.Multi</td> + </tr> + +</table> + + + +<table class="type"> + <tr><th colspan="2">Types</th></tr> + + <tr> + <td>Fl_Multi_Browser</td> + <td>Multi_Browser</td> + </tr> + + <tr> + <td> </td> + <td>Multi_Browser_Reference</td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Constructors</th></tr> + + <tr> +<td><pre> +Fl_Multi_Browser(int X, int Y, int W, int H, const char *L=0); +</pre></td> +<td><pre> +function Create + (X, Y, W, H : in Integer; + Text : in String := "") + return Multi_Browser; +</pre></td> + </tr> + + <tr> +<td>Rely on the automatic use of begin when a group is created, or use begin/end +explicitly, or add each widget to its intended parent group manually.</td> +<td><pre> +function Create + (Parent : in out Groups.Group'Class; + X, Y, W, H : in Integer; + Text : in String := "") + return Multi_Browser; +</pre></td> + </tr> + +</table> + + + </body> +</html> + diff --git a/doc/fl_multiline_input.html b/doc/fl_multiline_input.html index 54d8ce0..3c0d4f1 100644 --- a/doc/fl_multiline_input.html +++ b/doc/fl_multiline_input.html @@ -1,4 +1,3 @@ - <!DOCTYPE html> <html lang="en"> @@ -14,12 +13,15 @@ <h2>Fl_Multiline_Input 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_Multiline_Input</td> - <td>FLTK.Widgets.Inputs.Multiline</td> + <td>FLTK.Widgets.Inputs.Text.Multiline</td> </tr> </table> @@ -44,7 +46,7 @@ <table class="function"> - <tr><th colspan="2">Functions and Procedures</th></tr> + <tr><th colspan="2">Constructors</th></tr> <tr> <td><pre> @@ -53,26 +55,20 @@ Fl_Multiline_Input(int X, int Y, int W, int H, const char *L=0); <td><pre> function Create (X, Y, W, H : in Integer; - Text : in String) + Text : in String := "") return Multiline_Input; </pre></td> </tr> <tr> -<td> </td> -<td><pre> -procedure Draw - (This : in out Multiline_Input); -</pre></td> - </tr> - - <tr> -<td> </td> +<td>Rely on the automatic use of begin when a group is created, or use begin/end +explicitly, or add each widget to its intended parent group manually.</td> <td><pre> -function Handle - (This : in out Multiline_Input; - Event : in Event_Kind) - return Event_Outcome; +function Create + (Parent : in out FLTK.Widgets.Groups.Group'Class; + X, Y, W, H : in Integer; + Text : in String := "") + return Multiline_Input; </pre></td> </tr> diff --git a/doc/fl_multiline_output.html b/doc/fl_multiline_output.html index 982c48d..b9b0162 100644 --- a/doc/fl_multiline_output.html +++ b/doc/fl_multiline_output.html @@ -1,4 +1,3 @@ - <!DOCTYPE html> <html lang="en"> @@ -14,12 +13,15 @@ <h2>Fl_Multiline_Output 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_Multiline_Output</td> - <td>FLTK.Widgets.Inputs.Outputs.Multiline</td> + <td>FLTK.Widgets.Inputs.Text.Outputs.Multiline</td> </tr> </table> @@ -44,7 +46,7 @@ <table class="function"> - <tr><th colspan="2">Functions and Procedures</th></tr> + <tr><th colspan="2">Constructors</th></tr> <tr> <td><pre> @@ -53,26 +55,20 @@ Fl_Multiline_Output(int X, int Y, int W, int H, const char *L=0); <td><pre> function Create (X, Y, W, H : in Integer; - Text : in String) + Text : in String := "") return Multiline_Output; </pre></td> </tr> <tr> -<td> </td> -<td><pre> -procedure Draw - (This : in out Multiline_Output); -</pre></td> - </tr> - - <tr> -<td> </td> +<td>Rely on the automatic use of begin when a group is created, or use begin/end +explicitly, or add each widget to its intended parent group manually.</td> <td><pre> -function Handle - (This : in out Multiline_Output; - Event : in Event_Kind) - return Event_Outcome; +function Create + (Parent : in out FLTK.Widgets.Groups.Group'Class; + X, Y, W, H : in Integer; + Text : in String := "") + return Multiline_Output; </pre></td> </tr> diff --git a/doc/fl_nice_slider.html b/doc/fl_nice_slider.html index 571bf07..ac6cd87 100644 --- a/doc/fl_nice_slider.html +++ b/doc/fl_nice_slider.html @@ -1,4 +1,3 @@ - <!DOCTYPE html> <html lang="en"> @@ -14,6 +13,9 @@ <h2>Fl_Nice_Slider Binding Map</h2> +<a href="index.html">Back to Index</a> + + <table class="package"> <tr><th colspan="2">Package name</th></tr> @@ -44,7 +46,7 @@ <table class="function"> - <tr><th colspan="2">Functions and Procedures</th></tr> + <tr><th colspan="2">Constructors</th></tr> <tr> <td><pre> @@ -53,26 +55,20 @@ Fl_Nice_Slider(int X, int Y, int W, int H, const char *L=0); <td><pre> function Create (X, Y, W, H : in Integer; - Text : in String) + Text : in String := "") return Nice_Slider; </pre></td> </tr> <tr> -<td> </td> -<td><pre> -procedure Draw - (This : in out Nice_Slider); -</pre></td> - </tr> - - <tr> -<td> </td> +<td>Rely on the automatic use of begin when a group is created, or use begin/end +explicitly, or add each widget to its intended parent group manually.</td> <td><pre> -function Handle - (This : in out Nice_Slider; - Event : in Event_Kind) - return Event_Outcome; +function Create + (Parent : in out FLTK.Widgets.Groups.Group'Class; + X, Y, W, H : in Integer; + Text : in String := "") + return Nice_Slider; </pre></td> </tr> diff --git a/doc/fl_output.html b/doc/fl_output.html index a8b7502..b3a6290 100644 --- a/doc/fl_output.html +++ b/doc/fl_output.html @@ -1,4 +1,3 @@ - <!DOCTYPE html> <html lang="en"> @@ -14,12 +13,15 @@ <h2>Fl_Output 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_Output</td> - <td>FLTK.Widgets.Inputs.Outputs</td> + <td>FLTK.Widgets.Inputs.Text.Outputs</td> </tr> </table> @@ -44,7 +46,7 @@ <table class="function"> - <tr><th colspan="2">Functions and Procedures</th></tr> + <tr><th colspan="2">Constructors</th></tr> <tr> <td><pre> @@ -53,26 +55,20 @@ Fl_Output(int X, int Y, int W, int H, const char *L=0); <td><pre> function Create (X, Y, W, H : in Integer; - Text : in String) + Text : in String := "") return Output; </pre></td> </tr> <tr> -<td> </td> -<td><pre> -procedure Draw - (This : in out Output); -</pre></td> - </tr> - - <tr> -<td> </td> +<td>Rely on the automatic use of begin when a group is created, or use begin/end +explicitly, or add each widget to its intended parent group manually.</td> <td><pre> -function Handle - (This : in out Output; - Event : in Event_Kind) - return Event_Outcome; +function Create + (Parent : in out FLTK.Widgets.Groups.Group'Class; + X, Y, W, H : in Integer; + Text : in String := "") + return Output; </pre></td> </tr> diff --git a/doc/fl_overlay_window.html b/doc/fl_overlay_window.html new file mode 100644 index 0000000..b8416f5 --- /dev/null +++ b/doc/fl_overlay_window.html @@ -0,0 +1,200 @@ +<!DOCTYPE html> + +<html lang="en"> + <head> + <meta charset="utf-8"> + <title>Fl_Overlay_Window Binding Map</title> + <link href="map.css" rel="stylesheet"> + </head> + + <body> + + +<h2>Fl_Overlay_Window 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_Overlay_Window</td> + <td>FLTK.Widgets.Groups.Windows.Double.Overlay</td> + </tr> + +</table> + + + +<table class="type"> + <tr><th colspan="2">Types</th></tr> + + <tr> + <td>Fl_Overlay_Window</td> + <td>Overlay_Window</td> + </tr> + + <tr> + <td> </td> + <td>Overlay_Window_Reference</td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Constructors</th></tr> + + <tr> +<td><pre> +Fl_Overlay_Window(int W, int H, const char *l=0); +</pre></td> +<td><pre> +function Create + (W, H : in Integer; + Text : in String := "") + return Overlay_Window; +</pre></td> + </tr> + + <tr> +<td>Rely on the automatic use of begin when a group is created, or use begin/end +explicitly, or add each widget to its intended parent group manually.</td> +<td><pre> +function Create + (Parent : in out Groups.Group'Class; + W, H : in Integer; + Text : in String := "") + return Overlay_Window; +</pre></td> + </tr> + + <tr> +<td><pre> +Fl_Overlay_Window(int X, int Y, int W, int H, const char *l=0); +</pre></td> +<td><pre> +function Create + (X, Y, W, H : in Integer; + Text : in String := "") + return Overlay_Window; +</pre></td> + </tr> + + <tr> +<td>Rely on the automatic use of begin when a group is created, or use begin/end +explicitly, or add each widget to its intended parent group manually.</td> +<td><pre> +function Create + (Parent : in out Groups.Group'Class; + X, Y, W, H : in Integer; + Text : in String := "") + return Overlay_Window; +</pre></td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Functions and Procedures</th></tr> + + <tr> +<td><pre> +int can_do_overlay(); +</pre></td> +<td><pre> +function Can_Do_Overlay + (This : in Overlay_Window) + return Boolean; +</pre></td> + </tr> + + <tr> +<td><pre> +void flush(); +</pre></td> +<td><pre> +procedure Flush + (This : in out Overlay_Window); +</pre></td> + </tr> + + <tr> +<td><pre> +void hide(); +</pre></td> +<td><pre> +procedure Hide + (This : in out Overlay_Window); +</pre></td> + </tr> + + <tr> +<td><pre> +void redraw_overlay(); +</pre></td> +<td><pre> +procedure Redraw_Overlay + (This : in out Overlay_Window); +</pre></td> + </tr> + + <tr> +<td><pre> +void resize(int, int, int, int); +</pre></td> +<td><pre> +procedure Resize + (This : in out Overlay_Window; + X, Y, W, H : in Integer); +</pre></td> + </tr> + + <tr> +<td><pre> +void show(); +</pre></td> +<td><pre> +procedure Show + (This : in out Overlay_Window); +</pre></td> + </tr> + + <tr> +<td><pre> +void show(int a, char **b); +</pre></td> +<td><pre> +procedure Show_With_Args + (This : in out Overlay_Window); +</pre></td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Protected Functions and Procedures</th></tr> + + <tr> +<td><pre> +virtual void draw_overlay()=0; +</pre></td> +<td><pre> +procedure Draw_Overlay + (This : in out Overlay_Window); +</pre>(Will raise Program_Error if not overridden.)</td> + </tr> + +</table> + + + </body> +</html> + diff --git a/doc/fl_pack.html b/doc/fl_pack.html index e48a791..f850557 100644 --- a/doc/fl_pack.html +++ b/doc/fl_pack.html @@ -1,4 +1,3 @@ - <!DOCTYPE html> <html lang="en"> @@ -14,6 +13,9 @@ <h2>Fl_Pack Binding Map</h2> +<a href="index.html">Back to Index</a> + + <table class="package"> <tr><th colspan="2">Package name</th></tr> @@ -40,8 +42,10 @@ </tr> <tr> - <td>enum { VERTICAL = 0, HORIZONTAL = 1 }</td> - <td> </td> + <td>enum {<br /> + VERTICAL = 0,<br /> + HORIZONTAL = 1 }</td> + <td>Pack_Kind</td> </tr> </table> @@ -49,7 +53,7 @@ <table class="function"> - <tr><th colspan="2">Functions and Procedures</th></tr> + <tr><th colspan="2">Constructors</th></tr> <tr> <td><pre> @@ -58,36 +62,39 @@ Fl_Pack(int x, int y, int w, int h, const char *l=0); <td><pre> function Create (X, Y, W, H : in Integer; - Text : in String) + Text : in String := "") return Packed_Group; </pre></td> </tr> <tr> +<td>Rely on the automatic use of begin when a group is created, or use begin/end +explicitly, or add each widget to its intended parent group manually.</td> <td><pre> -void draw(); -</pre></td> -<td><pre> -procedure Draw - (This : in out Packed_Group); +function Create + (Parent : in out Groups.Group'Class; + X, Y, W, H : in Integer; + Text : in String := "") + return Packed_Group; </pre></td> </tr> - <tr> -<td> </td> -<td><pre> -function Handle - (This : in out Packed_Group; - Event : in Event_Kind) - return Event_Outcome; -</pre></td> - </tr> +</table> + + + +<table class="function"> + <tr><th colspan="2">Functions and Procedures</th></tr> <tr> <td><pre> uchar horizontal() const; </pre></td> -<td> </td> +<td><pre> +function Get_Kind + (This : in Packed_Group) + return Pack_Kind; +</pre></td> </tr> <tr> @@ -112,6 +119,32 @@ procedure Set_Spacing </pre></td> </tr> + <tr> +<td>See type method for Fl_Widget.</td> +<td><pre> +procedure Set_Kind + (This : in out Packed_Group; + Kind : in Pack_Kind); +</pre></td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Protected Functions and Procedures</th></tr> + + <tr> +<td><pre> +void draw(); +</pre></td> +<td><pre> +procedure Draw + (This : in out Packed_Group); +</pre></td> + </tr> + </table> diff --git a/doc/fl_paged_device.html b/doc/fl_paged_device.html index e919ac0..da9ecb1 100644 --- a/doc/fl_paged_device.html +++ b/doc/fl_paged_device.html @@ -1,4 +1,3 @@ - <!DOCTYPE html> <html lang="en"> @@ -14,12 +13,15 @@ <h2>Fl_Paged_Device 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_Paged_Device</td> - <td>FLTK.Devices.Surfaces.Paged</td> + <td>FLTK.Devices.Surface.Paged</td> </tr> </table> @@ -31,12 +33,12 @@ <tr> <td>Fl_Paged_Device</td> - <td>Paged_Surface</td> + <td>Paged_Device</td> </tr> <tr> <td> </td> - <td>Paged_Surface_Reference</td> + <td>Paged_Device_Reference</td> </tr> <tr> @@ -49,12 +51,78 @@ <td>Page_Layout</td> </tr> + <tr> + <td>page_format</td> + <td>Page_Format_Info</td> + </tr> + + <tr> + <td> </td> + <td>Page_Format_Info_Array</td> + </tr> + +</table> + + + +<table class="type"> + <tr><th colspan="2">Errors</th></tr> + + <tr> + <td>int</td> + <td>Page_Error</td> + </tr> + </table> <table class="function"> - <tr><th colspan="2">Functions and Procedures</th></tr> + <tr><th colspan="2">Static Attributes</th></tr> + + <tr> +<td><pre> +static const char * class_id = "Fl_Paged_Device"; +</pre></td> +<td>Deprecated, use runtime tag checks instead.</td> + </tr> + + <tr> +<td><pre> +static const page_format page_formats[NO_PAGE_FORMATS]; +</pre></td> +<td><pre> +Page_Formats : constant Page_Format_Info_Array (A0 .. Envelope); +</pre></td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Protected Attributes</th></tr> + + <tr> +<td><pre> +int x_offset; +</pre></td> +<td>Intentionally left unbound.</td> + </tr> + + <tr> +<td><pre> +int y_offset; +</pre></td> +<td>Intentionally left unbound.</td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Constructors</th></tr> <tr> <td><pre> @@ -62,15 +130,22 @@ Fl_Paged_Device(); </pre></td> <td><pre> function Create - return Paged_Surface; + return Paged_Device; </pre></td> </tr> +</table> + + + +<table class="function"> + <tr><th colspan="2">Functions and Procedures</th></tr> + <tr> <td><pre> const char * class_name(); </pre></td> -<td> </td> +<td>Deprecated, use runtime tag checks instead.</td> </tr> <tr> @@ -79,7 +154,7 @@ virtual void end_job(void); </pre></td> <td><pre> procedure End_Job - (This : in out Paged_Surface); + (This : in out Paged_Device); </pre></td> </tr> @@ -89,7 +164,7 @@ virtual int end_page(void); </pre></td> <td><pre> procedure End_Page - (This : in out Paged_Surface); + (This : in out Paged_Device); </pre></td> </tr> @@ -99,7 +174,7 @@ virtual void margins(int *left, int *top, int *right, int *bottom); </pre></td> <td><pre> procedure Get_Margins - (This : in Paged_Surface; + (This : in Paged_Device; Left, Top, Right, Bottom : out Integer); </pre></td> </tr> @@ -110,7 +185,7 @@ virtual void origin(int x, int y); </pre></td> <td><pre> procedure Set_Origin - (This : in out Paged_Surface; + (This : in out Paged_Device; X, Y : in Integer); </pre></td> </tr> @@ -121,7 +196,7 @@ virtual void origin(int *x, int *y); </pre></td> <td><pre> procedure Get_Origin - (This : in Paged_Surface; + (This : in Paged_Device; X, Y : out Integer); </pre></td> </tr> @@ -132,7 +207,7 @@ virtual void print_widget(Fl_Widget *widget, int delta_x=0, int delta_y=0); </pre></td> <td><pre> procedure Print_Widget - (This : in out Paged_Surface; + (This : in out Paged_Device; Item : in FLTK.Widgets.Widget'Class; Offset_X, Offset_Y : in Integer := 0); </pre></td> @@ -144,7 +219,7 @@ void print_window(Fl_Window *win, int x_offset=0, int y_offset=0); </pre></td> <td><pre> procedure Print_Window - (This : in out Paged_Surface; + (This : in out Paged_Device; Item : in FLTK.Widgets.Groups.Windows.Window'Class; Offset_X, Offset_Y : in Integer := 0); </pre></td> @@ -152,11 +227,12 @@ procedure Print_Window <tr> <td><pre> -virtual void print_window_part(Fl_Window *win, int x, int y, int w, int h, int delta_x=0, int delta_y=0); +virtual void print_window_part(Fl_Window *win, int x, int y, int w, + int h, int delta_x=0, int delta_y=0); </pre></td> <td><pre> procedure Print_Window_Part - (This : in out Paged_Surface; + (This : in out Paged_Device; Item : in FLTK.Widgets.Groups.Windows.Window'Class; X, Y, W, H : in Integer; Offset_X, Offset_Y : in Integer := 0); @@ -169,7 +245,7 @@ virtual int printable_rect(int *w, int *h); </pre></td> <td><pre> procedure Get_Printable_Rect - (This : in Paged_Surface; + (This : in Paged_Device; W, H : out Integer); </pre></td> </tr> @@ -180,7 +256,7 @@ virtual void rotate(float angle); </pre></td> <td><pre> procedure Rotate - (This : in out Paged_Surface; + (This : in out Paged_Device; Degrees : in Float); </pre></td> </tr> @@ -191,11 +267,11 @@ virtual void scale(float scale_x, float scale_y=0); </pre></td> <td><pre> procedure Scale - (This : in out Paged_Surface; + (This : in out Paged_Device; Factor : in Float); procedure Scale - (This : in out Paged_Surface; + (This : in out Paged_Device; Factor_X, Factor_Y : in Float); </pre></td> </tr> @@ -206,13 +282,13 @@ virtual int start_job(int pagecount, int *frompage=NULL, int *topage=NULL); </pre></td> <td><pre> procedure Start_Job - (This : in out Paged_Surface; - Count : in Natural); + (This : in out Paged_Device; + Count : in Natural := 0); procedure Start_Job - (This : in out Paged_Surface; - Count : in Natural; - From, To : in Positive); + (This : in out Paged_Device; + Count : in Natural := 0; + From, To : out Positive); </pre></td> </tr> @@ -222,7 +298,7 @@ virtual int start_page(void); </pre></td> <td><pre> procedure Start_Page - (This : in out Paged_Surface); + (This : in out Paged_Device); </pre></td> </tr> @@ -232,7 +308,7 @@ virtual void translate(int x, int y); </pre></td> <td><pre> procedure Translate - (This : in out Paged_Surface; + (This : in out Paged_Device; Delta_X, Delta_Y : in Integer); </pre></td> </tr> @@ -243,7 +319,7 @@ virtual void untranslate(void); </pre></td> <td><pre> procedure Untranslate - (This : in out Paged_Surface); + (This : in out Paged_Device); </pre></td> </tr> diff --git a/doc/fl_pixmap.html b/doc/fl_pixmap.html index de528e6..ab8c8d8 100644 --- a/doc/fl_pixmap.html +++ b/doc/fl_pixmap.html @@ -1,4 +1,3 @@ - <!DOCTYPE html> <html lang="en"> @@ -14,6 +13,9 @@ <h2>Fl_Pixmap Binding Map</h2> +<a href="index.html">Back to Index</a> + + <table class="package"> <tr><th colspan="2">Package name</th></tr> @@ -39,23 +41,84 @@ <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> <table class="function"> - <tr><th colspan="2">Functions and Procedures</th></tr> + <tr><th colspan="2">Attributes</th></tr> + + <tr> +<td><pre> +int alloc_data; +</pre></td> +<td>Intentionally left unbound.</td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Constructors</th></tr> <tr> <td><pre> Fl_Pixmap(char *const *D); + Fl_Pixmap(uchar *const *D); + Fl_Pixmap(const char *const *D); + Fl_Pixmap(const uchar *const *D); </pre></td> -<td> </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> + + + +<table class="function"> + <tr><th colspan="2">Functions and Procedures</th></tr> + <tr> <td><pre> virtual void color_average(Fl_Color c, float i); @@ -103,13 +166,14 @@ procedure Desaturate <tr> <td><pre> -virtual void draw(int X, int Y, int W, int H, int cx=0, int cy=0); +virtual void draw(int X, int Y, int W, int H, + int cx=0, int cy=0); </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> @@ -128,21 +192,38 @@ procedure Draw <td><pre> virtual void label(Fl_Widget *w); </pre></td> -<td> </td> +<td>Marked as obsolete.</td> </tr> <tr> <td><pre> virtual void label(Fl_Menu_Item *m); </pre></td> -<td> </td> +<td>Marked as obsolete.</td> </tr> <tr> <td><pre> virtual void uncache(); </pre></td> -<td> </td> +<td><pre> +procedure Uncache + (This : in out Pixmap); +</pre></td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Protected Functions and Procedures</th></tr> + + <tr> +<td><pre> +void measure(); +</pre></td> +<td>Intentionally left unbound.</td> </tr> </table> diff --git a/doc/fl_png_image.html b/doc/fl_png_image.html index 25260d7..45ee57d 100644 --- a/doc/fl_png_image.html +++ b/doc/fl_png_image.html @@ -1,4 +1,3 @@ - <!DOCTYPE html> <html lang="en"> @@ -14,6 +13,9 @@ <h2>Fl_PNG_Image Binding Map</h2> +<a href="index.html">Back to Index</a> + + <table class="package"> <tr><th colspan="2">Package name</th></tr> @@ -44,7 +46,7 @@ <table class="function"> - <tr><th colspan="2">Functions and Procedures</th></tr> + <tr><th colspan="2">Constructors</th></tr> <tr> <td><pre> @@ -59,9 +61,15 @@ function Create <tr> <td><pre> -Fl_PNG_Image(const char *name, const unsigned char *buffer, int datasize); +Fl_PNG_Image(const char *name, const unsigned char *buffer, + int datasize); +</pre></td> +<td><pre> +function Create + (Name : in String := ""; + Data : in Color_Component_Array) + return PNG_Image; </pre></td> -<td> </td> </tr> </table> diff --git a/doc/fl_pnm_image.html b/doc/fl_pnm_image.html index 5302866..fccbe91 100644 --- a/doc/fl_pnm_image.html +++ b/doc/fl_pnm_image.html @@ -1,4 +1,3 @@ - <!DOCTYPE html> <html lang="en"> @@ -14,6 +13,9 @@ <h2>Fl_PNM_Image Binding Map</h2> +<a href="index.html">Back to Index</a> + + <table class="package"> <tr><th colspan="2">Package name</th></tr> @@ -44,7 +46,7 @@ <table class="function"> - <tr><th colspan="2">Functions and Procedures</th></tr> + <tr><th colspan="2">Constructors</th></tr> <tr> <td><pre> diff --git a/doc/fl_positioner.html b/doc/fl_positioner.html new file mode 100644 index 0000000..25b2154 --- /dev/null +++ b/doc/fl_positioner.html @@ -0,0 +1,351 @@ +<!DOCTYPE html> + +<html lang="en"> + <head> + <meta charset="utf-8"> + <title>Fl_Positioner Binding Map</title> + <link href="map.css" rel="stylesheet"> + </head> + + <body> + + +<h2>Fl_Positioner 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_Positioner</td> + <td>FLTK.Widgets.Positioners</td> + </tr> + +</table> + + + +<table class="type"> + <tr><th colspan="2">Types</th></tr> + + <tr> + <td>Fl_Positioner</td> + <td>Positioner</td> + </tr> + + <tr> + <td> </td> + <td>Positioner_Reference</td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Constructors</th></tr> + + <tr> +<td><pre> +Fl_Positioner(int x, int y, int w, int h, const char *l=0); +</pre></td> +<td><pre> +function Create + (X, Y, W, H : in Integer; + Text : in String := "") + return Positioner; +</pre></td> + </tr> + + <tr> +<td>Rely on the automatic use of begin when a group is created, or use begin/end +explicitly, or add each widget to its intended parent group manually.</td> +<td><pre> +function Create + (Parent : in out FLTK.Widgets.Groups.Group'Class; + X, Y, W, H : in Integer; + Text : in String := "") + return Positioner; +</pre></td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Functions and Procedures</th></tr> + + <tr> +<td><pre> +int handle(int); +</pre></td> +<td><pre> +function Handle + (This : in out Positioner; + Event : in Event_Kind) + return Event_Outcome; +</pre></td> + </tr> + + <tr> +<td>Use xvalue and yvalue manually.</td> +<td><pre> +procedure Get_Coords + (This : in Positioner; + X, Y : out Long_Float); +</pre></td> + </tr> + + <tr> +<td><pre> +int value(double, double); +</pre></td> +<td><pre> +procedure Set_Coords + (This : in out Positioner; + X, Y : in Long_Float); + +function Set_Coords + (This : in out Positioner; + X, Y : in Long_Float) + return Boolean; +</pre></td> + </tr> + + <tr> +<td><pre> +void xbounds(double, double); +</pre></td> +<td><pre> +procedure Set_Ecks_Bounds + (This : in out Positioner; + Low, High : in Long_Float); +</pre></td> + </tr> + + <tr> +<td><pre> +double xmaximum() const; +</pre></td> +<td><pre> +function Get_Ecks_Maximum + (This : in Positioner) + return Long_Float; +</pre></td> + </tr> + + <tr> +<td><pre> +void xmaximum(double a); +</pre></td> +<td><pre> +procedure Set_Ecks_Maximum + (This : in out Positioner; + Value : in Long_Float); +</pre></td> + </tr> + + <tr> +<td><pre> +double xminimum() const; +</pre></td> +<td><pre> +function Get_Ecks_Minimum + (This : in Positioner) + return Long_Float; +</pre></td> + </tr> + + <tr> +<td><pre> +void xminimum(double a); +</pre></td> +<td><pre> +procedure Set_Ecks_Minimum + (This : in out Positioner; + Value : in Long_Float); +</pre></td> + </tr> + + <tr> +<td><pre> +void xstep(double a); +</pre></td> +<td><pre> +procedure Set_Ecks_Step + (This : in out Positioner; + Value : in Long_Float); +</pre></td> + </tr> + + <tr> +<td><pre> +double xvalue() const; +</pre></td> +<td><pre> +function Get_Ecks + (This : in Positioner) + return Long_Float; +</pre></td> + </tr> + + <tr> +<td><pre> +int xvalue(double); +</pre></td> +<td><pre> +procedure Set_Ecks + (This : in out Positioner; + Value : in Long_Float); + +function Set_Ecks + (This : in out Positioner; + Value : in Long_Float) + return Boolean; +</pre></td> + </tr> + + <tr> +<td><pre> +void ybounds(double, double); +</pre></td> +<td><pre> +procedure Set_Why_Bounds + (This : in out Positioner; + Low, High : in Long_Float); +</pre></td> + </tr> + + <tr> +<td><pre> +double ymaximum() const; +</pre></td> +<td><pre> +function Get_Why_Maximum + (This : in Positioner) + return Long_Float; +</pre></td> + </tr> + + <tr> +<td><pre> +void ymaximum(double a); +</pre></td> +<td><pre> +procedure Set_Why_Maximum + (This : in out Positioner; + Value : in Long_Float); +</pre></td> + </tr> + + <tr> +<td><pre> +double yminimum() const; +</pre></td> +<td><pre> +function Get_Why_Minimum + (This : in Positioner) + return Long_Float; +</pre></td> + </tr> + + <tr> +<td><pre> +void yminimum(double a); +</pre></td> +<td><pre> +procedure Set_Why_Minimum + (This : in out Positioner; + Value : in Long_Float); +</pre></td> + </tr> + + <tr> +<td><pre> +void ystep(double a); +</pre></td> +<td><pre> +procedure Set_Why_Step + (This : in out Positioner; + Value : in Long_Float); +</pre></td> + </tr> + + <tr> +<td><pre> +double yvalue() const; +</pre></td> +<td><pre> +function Get_Why + (This : in Positioner) + return Long_Float; +</pre></td> + </tr> + + <tr> +<td><pre> +int yvalue(double); +</pre></td> +<td><pre> +procedure Set_Why + (This : in out Positioner; + Value : in Long_Float); + +function Set_Why + (This : in out Positioner; + Value : in Long_Float) + return Boolean; +</pre></td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Protected Functions and Procedures</th></tr> + + <tr> +<td><pre> +void draw(); +</pre></td> +<td><pre> +procedure Draw + (This : in out Positioner); +</pre></td> + </tr> + + <tr> +<td><pre> +void draw(int, int, int, int); +</pre></td> +<td><pre> +procedure Draw + (This : in out Positioner; + X, Y, W, H : in Integer); +</pre></td> + </tr> + + <tr> +<td><pre> +int handle(int, int, int, int, int); +</pre></td> +<td><pre> +function Handle + (This : in out Positioner; + Event : in Event_Kind; + X, Y, W, H : in Integer) + return Event_Outcome; +</pre></td> + </tr> + +</table> + + + </body> +</html> + diff --git a/doc/fl_postscript_file_device.html b/doc/fl_postscript_file_device.html new file mode 100644 index 0000000..00a49ab --- /dev/null +++ b/doc/fl_postscript_file_device.html @@ -0,0 +1,321 @@ +<!DOCTYPE html> + +<html lang="en"> + <head> + <meta charset="utf-8"> + <title>Fl_PostScript_File_Device Binding Map</title> + <link href="map.css" rel="stylesheet"> + </head> + + <body> + + +<h2>Fl_PostScript_File_Device 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_PostScript_File_Device</td> + <td>FLTK.Devices.Surface.Paged.Postscript</td> + </tr> + +</table> + + + +<table class="type"> + <tr><th colspan="2">Types</th></tr> + + <tr> + <td>Fl_PostScript_File_Device</td> + <td>Postscript_File_Device</td> + </tr> + + <tr> + <td> </td> + <td>Postscript_File_Device_Reference</td> + </tr> + + <tr> + <td>FILE *</td> + <td>File_Type</td> + </tr> + +</table> + + + +<table class="type"> + <tr><th colspan="2">Errors</th></tr> + + <tr> + <td>int</td> + <td>File_Open_Error</td> + </tr> + + <tr> + <td>int</td> + <td>File_Close_Error</td> + </tr> + + <tr> + <td>int</td> + <td>User_Cancel_Error</td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Static Attributes</th></tr> + + <tr> +<td><pre> +static const char * class_id = "Fl_PostScript_File_Device"; +</pre></td> +<td>Deprecated, use runtime tag checks instead.</td> + </tr> + + <tr> +<td><pre> +static const char * file_chooser_title = "Select a .ps file"; +</pre></td> +<td><pre> +function Get_File_Chooser_Title + return String; + +procedure Set_File_Chooser_Title + (Value : in String); +</pre></td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Constructors</th></tr> + + <tr> +<td><pre> +Fl_PostScript_File_Device(); +</pre></td> +<td><pre> +function Create + return Postscript_File_Device; +</pre></td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Functions and Procedures</th></tr> + + <tr> +<td><pre> +const char * class_name(); +</pre></td> +<td>Deprecated, use runtime tag checks instead.</td> + </tr> + + <tr> +<td><pre> +void end_job(void); +</pre></td> +<td><pre> +procedure End_Job + (This : in out Postscript_File_Device); +</pre></td> + </tr> + + <tr> +<td><pre> +int end_page(void); +</pre></td> +<td><pre> +procedure End_Page + (This : in out Postscript_File_Device); +</pre></td> + </tr> + + <tr> +<td><pre> +void margins(int *left, int *top, int *right, int *bottom); +</pre></td> +<td><pre> +procedure Get_Margins + (This : in Postscript_File_Device; + Left, Top, Right, Bottom : out Integer); +</pre></td> + </tr> + + <tr> +<td><pre> +void origin(int *x, int *y); +</pre></td> +<td><pre> +procedure Get_Origin + (This : in Postscript_File_Device; + X, Y : out Integer); +</pre></td> + </tr> + + <tr> +<td><pre> +void origin(int x, int y); +</pre></td> +<td><pre> +procedure Set_Origin + (This : in out Postscript_File_Device; + X, Y : in Integer); +</pre></td> + </tr> + + <tr> +<td><pre> +int printable_rect(int *w, int *h); +</pre></td> +<td><pre> +procedure Get_Printable_Rect + (This : in Postscript_File_Device; + W, H : out Integer); +</pre></td> + </tr> + + <tr> +<td><pre> +void rotate(float angle); +</pre></td> +<td><pre> +procedure Rotate + (This : in out Postscript_File_Device; + Degrees : in Float); +</pre></td> + </tr> + + <tr> +<td><pre> +void scale(float scale_x, float scale_y=0); +</pre></td> +<td><pre> +procedure Scale + (This : in out Postscript_File_Device; + Factor : in Float); + +procedure Scale + (This : in out Postscript_File_Device; + Factor_X, Factor_Y : in Float); +</pre></td> + </tr> + + <tr> +<td><pre> +int start_job(FILE *ps_output, int pagecount, + enum Fl_Paged_Device::Page_Format format=Fl_Paged_Device::A4, + enum Fl_Paged_Device::Page_Layout layout=Fl_Paged_Device::PORTRAIT); +</pre></td> +<td><pre> +procedure Start_Job + (This : in out Postscript_File_Device; + Output : in File_Type'Class; + Count : in Natural := 0; + Format : in Page_Format := A4; + Layout : in Page_Layout := Portrait) +with Pre => Output.Is_Open; +</pre></td> + </tr> + + <tr> +<td><pre> +int start_job(int pagecount, + enum Fl_Paged_Device::Page_Format format=Fl_Paged_Device::A4, + enum Fl_Paged_Device::Page_Layout layout=Fl_Paged_Device::PORTRAIT); +</pre></td> +<td><pre> +procedure Start_Job + (This : in out Postscript_File_Device; + Count : in Natural := 0; + Format : in Page_Format := A4; + Layout : in Page_Layout := Portrait); +</pre></td> + </tr> + + <tr> +<td><pre> +int start_job(int pagecount, int *from, int *to); +</pre></td> +<td><pre> +procedure Start_Job + (This : in out Postscript_File_Device; + Count : in Natural := 0); + +procedure Start_Job + (This : in out Postscript_File_Device; + Count : in Natural := 0; + From, To : out Positive); +</pre></td> + </tr> + + <tr> +<td><pre> +int start_page(void); +</pre></td> +<td><pre> +procedure Start_Page + (This : in out Postscript_File_Device); +</pre></td> + </tr> + + <tr> +<td><pre> +void translate(int x, int y); +</pre></td> +<td><pre> +procedure Translate + (This : in out Postscript_File_Device; + Delta_X, Delta_Y : in Integer); +</pre></td> + </tr> + + <tr> +<td><pre> +void untranslate(void); +</pre></td> +<td><pre> +procedure Untranslate + (This : in out Postscript_File_Device); +</pre></td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Protected Functions and Procedures</th></tr> + + <tr> +<td><pre> +Fl_PostScript_Graphics_Driver * driver(); +</pre></td> +<td><pre> +function Get_Postscript_Driver + (This : in out Postscript_File_Device) + return FLTK.Devices.Graphics.Graphics_Driver_Reference; +</pre></td> + </tr> + +</table> + + + </body> +</html> + diff --git a/doc/fl_preferences.html b/doc/fl_preferences.html index b3d5ec0..aece3c6 100644 --- a/doc/fl_preferences.html +++ b/doc/fl_preferences.html @@ -1,4 +1,3 @@ - <!DOCTYPE html> <html lang="en"> @@ -14,6 +13,9 @@ <h2>Fl_Preferences Binding Map</h2> +<a href="index.html">Back to Index</a> + + <table class="package"> <tr><th colspan="2">Package name</th></tr> @@ -31,12 +33,22 @@ <tr> <td>Fl_Preferences</td> - <td>Preferences</td> + <td>Database</td> </tr> <tr> <td> </td> - <td>Preferences_Reference</td> + <td>Database_Reference</td> + </tr> + + <tr> + <td>Fl_Preferences</td> + <td>Pref_Group</td> + </tr> + + <tr> + <td> </td> + <td>Pref_Group_Reference</td> </tr> <tr> @@ -45,6 +57,11 @@ </tr> <tr> + <td>Name</td> + <td> </td> + </tr> + + <tr> <td>Root</td> <td>Scope</td> </tr> @@ -58,57 +75,149 @@ +<table class="type"> + <tr><th colspan="2">Errors</th></tr> + + <tr> + <td>char</td> + <td>Preference_Error</td> + </tr> + +</table> + + + <table class="function"> - <tr><th colspan="2">Functions and Procedures</th></tr> + <tr><th colspan="2">Protected Attributes</th></tr> + + <tr> +<td><pre> +Node * node; +</pre></td> +<td>Intentionally left unbound.</td> + </tr> + + <tr> +<td><pre> +RootNode * rootNode; +</pre></td> +<td>Intentionally left unbound.</td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Constructors</th></tr> <tr> <td><pre> Fl_Preferences(Root root, const char *vendor, const char *application); </pre></td> -<td>TBA</td> +<td><pre> +function From_Scope + (Extent : in Scope; + Vendor, Application : in String) + return Database; +</pre></td> </tr> <tr> <td><pre> -Fl_Preferences(const char *path, const char *vendor, const char *application); +Fl_Preferences(const char *path, const char *vendor, + const char *application); </pre></td> <td><pre> function From_Filesystem - (Path, Vendor, Application : in String) - return Preferences; + (Directory, Vendor, Application : in String) + return Database; </pre></td> </tr> <tr> <td><pre> Fl_Preferences(Fl_Preferences &parent, const char *group); + Fl_Preferences(Fl_Preferences *parent, const char *group); </pre></td> -<td>TBA</td> +<td><pre> +function By_Name + (From : in Pref_Group; + Name : in String) + return Pref_Group'Class; + +function In_Memory + (Name : in String) + return Pref_Group; +</pre></td> </tr> <tr> <td><pre> Fl_Preferences(Fl_Preferences &parent, int groupIndex); + Fl_Preferences(Fl_Preferences *parent, int groupIndex); </pre></td> -<td>TBA</td> +<td><pre> +function By_Index + (From : in Pref_Group; + Index : in Positive) + return Pref_Group'Class; +</pre></td> </tr> <tr> <td><pre> Fl_Preferences(const Fl_Preferences &); </pre></td> -<td>TBA</td> +<td><pre> +function Root + (From : in Database) + return Pref_Group'Class; +</pre></td> </tr> +</table> + + + +<table class="function"> + <tr><th colspan="2">Static Functions and Procedures</th></tr> + + <tr> +<td><pre> +static const char * newUUID(); +</pre></td> +<td><pre> +function New_UUID + return String; +</pre></td> + </tr> + + <tr> +<td><pre> +static char remove(ID id_); +</pre></td> +<td>Intentionally left unbound.</td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Functions and Procedures</th></tr> + <tr> <td><pre> char clear(); </pre></td> <td><pre> procedure Clear - (This : in out Preferences); + (This : in out Pref_Group) +with Post => This.Number_Of_Entries = 0 and + This.Number_Of_Groups = 0; </pre></td> </tr> @@ -118,7 +227,8 @@ char deleteAllEntries(); </pre></td> <td><pre> procedure Delete_All_Entries - (This : in out Preferences); + (This : in out Pref_Group) +with Post => This.Number_Of_Entries = 0; </pre></td> </tr> @@ -126,7 +236,11 @@ procedure Delete_All_Entries <td><pre> char deleteAllGroups(); </pre></td> -<td>TBA</td> +<td><pre> +procedure Delete_All_Groups + (This : in out Pref_Group) +with Post => This.Number_Of_Groups = 0; +</pre></td> </tr> <tr> @@ -135,8 +249,9 @@ char deleteEntry(const char *entry); </pre></td> <td><pre> procedure Delete_Entry - (This : in out Preferences; - Key : in String); + (This : in out Pref_Group; + Key : in String) +with Post => This.Key_Exists (Key) = False; </pre></td> </tr> @@ -144,7 +259,12 @@ procedure Delete_Entry <td><pre> char deleteGroup(const char *group); </pre></td> -<td>TBA</td> +<td><pre> +procedure Delete_Group + (This : in out Pref_Group; + Name : in String) +with Post => This.Group_Exists (Name) = False; +</pre></td> </tr> <tr> @@ -153,7 +273,7 @@ int entries(); </pre></td> <td><pre> function Number_Of_Entries - (This : in Preferences) + (This : in Pref_Group) return Natural; </pre></td> </tr> @@ -163,10 +283,11 @@ function Number_Of_Entries const char * entry(int index); </pre></td> <td><pre> -function Get_Key - (This : in Preferences; - Index : in Natural) - return String; +function Entry_Key + (This : in Pref_Group; + Index : in Positive) + return String +with Pre => Index in 1 .. This.Number_Of_Entries; </pre></td> </tr> @@ -175,8 +296,8 @@ function Get_Key char entryExists(const char *key); </pre></td> <td><pre> -function Entry_Exists - (This : in Preferences; +function Key_Exists + (This : in Pref_Group; Key : in String) return Boolean; </pre></td> @@ -188,7 +309,7 @@ void flush(); </pre></td> <td><pre> procedure Flush - (This : in Preferences); + (This : in Database); </pre></td> </tr> @@ -198,12 +319,12 @@ char get(const char *entry, int &value, int defaultValue); </pre></td> <td><pre> function Get - (This : in Preferences; + (This : in Pref_Group; Key : in String) return Integer; function Get - (This : in Preferences; + (This : in Pref_Group; Key : in String; Default : in Integer) return Integer; @@ -216,12 +337,12 @@ char get(const char *entry, float &value, float defaultValue); </pre></td> <td><pre> function Get - (This : in Preferences; + (This : in Pref_Group; Key : in String) return Float; function Get - (This : in Preferences; + (This : in Pref_Group; Key : in String; Default : in Float) return Float; @@ -234,12 +355,12 @@ char get(const char *entry, double &value, double defaultValue); </pre></td> <td><pre> function Get - (This : in Preferences; + (This : in Pref_Group; Key : in String) return Long_Float; function Get - (This : in Preferences; + (This : in Pref_Group; Key : in String; Default : in Long_Float) return Long_Float; @@ -252,12 +373,12 @@ char get(const char *entry, char *&value, const char *defaultValue); </pre></td> <td><pre> function Get - (This : in Preferences; + (This : in Pref_Group; Key : in String) return String; function Get - (This : in Preferences; + (This : in Pref_Group; Key : in String; Default : in String) return String; @@ -266,72 +387,129 @@ function Get <tr> <td><pre> -char get(const char *entry, char *value, const char *defaultValue, int maxSize); +char get(const char *entry, char *value, const char *defaultValue, + int maxSize); +</pre></td> +<td><pre> +function Get + (This : in Pref_Group; + Key : in String; + Default : in String; + Max_Length : in Natural) + return String +with Post => Get'Result'Length <= Max_Length; </pre></td> -<td>TBA</td> </tr> <tr> <td><pre> -char get(const char *entry, void *&value, const void *defaultValue, int defaultSize); +char get(const char *entry, void *&value, const void *defaultValue, + int defaultSize); +</pre></td> +<td><pre> +function Get + (This : in Pref_Group; + Key : in String) + return Binary_Data; + +function Get + (This : in Pref_Group; + Key : in String; + Default : in Binary_Data) + return Binary_Data; </pre></td> -<td>TBA</td> </tr> <tr> <td><pre> -char get(const char *entry, void *value, const void *defaultValue, int defaultSize, int maxSize); +char get(const char *entry, void *value, const void *defaultValue, + int defaultSize, int maxSize); +</pre></td> +<td><pre> +function Get + (This : in Pref_Group; + Key : in String; + Default : in Binary_Data; + Max_Length : in Natural) + return Binary_Data +with Post => Get'Result'Length <= Max_Length; </pre></td> -<td>TBA</td> </tr> <tr> <td><pre> char getUserdataPath(char *path, int pathlen); </pre></td> -<td>TBA</td> +<td><pre> +function Userdata_Path + (This : in Database) + return String; +</pre></td> </tr> <tr> <td><pre> const char * group(int num_group); </pre></td> -<td>TBA</td> +<td><pre> +function Group_Name + (This : in Pref_Group; + Index : in Positive) + return String +with Pre => Index in 1 .. This.Number_Of_Groups; +</pre></td> </tr> <tr> <td><pre> char groupExists(const char *key); </pre></td> -<td>TBA</td> +<td><pre> +function Group_Exists + (This : in Pref_Group; + Name : in String) + return Boolean; +</pre></td> </tr> <tr> <td><pre> int groups(); </pre></td> -<td>TBA</td> +<td><pre> +function Number_Of_Groups + (This : in Pref_Group) + return Natural; +</pre></td> </tr> <tr> <td><pre> ID id(); </pre></td> -<td>TBA</td> +<td>Intentionally left unbound.</td> </tr> <tr> <td><pre> const char * name(); </pre></td> -<td>TBA</td> +<td><pre> +function At_Name + (This : in Pref_Group) + return String; +</pre></td> </tr> <tr> <td><pre> const char * path(); </pre></td> -<td>TBA</td> +<td><pre> +function At_Path + (This : in Pref_Group) + return String; +</pre></td> </tr> <tr> @@ -340,9 +518,10 @@ char set(const char *entry, int value); </pre></td> <td><pre> procedure Set - (This : in out Preferences; + (This : in out Pref_Group; Key : in String; - Value : in Integer); + Value : in Integer) +with Post => This.Key_Exists (Key); </pre></td> </tr> @@ -352,9 +531,10 @@ char set(const char *entry, float value); </pre></td> <td><pre> procedure Set - (This : in out Preferences; + (This : in out Pref_Group; Key : in String; - Value : in Float); + Value : in Float) +with Post => This.Key_Exists (Key); </pre></td> </tr> @@ -364,10 +544,11 @@ char set(const char *entry, float value, int precision); </pre></td> <td><pre> procedure Set - (This : in out Preferences; + (This : in out Pref_Group; Key : in String; Value : in Float; - Precision : in Natural); + Precision : in Natural) +with Post => This.Key_Exists (Key); </pre></td> </tr> @@ -377,9 +558,10 @@ char set(const char *entry, double value); </pre></td> <td><pre> procedure Set - (This : in out Preferences; + (This : in out Pref_Group; Key : in String; - Value : in Long_Float); + Value : in Long_Float) +with Post => This.Key_Exists (Key); </pre></td> </tr> @@ -389,10 +571,11 @@ char set(const char *entry, double value, int precision); </pre></td> <td><pre> procedure Set - (This : in out Preferences; + (This : in out Pref_Group; Key : in String; Value : in Long_Float; - Precision : in Natural); + Precision : in Natural) +with Post => This.Key_Exists (Key); </pre></td> </tr> @@ -402,9 +585,10 @@ char set(const char *entry, const char *value); </pre></td> <td><pre> procedure Set - (This : in out Preferences; + (This : in out Pref_Group; Key : in String; - Value : in String); + Value : in String) +with Post => This.Key_Exists (Key); </pre></td> </tr> @@ -412,7 +596,13 @@ procedure Set <td><pre> char set(const char *entry, const void *value, int size); </pre></td> -<td>TBA</td> +<td><pre> +procedure Set + (This : in out Pref_Group; + Key : in String; + Value : in Binary_Data) +with Post => This.Key_Exists (Key); +</pre></td> </tr> <tr> @@ -420,27 +610,13 @@ char set(const char *entry, const void *value, int size); int size(const char *entry); </pre></td> <td><pre> -function Entry_Size - (This : in Preferences; +function Value_Size + (This : in Pref_Group; Key : in String) return Natural; </pre></td> </tr> - <tr> -<td><pre> -static const char * newUUID(); -</pre></td> -<td>TBA</td> - </tr> - - <tr> -<td><pre> -static char remove(ID id_); -</pre></td> -<td>TBA</td> - </tr> - </table> diff --git a/doc/fl_printer.html b/doc/fl_printer.html index 97b0e9c..b6ea7ac 100644 --- a/doc/fl_printer.html +++ b/doc/fl_printer.html @@ -1,4 +1,3 @@ - <!DOCTYPE html> <html lang="en"> @@ -14,12 +13,15 @@ <h2>Fl_Printer 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_Printer</td> - <td>FLTK.Devices.Surfaces.Paged.Printers</td> + <td>FLTK.Devices.Surface.Paged.Printers</td> </tr> </table> @@ -44,7 +46,268 @@ <table class="function"> - <tr><th colspan="2">Functions and Procedures</th></tr> + <tr><th colspan="2">Static Attributes</th></tr> + + <tr> +<td><pre> +static const char * class_id = "Fl_Printer"; +</pre></td> +<td>Deprecated, use runtime tag checks instead.</td> + </tr> + + <tr> +<td><pre> +static const char * dialog_title = "Print"; +</pre></td> +<td><pre> +function Get_Dialog_Title + return String; + +procedure Set_Dialog_Title + (Value : in String); +</pre></td> + </tr> + + <tr> +<td><pre> +static const char * dialog_printer = "Printer:"; +</pre></td> +<td><pre> +function Get_Dialog_Printer + return String; + +procedure Set_Dialog_Printer + (Value : in String); +</pre></td> + </tr> + + <tr> +<td><pre> +static const char * dialog_range = "Print Range"; +</pre></td> +<td><pre> +function Get_Dialog_Range + return String; + +procedure Set_Dialog_Range + (Value : in String); +</pre></td> + </tr> + + <tr> +<td><pre> +static const char * dialog_copies = "Copies"; +</pre></td> +<td><pre> +function Get_Dialog_Copies + return String; + +procedure Set_Dialog_Copies + (Value : in String); +</pre></td> + </tr> + + <tr> +<td><pre> +static const char * dialog_all = "All"; +</pre></td> +<td><pre> +function Get_Dialog_All + return String; + +procedure Set_Dialog_All + (Value : in String); +</pre></td> + </tr> + + <tr> +<td><pre> +static const char * dialog_pages = "Pages"; +</pre></td> +<td><pre> +function Get_Dialog_Pages + return String; + +procedure Set_Dialog_Pages + (Value : in String); +</pre></td> + </tr> + + <tr> +<td><pre> +static const char * dialog_from = "From:"; +</pre></td> +<td><pre> +function Get_Dialog_From + return String; + +procedure Set_Dialog_From + (Value : in String); +</pre></td> + </tr> + + <tr> +<td><pre> +static const char * dialog_to = "To:"; +</pre></td> +<td><pre> +function Get_Dialog_To + return String; + +procedure Set_Dialog_To + (Value : in String); +</pre></td> + </tr> + + <tr> +<td><pre> +static const char * dialog_properties = "Properties..."; +</pre></td> +<td><pre> +function Get_Dialog_Properties + return String; + +procedure Set_Dialog_Properties + (Value : in String); +</pre></td> + </tr> + + <tr> +<td><pre> +static const char * dialog_copyNo = "# Copies:"; +</pre></td> +<td><pre> +function Get_Dialog_Number_Copies + return String; + +procedure Set_Dialog_Number_Copies + (Value : in String); +</pre></td> + </tr> + + <tr> +<td><pre> +static const char * dialog_print_button = "Print"; +</pre></td> +<td><pre> +function Get_Dialog_Print_Button + return String; + +procedure Set_Dialog_Print_Button + (Value : in String); +</pre></td> + </tr> + + <tr> +<td><pre> +static const char * dialog_cancel_button = "Cancel"; +</pre></td> +<td><pre> +function Get_Dialog_Cancel_Button + return String; + +procedure Set_Dialog_Cancel_Button + (Value : in String); +</pre></td> + </tr> + + <tr> +<td><pre> +static const char * dialog_print_to_file = "Print To File"; +</pre></td> +<td><pre> +function Get_Dialog_Print_To_File + return String; + +procedure Set_Dialog_Print_To_File + (Value : in String); +</pre></td> + </tr> + + <tr> +<td><pre> +static const char * property_title = "Printer Properties"; +</pre></td> +<td><pre> +function Get_Property_Title + return String; + +procedure Set_Property_Title + (Value : in String); +</pre></td> + </tr> + + <tr> +<td><pre> +static const char * property_pagesize = "Page Size:"; +</pre></td> +<td><pre> +function Get_Property_Page_Size + return String; + +procedure Set_Property_Page_Size + (Value : in String); +</pre></td> + </tr> + + <tr> +<td><pre> +static const char * property_mode = "Output Mode:"; +</pre></td> +<td><pre> +function Get_Property_Mode + return String; + +procedure Set_Property_Mode + (Value : in String); +</pre></td> + </tr> + + <tr> +<td><pre> +static const char * property_use = "Use"; +</pre></td> +<td><pre> +function Get_Property_Use + return String; + +procedure Set_Property_Use + (Value : in String); +</pre></td> + </tr> + + <tr> +<td><pre> +static const char * property_save = "Save"; +</pre></td> +<td><pre> +function Get_Property_Save + return String; + +procedure Set_Property_Save + (Value : in String); +</pre></td> + </tr> + + <tr> +<td><pre> +static const char * property_cancel = "Cancel"; +</pre></td> +<td><pre> +function Get_Property_Cancel + return String; + +procedure Set_Property_Cancel + (Value : in String); +</pre></td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Constructors</th></tr> <tr> <td><pre> @@ -56,18 +319,29 @@ function Create </pre></td> </tr> +</table> + + + +<table class="function"> + <tr><th colspan="2">Functions and Procedures</th></tr> + <tr> <td><pre> const char * class_name(); </pre></td> -<td>Use runtime tag checking</td> +<td>Deprecated, use runtime tag checks instead.</td> </tr> <tr> <td><pre> Fl_Graphics_Driver * driver(void); </pre></td> -<td> </td> +<td><pre> +function Get_Original_Driver + (This : in out Printer) + return FLTK.Devices.Graphics.Graphics_Driver_Reference; +</pre></td> </tr> <tr> @@ -137,7 +411,8 @@ procedure Print_Widget <tr> <td><pre> -void print_window_part(Fl_Window *win, int x, int y, int w, int h, int delta_x=0, int delta_y=0); +void print_window_part(Fl_Window *win, int x, int y, int w, int h, + int delta_x=0, int delta_y=0); </pre></td> <td><pre> procedure Print_Window_Part @@ -202,12 +477,12 @@ int start_job(int pagecount, int *frompage=NULL, int *topage=NULL); <td><pre> procedure Start_Job (This : in out Printer; - Count : in Natural); + Count : in Natural := 0); procedure Start_Job (This : in out Printer; - Count : in Natural; - From, To : in Positive); + Count : in Natural := 0; + From, To : out Positive); </pre></td> </tr> diff --git a/doc/fl_progress.html b/doc/fl_progress.html index 8718ce0..7554df4 100644 --- a/doc/fl_progress.html +++ b/doc/fl_progress.html @@ -1,4 +1,3 @@ - <!DOCTYPE html> <html lang="en"> @@ -14,6 +13,9 @@ <h2>Fl_Progress Binding Map</h2> +<a href="index.html">Back to Index</a> + + <table class="package"> <tr><th colspan="2">Package name</th></tr> @@ -44,7 +46,7 @@ <table class="function"> - <tr><th colspan="2">Functions and Procedures</th></tr> + <tr><th colspan="2">Constructors</th></tr> <tr> <td><pre> @@ -53,30 +55,29 @@ Fl_Progress(int x, int y, int w, int h, const char *l=0); <td><pre> function Create (X, Y, W, H : in Integer; - Text : in String) + Text : in String := "") return Progress_Bar; </pre></td> </tr> <tr> +<td>Rely on the automatic use of begin when a group is created, or use begin/end +explicitly, or add each widget to its intended parent group manually.</td> <td><pre> -virtual void draw(); -</pre></td> -<td><pre> -procedure Draw - (This : in out Progress_Bar); +function Create + (Parent : in out FLTK.Widgets.Groups.Group'Class; + X, Y, W, H : in Integer; + Text : in String := "") + return Progress_Bar; </pre></td> </tr> - <tr> -<td> </td> -<td><pre> -function Handle - (This : in out Progress_Bar; - Event : in Event_Kind) - return Event_Outcome; -</pre></td> - </tr> +</table> + + + +<table class="function"> + <tr><th colspan="2">Functions and Procedures</th></tr> <tr> <td><pre> @@ -147,6 +148,23 @@ function Get_Value </table> + +<table class="function"> + <tr><th colspan="2">Protected Functions and Procedures</th></tr> + + <tr> +<td><pre> +virtual void draw(); +</pre></td> +<td><pre> +procedure Draw + (This : in out Progress_Bar); +</pre></td> + </tr> + +</table> + + </body> </html> diff --git a/doc/fl_radio_button.html b/doc/fl_radio_button.html index 03f2f92..5252438 100644 --- a/doc/fl_radio_button.html +++ b/doc/fl_radio_button.html @@ -1,4 +1,3 @@ - <!DOCTYPE html> <html lang="en"> @@ -14,6 +13,9 @@ <h2>Fl_Radio_Button Binding Map</h2> +<a href="index.html">Back to Index</a> + + <table class="package"> <tr><th colspan="2">Package name</th></tr> @@ -43,7 +45,7 @@ <table class="function"> - <tr><th colspan="2">Functions and Procedures</th></tr> + <tr><th colspan="2">Constructors</th></tr> <tr> <td><pre> @@ -52,26 +54,20 @@ Fl_Radio_Button(int X, int Y, int W, int H, const char *L=0); <td><pre> function Create (X, Y, W, H : in Integer; - Text : in String) + Text : in String := "") return Radio_Button; </pre></td> </tr> <tr> -<td> </td> -<td><pre> -procedure Draw - (This : in out Radio_Button); -</pre></td> - </tr> - - <tr> -<td> </td> +<td>Rely on the automatic use of begin when a group is created, or use begin/end +explicitly, or add each widget to its intended parent group manually.</td> <td><pre> -function Handle - (This : in out Radio_Button; - Event : in Event_Kind) - return Event_Outcome; +function Create + (Parent : in out FLTK.Widgets.Groups.Group'Class; + X, Y, W, H : in Integer; + Text : in String := "") + return Radio_Button; </pre></td> </tr> diff --git a/doc/fl_radio_light_button.html b/doc/fl_radio_light_button.html index bde57e4..8453f4d 100644 --- a/doc/fl_radio_light_button.html +++ b/doc/fl_radio_light_button.html @@ -1,4 +1,3 @@ - <!DOCTYPE html> <html lang="en"> @@ -14,6 +13,9 @@ <h2>Fl_Radio_Light_Button Binding Map</h2> +<a href="index.html">Back to Index</a> + + <table class="package"> <tr><th colspan="2">Package name</th></tr> @@ -43,7 +45,7 @@ <table class="function"> - <tr><th colspan="2">Functions and Procedures</th></tr> + <tr><th colspan="2">Constructors</th></tr> <tr> <td><pre> @@ -52,26 +54,20 @@ Fl_Radio_Light_Button(int X, int Y, int W, int H, const char *L=0); <td><pre> function Create (X, Y, W, H : in Integer; - Text : in String) + Text : in String := "") return Radio_Light_Button; </pre></td> </tr> <tr> -<td> </td> -<td><pre> -procedure Draw - (This : in out Radio_Light_Button); -</pre></td> - </tr> - - <tr> -<td> </td> +<td>Rely on the automatic use of begin when a group is created, or use begin/end +explicitly, or add each widget to its intended parent group manually.</td> <td><pre> -function Handle - (This : in out Radio_Light_Button; - Event : in Event_Kind) - return Event_Outcome; +function Create + (Parent : in out FLTK.Widgets.Groups.Group'Class; + X, Y, W, H : in Integer; + Text : in String := "") + return Radio_Light_Button; </pre></td> </tr> diff --git a/doc/fl_radio_round_button.html b/doc/fl_radio_round_button.html index 3cd67dd..39a5c04 100644 --- a/doc/fl_radio_round_button.html +++ b/doc/fl_radio_round_button.html @@ -1,4 +1,3 @@ - <!DOCTYPE html> <html lang="en"> @@ -14,6 +13,9 @@ <h2>Fl_Radio_Round_Button Binding Map</h2> +<a href="index.html">Back to Index</a> + + <table class="package"> <tr><th colspan="2">Package name</th></tr> @@ -43,7 +45,7 @@ <table class="function"> - <tr><th colspan="2">Functions and Procedures</th></tr> + <tr><th colspan="2">Constructors</th></tr> <tr> <td><pre> @@ -52,26 +54,20 @@ Fl_Radio_Round_Button(int X, int Y, int W, int H, const char *L=0); <td><pre> function Create (X, Y, W, H : in Integer; - Text : in String) + Text : in String := "") return Radio_Round_Button; </pre></td> </tr> <tr> -<td> </td> -<td><pre> -procedure Draw - (This : in out Radio_Round_Button); -</pre></td> - </tr> - - <tr> -<td> </td> +<td>Rely on the automatic use of begin when a group is created, or use begin/end +explicitly, or add each widget to its intended parent group manually.</td> <td><pre> -function Handle - (This : in out Radio_Round_Button; - Event : in Event_Kind) - return Event_Outcome; +function Create + (Parent : in out FLTK.Widgets.Groups.Group'Class; + X, Y, W, H : in Integer; + Text : in String := "") + return Radio_Round_Button; </pre></td> </tr> diff --git a/doc/fl_repeat_button.html b/doc/fl_repeat_button.html index 852a1ce..4ed4535 100644 --- a/doc/fl_repeat_button.html +++ b/doc/fl_repeat_button.html @@ -1,4 +1,3 @@ - <!DOCTYPE html> <html lang="en"> @@ -14,6 +13,9 @@ <h2>Fl_Repeat_Button Binding Map</h2> +<a href="index.html">Back to Index</a> + + <table class="package"> <tr><th colspan="2">Package name</th></tr> @@ -43,7 +45,7 @@ <table class="function"> - <tr><th colspan="2">Functions and Procedures</th></tr> + <tr><th colspan="2">Constructors</th></tr> <tr> <td><pre> @@ -52,15 +54,36 @@ Fl_Repeat_Button(int X, int Y, int W, int H, const char *L=0); <td><pre> function Create (X, Y, W, H : in Integer; - Text : in String) + Text : in String := "") + return Repeat_Button; +</pre></td> + </tr> + + <tr> +<td>Rely on the automatic use of begin when a group is created, or use begin/end +explicitly, or add each widget to its intended parent group manually.</td> +<td><pre> +function Create + (Parent : in out FLTK.Widgets.Groups.Group'Class; + X, Y, W, H : in Integer; + Text : in String := "") return Repeat_Button; </pre></td> </tr> +</table> + + + +<table class="function"> + <tr><th colspan="2">Functions and Procedures</th></tr> + <tr> -<td> </td> <td><pre> -procedure Draw +void deactivate(); +</pre></td> +<td><pre> +procedure Deactivate (This : in out Repeat_Button); </pre></td> </tr> diff --git a/doc/fl_return_button.html b/doc/fl_return_button.html index 2bbfac0..a2c4ea9 100644 --- a/doc/fl_return_button.html +++ b/doc/fl_return_button.html @@ -1,4 +1,3 @@ - <!DOCTYPE html> <html lang="en"> @@ -14,6 +13,9 @@ <h2>Fl_Return_Button Binding Map</h2> +<a href="index.html">Back to Index</a> + + <table class="package"> <tr><th colspan="2">Package name</th></tr> @@ -43,7 +45,7 @@ <table class="function"> - <tr><th colspan="2">Functions and Procedures</th></tr> + <tr><th colspan="2">Constructors</th></tr> <tr> <td><pre> @@ -52,21 +54,30 @@ Fl_Return_Button(int X, int Y, int W, int H, const char *L=0); <td><pre> function Create (X, Y, W, H : in Integer; - Text : in String) + Text : in String := "") return Enter_Button; </pre></td> </tr> <tr> +<td>Rely on the automatic use of begin when a group is created, or use begin/end +explicitly, or add each widget to its intended parent group manually.</td> <td><pre> -void draw(); -</pre></td> -<td><pre> -procedure Draw - (This : in out Enter_Button); +function Create + (Parent : in out FLTK.Widgets.Groups.Group'Class; + X, Y, W, H : in Integer; + Text : in String := "") + return Enter_Button; </pre></td> </tr> +</table> + + + +<table class="function"> + <tr><th colspan="2">Functions and Procedures</th></tr> + <tr> <td><pre> int handle(int); @@ -82,6 +93,23 @@ function Handle </table> + +<table class="function"> + <tr><th colspan="2">Protected Functions and Procedures</th></tr> + + <tr> +<td><pre> +void draw(); +</pre></td> +<td><pre> +procedure Draw + (This : in out Enter_Button); +</pre></td> + </tr> + +</table> + + </body> </html> diff --git a/doc/fl_rgb_image.html b/doc/fl_rgb_image.html index 95ee4e0..6d5427d 100644 --- a/doc/fl_rgb_image.html +++ b/doc/fl_rgb_image.html @@ -1,4 +1,3 @@ - <!DOCTYPE html> <html lang="en"> @@ -14,6 +13,9 @@ <h2>Fl_RGB_Image Binding Map</h2> +<a href="index.html">Back to Index</a> + + <table class="package"> <tr><th colspan="2">Package name</th></tr> @@ -44,22 +46,129 @@ <table class="function"> - <tr><th colspan="2">Functions and Procedures</th></tr> + <tr><th colspan="2">Attributes</th></tr> <tr> <td><pre> -Fl_RGB_Image(const uchar *bits, int W, int H, int D=3, int LD=0); +int alloc_array; +</pre></td> +<td>Intentionally left unbound.</td> + </tr> + + <tr> +<td><pre> +const uchar * array; +</pre></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> + + + +<table class="function"> + <tr><th colspan="2">Constructors</th></tr> + + <tr> +<td><pre> +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_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> -<td> </td> </tr> <tr> <td><pre> Fl_RGB_Image(const Fl_Pixmap *pxm, Fl_Color bg=FL_GRAY); </pre></td> -<td> </td> +<td><pre> +function Create + (Data : in FLTK.Images.Pixmaps.Pixmap; + Background : in Color := Background_Color) + return RGB_Image; +</pre></td> </tr> +</table> + + + +<table class="function"> + <tr><th colspan="2">Static Functions and Procedures</th></tr> + + <tr> +<td><pre> +static void max_size(size_t size); +</pre></td> +<td><pre> +procedure Set_Max_Size + (Value : in Size_Type); +</pre></td> + </tr> + + <tr> +<td><pre> +static size_t max_size(); +</pre></td> +<td><pre> +function Get_Max_Size + return Size_Type; +</pre></td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Functions and Procedures</th></tr> + <tr> <td><pre> virtual void color_average(Fl_Color c, float i); @@ -107,13 +216,14 @@ procedure Desaturate <tr> <td><pre> -virtual void draw(int X, int Y, int W, int H, int cx=0, int cy=0); +virtual void draw(int X, int Y, int W, int H, + int cx=0, int cy=0); </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> @@ -132,35 +242,24 @@ procedure Draw <td><pre> virtual void label(Fl_Widget *w); </pre></td> -<td> </td> +<td>Marked as obsolete.</td> </tr> <tr> <td><pre> virtual void label(Fl_Menu_Item *m); </pre></td> -<td> </td> +<td>Marked as obsolete.</td> </tr> <tr> <td><pre> -static void max_size(size_t size); -</pre></td> -<td> </td> - </tr> - - <tr> -<td><pre> -static size_t max_size(); +virtual void uncache(); </pre></td> -<td> </td> - </tr> - - <tr> <td><pre> -virtual void uncache(); +procedure Uncache + (This : in out RGB_Image); </pre></td> -<td> </td> </tr> </table> diff --git a/doc/fl_roller.html b/doc/fl_roller.html index fb0b6cc..8e1014e 100644 --- a/doc/fl_roller.html +++ b/doc/fl_roller.html @@ -1,4 +1,3 @@ - <!DOCTYPE html> <html lang="en"> @@ -14,6 +13,9 @@ <h2>Fl_Roller Binding Map</h2> +<a href="index.html">Back to Index</a> + + <table class="package"> <tr><th colspan="2">Package name</th></tr> @@ -44,7 +46,7 @@ <table class="function"> - <tr><th colspan="2">Functions and Procedures</th></tr> + <tr><th colspan="2">Constructors</th></tr> <tr> <td><pre> @@ -53,21 +55,30 @@ Fl_Roller(int X, int Y, int W, int H, const char *L=0); <td><pre> function Create (X, Y, W, H : in Integer; - Text : in String) + Text : in String := "") return Roller; </pre></td> </tr> <tr> +<td>Rely on the automatic use of begin when a group is created, or use begin/end +explicitly, or add each widget to its intended parent group manually.</td> <td><pre> -void draw(); -</pre></td> -<td><pre> -procedure Draw - (This : in out Roller); +function Create + (Parent : in out FLTK.Widgets.Groups.Group'Class; + X, Y, W, H : in Integer; + Text : in String := "") + return Roller; </pre></td> </tr> +</table> + + + +<table class="function"> + <tr><th colspan="2">Functions and Procedures</th></tr> + <tr> <td><pre> int handle(int); @@ -83,6 +94,23 @@ function Handle </table> + +<table class="function"> + <tr><th colspan="2">Protected Functions and Procedures</th></tr> + + <tr> +<td><pre> +void draw(); +</pre></td> +<td><pre> +procedure Draw + (This : in out Roller); +</pre></td> + </tr> + +</table> + + </body> </html> diff --git a/doc/fl_round_button.html b/doc/fl_round_button.html index cc780f7..c1498ed 100644 --- a/doc/fl_round_button.html +++ b/doc/fl_round_button.html @@ -1,4 +1,3 @@ - <!DOCTYPE html> <html lang="en"> @@ -14,6 +13,9 @@ <h2>Fl_Round_Button Binding Map</h2> +<a href="index.html">Back to Index</a> + + <table class="package"> <tr><th colspan="2">Package name</th></tr> @@ -43,7 +45,7 @@ <table class="function"> - <tr><th colspan="2">Functions and Procedures</th></tr> + <tr><th colspan="2">Constructors</th></tr> <tr> <td><pre> @@ -52,26 +54,20 @@ Fl_Round_Button(int X, int Y, int W, int H, const char *L=0); <td><pre> function Create (X, Y, W, H : in Integer; - Text : in String) + Text : in String := "") return Round_Button; </pre></td> </tr> <tr> -<td> </td> -<td><pre> -procedure Draw - (This : in out Round_Button); -</pre></td> - </tr> - - <tr> -<td> </td> +<td>Rely on the automatic use of begin when a group is created, or use begin/end +explicitly, or add each widget to its intended parent group manually.</td> <td><pre> -function Handle - (This : in out Round_Button; - Event : in Event_Kind) - return Event_Outcome; +function Create + (Parent : in out FLTK.Widgets.Groups.Group'Class; + X, Y, W, H : in Integer; + Text : in String := "") + return Round_Button; </pre></td> </tr> diff --git a/doc/fl_round_clock.html b/doc/fl_round_clock.html index 9049459..a14ebe6 100644 --- a/doc/fl_round_clock.html +++ b/doc/fl_round_clock.html @@ -1,4 +1,3 @@ - <!DOCTYPE html> <html lang="en"> @@ -14,6 +13,9 @@ <h2>Fl_Round_Clock Binding Map</h2> +<a href="index.html">Back to Index</a> + + <table class="package"> <tr><th colspan="2">Package name</th></tr> @@ -44,7 +46,7 @@ <table class="function"> - <tr><th colspan="2">Functions and Procedures</th></tr> + <tr><th colspan="2">Constructors</th></tr> <tr> <td><pre> @@ -53,35 +55,20 @@ Fl_Round_Clock(int X, int Y, int W, int H, const char *L=0); <td><pre> function Create (X, Y, W, H : in Integer; - Text : in String) + Text : in String := "") return Round_Clock; </pre></td> </tr> <tr> -<td> </td> -<td><pre> -procedure Draw - (This : in out Round_Clock); -</pre></td> - </tr> - - <tr> -<td> </td> +<td>Rely on the automatic use of begin when a group is created, or use begin/end +explicitly, or add each widget to its intended parent group manually.</td> <td><pre> -procedure Draw - (This : in out Clock; - X, Y, W, H : in Integer); -</pre></td> - </tr> - - <tr> -<td> </td> -<td><pre> -function Handle - (This : in out Round_Clock; - Event : in Event_Kind) - return Event_Outcome; +function Create + (Parent : in out FLTK.Widgets.Groups.Group'Class; + X, Y, W, H : in Integer; + Text : in String := "") + return Round_Clock; </pre></td> </tr> diff --git a/doc/fl_scroll.html b/doc/fl_scroll.html index 3cc9087..4c8977b 100644 --- a/doc/fl_scroll.html +++ b/doc/fl_scroll.html @@ -1,4 +1,3 @@ - <!DOCTYPE html> <html lang="en"> @@ -14,6 +13,9 @@ <h2>Fl_Scroll Binding Map</h2> +<a href="index.html">Back to Index</a> + + <table class="package"> <tr><th colspan="2">Package name</th></tr> @@ -40,16 +42,72 @@ </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> <table class="function"> - <tr><th colspan="2">Functions and Procedures</th></tr> + <tr><th colspan="2">Attributes</th></tr> + + <tr> +<td><pre> +Fl_Scrollbar hscrollbar; +</pre></td> +<td><pre> +function H_Bar + (This : in out Scroll) + return Valuators.Sliders.Scrollbars.Scrollbar_Reference; +</pre></td> + </tr> + + <tr> +<td><pre> +Fl_Scrollbar scrollbar; +</pre></td> +<td><pre> +function V_Bar + (This : in out Scroll) + return Valuators.Sliders.Scrollbars.Scrollbar_Reference; +</pre></td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Constructors</th></tr> <tr> <td><pre> @@ -58,27 +116,36 @@ Fl_Scroll(int X, int Y, int W, int H, const char *L=0); <td><pre> function Create (X, Y, W, H : in Integer; - Text : in String) + Text : in String := "") return Scroll; </pre></td> </tr> <tr> +<td>Rely on the automatic use of begin when a group is created, or use begin/end +explicitly, or add each widget to its intended parent group manually.</td> <td><pre> -void clear(); -</pre></td> -<td><pre> -procedure Clear - (This : in out Scroll); +function Create + (Parent : in out Groups.Group'Class; + X, Y, W, H : in Integer; + Text : in String := "") + return Scroll; </pre></td> </tr> +</table> + + + +<table class="function"> + <tr><th colspan="2">Functions and Procedures</th></tr> + <tr> <td><pre> -void draw(); +void clear(); </pre></td> <td><pre> -procedure Draw +procedure Clear (This : in out Scroll); </pre></td> </tr> @@ -99,7 +166,11 @@ function Handle <td><pre> void resize(int X, int Y, int W, int H); </pre></td> -<td> </td> +<td><pre> +procedure Resize + (This : in out Scroll; + X, Y, W, H : in Integer); +</pre></td> </tr> <tr> @@ -158,9 +229,18 @@ function Get_Scroll_Y </tr> <tr> -<td> </td> +<td>See type method in Fl_Widget.</td> <td><pre> -procedure Set_Type +function Get_Kind + (This : in Scroll) + return Scroll_Kind; +</pre></td> + </tr> + + <tr> +<td>See type method in Fl_Widget.</td> +<td><pre> +procedure Set_Kind (This : in out Scroll; Mode : in Scroll_Kind); </pre></td> @@ -169,6 +249,45 @@ procedure Set_Type </table> + +<table class="function"> + <tr><th colspan="2">Protected Functions and Procedures</th></tr> + + <tr> +<td><pre> +void bbox(int &, int &, int &, int &); +</pre></td> +<td><pre> +procedure Bounding_Box + (This : in Scroll; + X, Y, W, H : out Integer); +</pre></td> + </tr> + + <tr> +<td><pre> +void draw(); +</pre></td> +<td><pre> +procedure Draw + (This : in out Scroll); +</pre></td> + </tr> + + <tr> +<td><pre> +void recalc_scrollbars(Scrollinfo &si); +</pre></td> +<td><pre> +procedure Recalculate_Scrollbars + (This : in Scroll; + Data : out Scroll_Info); +</pre></td> + </tr> + +</table> + + </body> </html> diff --git a/doc/fl_scrollbar.html b/doc/fl_scrollbar.html index 8538525..b946944 100644 --- a/doc/fl_scrollbar.html +++ b/doc/fl_scrollbar.html @@ -1,4 +1,3 @@ - <!DOCTYPE html> <html lang="en"> @@ -14,6 +13,9 @@ <h2>Fl_Scrollbar Binding Map</h2> +<a href="index.html">Back to Index</a> + + <table class="package"> <tr><th colspan="2">Package name</th></tr> @@ -44,7 +46,7 @@ <table class="function"> - <tr><th colspan="2">Functions and Procedures</th></tr> + <tr><th colspan="2">Constructors</th></tr> <tr> <td><pre> @@ -53,21 +55,30 @@ Fl_Scrollbar(int X, int Y, int W, int H, const char *L=0); <td><pre> function Create (X, Y, W, H : in Integer; - Text : in String) + Text : in String := "") return Scrollbar; </pre></td> </tr> <tr> +<td>Rely on the automatic use of begin when a group is created, or use begin/end +explicitly, or add each widget to its intended parent group manually.</td> <td><pre> -void draw(); -</pre></td> -<td><pre> -procedure Draw - (This : in out Scrollbar); +function Create + (Parent : in out FLTK.Widgets.Groups.Group'Class; + X, Y, W, H : in Integer; + Text : in String := "") + return Scrollbar; </pre></td> </tr> +</table> + + + +<table class="function"> + <tr><th colspan="2">Functions and Procedures</th></tr> + <tr> <td><pre> int handle(int); @@ -141,6 +152,23 @@ procedure Set_All </table> + +<table class="function"> + <tr><th colspan="2">Protected Functions and Procedures</th></tr> + + <tr> +<td><pre> +void draw(); +</pre></td> +<td><pre> +procedure Draw + (This : in out Scrollbar); +</pre></td> + </tr> + +</table> + + </body> </html> diff --git a/doc/fl_secret_input.html b/doc/fl_secret_input.html index 43e5226..93dc95d 100644 --- a/doc/fl_secret_input.html +++ b/doc/fl_secret_input.html @@ -1,4 +1,3 @@ - <!DOCTYPE html> <html lang="en"> @@ -14,12 +13,15 @@ <h2>Fl_Secret_Input 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_Secret_Input</td> - <td>FLTK.Widgets.Inputs.Secret</td> + <td>FLTK.Widgets.Inputs.Text.Secret</td> </tr> </table> @@ -44,7 +46,7 @@ <table class="function"> - <tr><th colspan="2">Functions and Procedures</th></tr> + <tr><th colspan="2">Constructors</th></tr> <tr> <td><pre> @@ -53,19 +55,30 @@ Fl_Secret_Input(int X, int Y, int W, int H, const char *L=0); <td><pre> function Create (X, Y, W, H : in Integer; - Text : in String) + Text : in String := "") return Secret_Input; </pre></td> </tr> <tr> -<td> </td> +<td>Rely on the automatic use of begin when a group is created, or use begin/end +explicitly, or add each widget to its intended parent group manually.</td> <td><pre> -procedure Draw - (This : in out Secret_Input); +function Create + (Parent : in out FLTK.Widgets.Groups.Group'Class; + X, Y, W, H : in Integer; + Text : in String := "") + return Secret_Input; </pre></td> </tr> +</table> + + + +<table class="function"> + <tr><th colspan="2">Functions and Procedures</th></tr> + <tr> <td><pre> int handle(int); diff --git a/doc/fl_select_browser.html b/doc/fl_select_browser.html new file mode 100644 index 0000000..ab85b10 --- /dev/null +++ b/doc/fl_select_browser.html @@ -0,0 +1,80 @@ +<!DOCTYPE html> + +<html lang="en"> + <head> + <meta charset="utf-8"> + <title>Fl_Select_Browser Binding Map</title> + <link href="map.css" rel="stylesheet"> + </head> + + <body> + + +<h2>Fl_Select_Browser 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_Select_Browser</td> + <td>FLTK.Widgets.Groups.Browsers.Textline.Choice</td> + </tr> + +</table> + + + +<table class="type"> + <tr><th colspan="2">Types</th></tr> + + <tr> + <td>Fl_Select_Browser</td> + <td>Choice_Browser</td> + </tr> + + <tr> + <td> </td> + <td>Choice_Browser_Reference</td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Functions and Procedures</th></tr> + + <tr> +<td><pre> +Fl_Select_Browser(int X, int Y, int W, int H, const char *L=0); +</pre></td> +<td><pre> +function Create + (X, Y, W, H : in Integer; + Text : in String := "") + return Choice_Browser; +</pre></td> + </tr> + + <tr> +<td>Rely on the automatic use of begin when a group is created, or use begin/end +explicitly, or add each widget to its intended parent group manually.</td> +<td><pre> +function Create + (Parent : in out Groups.Group'Class; + X, Y, W, H : in Integer; + Text : in String := "") + return Choice_Browser; +</pre></td> + </tr> + +</table> + + + </body> +</html> + diff --git a/doc/fl_shared_image.html b/doc/fl_shared_image.html index 298a541..1f8ae25 100644 --- a/doc/fl_shared_image.html +++ b/doc/fl_shared_image.html @@ -1,4 +1,3 @@ - <!DOCTYPE html> <html lang="en"> @@ -14,6 +13,9 @@ <h2>Fl_Shared_Image Binding Map</h2> +<a href="index.html">Back to Index</a> + + <table class="package"> <tr><th colspan="2">Package name</th></tr> @@ -39,104 +41,169 @@ <td>Shared_Image_Reference</td> </tr> + <tr> + <td>Fl_Shared_Handler</td> + <td> </td> + </tr> + </table> <table class="function"> - <tr><th colspan="2">Functions and Procedures</th></tr> + <tr><th colspan="2">Static Protected Attributes</th></tr> <tr> <td><pre> -Fl_Shared_Image(); +static int alloc_handlers_ = 0; </pre></td> -<td> </td> +<td>Intentionally left unbound.</td> </tr> <tr> <td><pre> -Fl_Shared_Image(const char *n, Fl_Image *img=0); +static int alloc_images_ = 0; </pre></td> -<td> </td> +<td>Intentionally left unbound.</td> </tr> <tr> <td><pre> -static void add_handler(Fl_Shared_Handler f); +static Fl_Shared_Handler * handlers_ = 0; </pre></td> -<td> </td> +<td>Intentionally left unbound.</td> </tr> <tr> <td><pre> -virtual void color_average(Fl_Color c, float i); +static Fl_Shared_Image ** images_ = 0; </pre></td> +<td>Intentionally left unbound.</td> + </tr> + + <tr> <td><pre> -procedure Color_Average - (This : in out Shared_Image; - Col : in Color; - Amount : in Blend); +static int num_handlers_ = 0; </pre></td> +<td>Intentionally left unbound.</td> </tr> <tr> <td><pre> -virtual Fl_Image * copy(int W, int H); +static int num_images_ = 0; </pre></td> +<td>Intentionally left unbound.</td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Protected Attributes</th></tr> + + <tr> <td><pre> -function Copy - (This : in Shared_Image; - Width, Height : in Natural) - return Shared_Image'Class; +int alloc_image_; </pre></td> +<td>Intentionally left unbound.</td> </tr> <tr> <td><pre> -Fl_Image * copy(); +Fl_Image * image_; </pre></td> +<td>Intentionally left unbound.</td> + </tr> + + <tr> <td><pre> -function Copy - (This : in Shared_Image) - return Shared_Image'Class; +const char * name_; </pre></td> +<td>Intentionally left unbound.</td> </tr> <tr> <td><pre> -virtual void desaturate(); +int original_; </pre></td> +<td>Intentionally left unbound.</td> + </tr> + + <tr> <td><pre> -procedure Desaturate - (This : in out Shared_Image); +int refcount_; </pre></td> +<td>Intentionally left unbound.</td> </tr> +</table> + + + +<table class="function"> + <tr><th colspan="2">Constructors</th></tr> + <tr> <td><pre> -virtual void draw(int X, int Y, int W, int H, int cx, int cy); +Fl_Shared_Image(); </pre></td> +<td>Intentionally left unbound.</td> + </tr> + + <tr> <td><pre> -procedure Draw - (This : in Shared_Image; - X, Y, W, H : in Integer; - CX, CY : in Integer := 0); +Fl_Shared_Image(const char *n, Fl_Image *img=0); </pre></td> +<td>Intentionally left unbound.</td> </tr> <tr> <td><pre> -void draw(int X, int Y); +static Fl_Shared_Image * get(const char *name, int W=0, int H=0); </pre></td> <td><pre> -procedure Draw - (This : in Shared_Image; - X, Y : in Integer); +function Create + (Filename : in String; + W, H : in Integer) + return Shared_Image; +</pre></td> + </tr> + + <tr> +<td><pre> +static Fl_Shared_Image * get(Fl_RGB_Image *rgb, int own_it=1); +</pre></td> +<td><pre> +function Create + (From : in FLTK.Images.RGB.RGB_Image'Class) + return Shared_Image; </pre></td> </tr> <tr> <td><pre> +static Fl_Shared_Image ** images(); +</pre></td> +<td> </td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Static Functions and Procedures</th></tr> + + <tr> +<td><pre> +static void add_handler(Fl_Shared_Handler f); +</pre></td> +<td>Documentation lacking, claims to be a test function yet used for adding extra formats?</td> + </tr> + + <tr> +<td><pre> static Fl_Shared_Image * find(const char *name, int W=0, int H=0); </pre></td> <td><pre> @@ -149,32 +216,105 @@ function Find <tr> <td><pre> -static Fl_Shared_Image * get(const char *name, int W=0, int H=0); +static int num_images(); </pre></td> <td><pre> -function Create - (Filename : in String; - W, H : in Integer) - return Shared_Image; +function Number_Of_Images + return Natural; </pre></td> </tr> <tr> <td><pre> -static Fl_Shared_Image * get(Fl_RGB_Image *rgb, int own_it=1); +static void remove_handler(Fl_Shared_Handler f); </pre></td> +<td>Documentation lacking, claims to be a test function yet used for adding extra formats?</td> + </tr> + + <tr> <td><pre> -function Create - (From : in FLTK.Images.RGB.RGB_Image'Class) - return Shared_Image; +static void scaling_algorithm(Fl_RGB_Scaling algorithm); +</pre></td> +<td><pre> +procedure Set_Scaling_Algorithm + (To : in Scaling_Kind); </pre></td> </tr> +</table> + + + +<table class="function"> + <tr><th colspan="2">Functions and Procedures</th></tr> + <tr> <td><pre> -static Fl_Shared_Image ** images(); +virtual void color_average(Fl_Color c, float i); +</pre></td> +<td><pre> +procedure Color_Average + (This : in out Shared_Image; + Col : in Color; + Amount : in Blend); +</pre></td> + </tr> + + <tr> +<td><pre> +virtual Fl_Image * copy(int W, int H); +</pre></td> +<td><pre> +function Copy + (This : in Shared_Image; + Width, Height : in Natural) + return Shared_Image'Class; +</pre></td> + </tr> + + <tr> +<td><pre> +Fl_Image * copy(); +</pre></td> +<td><pre> +function Copy + (This : in Shared_Image) + return Shared_Image'Class; +</pre></td> + </tr> + + <tr> +<td><pre> +virtual void desaturate(); +</pre></td> +<td><pre> +procedure Desaturate + (This : in out Shared_Image); +</pre></td> + </tr> + + <tr> +<td><pre> +virtual void draw(int X, int Y, int W, int H, + int cx, int cy); +</pre></td> +<td><pre> +procedure Draw + (This : in Shared_Image; + X, Y, W, H : in Integer; + CX, CY : in Integer := 0); +</pre></td> + </tr> + + <tr> +<td><pre> +void draw(int X, int Y); +</pre></td> +<td><pre> +procedure Draw + (This : in Shared_Image; + X, Y : in Integer); </pre></td> -<td> </td> </tr> <tr> @@ -190,23 +330,31 @@ function Name <tr> <td><pre> -static int num_images(); +int original(); +</pre></td> +<td><pre> +function Original + (This : in Shared_Image) + return Boolean; </pre></td> -<td> </td> </tr> <tr> <td><pre> int refcount(); </pre></td> -<td> </td> +<td><pre> +function Reference_Count + (This : in Shared_Image) + return Natural; +</pre></td> </tr> <tr> <td><pre> void release(); </pre></td> -<td>Used as destructor, handled automatically with Finalize procedure using Limited_Controlled types</td> +<td>Used as destructor, handled automatically.</td> </tr> <tr> @@ -221,14 +369,8 @@ procedure Reload <tr> <td><pre> -static void remove_handler(Fl_Shared_Handler f); -</pre></td> -<td> </td> - </tr> - - <tr> -<td><pre> -void scale(int width, int height, int proportional=1, int can_expand=0); +void scale(int width, int height, + int proportional=1, int can_expand=0); </pre></td> <td><pre> procedure Scale @@ -241,17 +383,24 @@ procedure Scale <tr> <td><pre> -static void scaling_algorithm(Fl_RGB_Scaling algorithm); +virtual void uncache(); </pre></td> <td><pre> -procedure Set_Scaling_Algorithm - (To : in Scaling_Kind); +procedure Uncache + (This : in out Shared_Image); </pre></td> </tr> +</table> + + + +<table class="function"> + <tr><th colspan="2">Static Protected Functions and Procedures</th></tr> + <tr> <td><pre> -virtual void uncache(); +static int compare(Fl_Shared_Image **i0, Fl_Shared_Image **i1); </pre></td> <td> </td> </tr> @@ -259,6 +408,27 @@ virtual void uncache(); </table> + +<table class="function"> + <tr><th colspan="2">Protected Functions and Procedures</th></tr> + + <tr> +<td><pre> +void add(); +</pre></td> +<td>Intentionally left unbound.</td> + </tr> + + <tr> +<td><pre> +void update(); +</pre></td> +<td>Intentionally left unbound.</td> + </tr> + +</table> + + </body> </html> diff --git a/doc/fl_simple_counter.html b/doc/fl_simple_counter.html index 2961598..abcbef8 100644 --- a/doc/fl_simple_counter.html +++ b/doc/fl_simple_counter.html @@ -1,4 +1,3 @@ - <!DOCTYPE html> <html lang="en"> @@ -14,6 +13,9 @@ <h2>Fl_Simple_Counter Binding Map</h2> +<a href="index.html">Back to Index</a> + + <table class="package"> <tr><th colspan="2">Package name</th></tr> @@ -44,7 +46,7 @@ <table class="function"> - <tr><th colspan="2">Functions and Procedures</th></tr> + <tr><th colspan="2">Constructors</th></tr> <tr> <td><pre> @@ -53,26 +55,20 @@ Fl_Simple_Counter(int X, int Y, int W, int H, const char *L=0); <td><pre> function Create (X, Y, W, H : in Integer; - Text : in String) + Text : in String := "") return Simple_Counter; </pre></td> </tr> <tr> -<td> </td> -<td><pre> -procedure Draw - (This : in out Simple_Counter); -</pre></td> - </tr> - - <tr> -<td> </td> +<td>Rely on the automatic use of begin when a group is created, or use begin/end +explicitly, or add each widget to its intended parent group manually.</td> <td><pre> -function Handle - (This : in out Simple_Counter; - Event : in Event_Kind) - return Event_Outcome; +function Create + (Parent : in out FLTK.Widgets.Groups.Group'Class; + X, Y, W, H : in Integer; + Text : in String := "") + return Simple_Counter; </pre></td> </tr> diff --git a/doc/fl_single_window.html b/doc/fl_single_window.html index f3ce48b..d96f789 100644 --- a/doc/fl_single_window.html +++ b/doc/fl_single_window.html @@ -1,4 +1,3 @@ - <!DOCTYPE html> <html lang="en"> @@ -14,6 +13,9 @@ <h2>Fl_Single_Window Binding Map</h2> +<a href="index.html">Back to Index</a> + + <table class="package"> <tr><th colspan="2">Package name</th></tr> @@ -44,7 +46,7 @@ <table class="function"> - <tr><th colspan="2">Functions and Procedures</th></tr> + <tr><th colspan="2">Constructors</th></tr> <tr> <td><pre> @@ -53,7 +55,19 @@ Fl_Single_Window(int W, int H, const char *L=0); <td><pre> function Create (W, H : in Integer; - Text : in String) + Text : in String := "") + return Single_Window; +</pre></td> + </tr> + + <tr> +<td>Rely on the automatic use of begin when a group is created, or use begin/end +explicitly, or add each widget to its intended parent group manually.</td> +<td><pre> +function Create + (Parent : in out Groups.Group'Class; + W, H : in Integer; + Text : in String := "") return Single_Window; </pre></td> </tr> @@ -65,19 +79,30 @@ Fl_Single_Window(int X, int Y, int W, int H, const char *L=0); <td><pre> function Create (X, Y, W, H : in Integer; - Text : in String) + Text : in String := "") return Single_Window; </pre></td> </tr> <tr> -<td> </td> +<td>Rely on the automatic use of begin when a group is created, or use begin/end +explicitly, or add each widget to its intended parent group manually.</td> <td><pre> -procedure Draw - (This : in out Single_Window); +function Create + (Parent : in out Groups.Group'Class; + X, Y, W, H : in Integer; + Text : in String := "") + return Single_Window; </pre></td> </tr> +</table> + + + +<table class="function"> + <tr><th colspan="2">Functions and Procedures</th></tr> + <tr> <td><pre> void flush(); @@ -89,20 +114,13 @@ procedure Flush </tr> <tr> -<td> </td> <td><pre> -function Handle - (This : in out Single_Window; - Event : in Event_Kind) - return Event_Outcome; +int make_current(); </pre></td> - </tr> - - <tr> <td><pre> -int make_current(); +procedure Make_Current + (This : in out Single_Window); </pre></td> -<td> </td> </tr> <tr> @@ -119,7 +137,10 @@ procedure Show <td><pre> void show(int a, char **b); </pre></td> -<td> </td> +<td><pre> +procedure Show_With_Args + (This : in out Single_Window); +</pre></td> </tr> </table> diff --git a/doc/fl_slider.html b/doc/fl_slider.html index 0853595..a56daf4 100644 --- a/doc/fl_slider.html +++ b/doc/fl_slider.html @@ -1,4 +1,3 @@ - <!DOCTYPE html> <html lang="en"> @@ -14,6 +13,9 @@ <h2>Fl_Slider Binding Map</h2> +<a href="index.html">Back to Index</a> + + <table class="package"> <tr><th colspan="2">Package name</th></tr> @@ -36,11 +38,11 @@ <tr> <td> </td> - <td>Slider</td> + <td>Slider_Reference</td> </tr> <tr> - <td> </td> + <td>uchar</td> <td>Slider_Kind</td> </tr> @@ -49,7 +51,7 @@ <table class="function"> - <tr><th colspan="2">Functions and Procedures</th></tr> + <tr><th colspan="2">Constructors</th></tr> <tr> <td><pre> @@ -58,36 +60,64 @@ Fl_Slider(int X, int Y, int W, int H, const char *L=0); <td><pre> function Create (X, Y, W, H : in Integer; - Text : in String) + Text : in String := "") return Slider; </pre></td> </tr> <tr> +<td>Rely on the automatic use of begin when a group is created, or use begin/end +explicitly, or add each widget to its intended parent group manually.</td> <td><pre> -Fl_Slider(uchar t, int X, int Y, int W, int H, const char *L); +function Create + (Parent : in out FLTK.Widgets.Groups.Group'Class; + X, Y, W, H : in Integer; + Text : in String := "") + return Slider; </pre></td> -<td> </td> </tr> <tr> <td><pre> -void bounds(double a, double b); +Fl_Slider(uchar t, int X, int Y, int W, int H, const char *L); </pre></td> <td><pre> -procedure Set_Bounds - (This : in out Slider; - Min, Max : in Long_Float); +function Create + (Kind : in Slider_Kind; + X, Y, W, H : in Integer; + Text : in String := "") + return Slider; </pre></td> </tr> <tr> +<td>Rely on the automatic use of begin when a group is created, or use begin/end +explicitly, or add each widget to its intended parent group manually.</td> <td><pre> -void draw(); +function Create + (Parent : in out FLTK.Widgets.Groups.Group'Class; + Kind : in Slider_Kind; + X, Y, W, H : in Integer; + Text : in String := "") + return Slider; </pre></td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Functions and Procedures</th></tr> + + <tr> <td><pre> -procedure Draw - (This : in out Slider); +void bounds(double a, double b); +</pre></td> +<td><pre> +procedure Set_Bounds + (This : in out Slider; + Min, Max : in Long_Float); </pre></td> </tr> @@ -157,23 +187,23 @@ void slider_size(double v); <td><pre> procedure Set_Slide_Size (This : in out Slider; - To : in Float); + To : in Long_Float); </pre></td> </tr> <tr> -<td>See type() methods for Fl_Widget</td> +<td>See type method for Fl_Widget.</td> <td><pre> -function Get_Slider_Type +function Get_Kind (This : in Slider) return Slider_Kind; </pre></td> </tr> <tr> -<td>See type() methods for Fl_Widget</td> +<td>See type method for Fl_Widget.</td> <td><pre> -procedure Set_Slider_Type +procedure Set_Kind (This : in out Slider; To : in Slider_Kind); </pre></td> @@ -182,6 +212,47 @@ procedure Set_Slider_Type </table> + +<table class="function"> + <tr><th colspan="2">Protected Functions and Procedures</th></tr> + + <tr> +<td><pre> +void draw(); +</pre></td> +<td><pre> +procedure Draw + (This : in out Slider); +</pre></td> + </tr> + + <tr> +<td><pre> +void draw(int, int, int, int); +</pre></td> +<td><pre> +procedure Draw + (This : in out Slider; + X, Y, W, H : in Integer); +</pre></td> + </tr> + + <tr> +<td><pre> +int handle(int, int, int, int, int); +</pre></td> +<td><pre> +function Handle + (This : in out Slider; + Event : in Event_Kind; + X, Y, W, H : in Integer) + return Event_Outcome; +</pre></td> + </tr> + +</table> + + </body> </html> diff --git a/doc/fl_spinner.html b/doc/fl_spinner.html index 8c726ae..5a2d185 100644 --- a/doc/fl_spinner.html +++ b/doc/fl_spinner.html @@ -1,4 +1,3 @@ - <!DOCTYPE html> <html lang="en"> @@ -14,6 +13,9 @@ <h2>Fl_Spinner Binding Map</h2> +<a href="index.html">Back to Index</a> + + <table class="package"> <tr><th colspan="2">Package name</th></tr> @@ -44,7 +46,35 @@ <table class="function"> - <tr><th colspan="2">Functions and Procedures</th></tr> + <tr><th colspan="2">Protected Attributes</th></tr> + + <tr> +<td><pre> +Fl_Repeat_Button down_button_; +</pre></td> +<td>Intentionally left unbound.</td> + </tr> + + <tr> +<td><pre> +Fl_Input input_; +</pre></td> +<td>Intentionally left unbound.</td> + </tr> + + <tr> +<td><pre> +Fl_Repeat_Button up_button_; +</pre></td> +<td>Intentionally left unbound.</td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Constructors</th></tr> <tr> <td><pre> @@ -53,12 +83,31 @@ Fl_Spinner(int X, int Y, int W, int H, const char *L=0); <td><pre> function Create (X, Y, W, H : in Integer; - Text : in String) + Text : in String := "") return Spinner; </pre></td> </tr> <tr> +<td>Rely on the automatic use of begin when a group is created, or use begin/end +explicitly, or add each widget to its intended parent group manually.</td> +<td><pre> +function Create + (Parent : in out Groups.Group'Class; + X, Y, W, H : in Integer; + Text : in String := "") + return Spinner; +</pre></td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Functions and Procedures</th></tr> + + <tr> <td><pre> void color(Fl_Color v); </pre></td> @@ -81,25 +130,25 @@ function Get_Background_Color </tr> <tr> -<td> </td> <td><pre> -procedure Draw - (This : in out Spinner); +const char * format(); </pre></td> - </tr> - - <tr> <td><pre> -const char * format(); +function Get_Format + (This : in Spinner) + return String; </pre></td> -<td> </td> </tr> <tr> <td><pre> void format(const char *f); </pre></td> -<td> </td> +<td><pre> +procedure Set_Format + (This : in out Spinner; + To : in String); +</pre></td> </tr> <tr> @@ -140,7 +189,7 @@ procedure Set_Maximum <td><pre> double maxinum() const; </pre></td> -<td> </td> +<td>Deprecated spelling mistake, use maximum / Get_Maximum instead.</td> </tr> <tr> @@ -169,11 +218,11 @@ procedure Set_Minimum <td><pre> double mininum() const; </pre></td> -<td> </td> +<td>Deprecated spelling mistake, use minimum / Get_Minimum instead.</td> </tr> <tr> -<td> </td> +<td>Use a combination of minimum and maximum to get the values.</td> <td><pre> procedure Get_Range (This : in Spinner; @@ -196,7 +245,11 @@ procedure Set_Range <td><pre> void resize(int X, int Y, int W, int H); </pre></td> -<td> </td> +<td><pre> +procedure Resize + (This : in out Spinner; + X, Y, W, H : in Integer); +</pre></td> </tr> <tr> @@ -314,7 +367,7 @@ procedure Set_Text_Size uchar type() const; </pre></td> <td><pre> -function Get_Type +function Get_Kind (This : in Spinner) return Spinner_Kind; </pre></td> @@ -325,7 +378,7 @@ function Get_Type void type(uchar v); </pre></td> <td><pre> -procedure Set_Type +procedure Set_Kind (This : in out Spinner; To : in Spinner_Kind); </pre></td> diff --git a/doc/fl_surface_device.html b/doc/fl_surface_device.html index 6da46c9..aec76d5 100644 --- a/doc/fl_surface_device.html +++ b/doc/fl_surface_device.html @@ -1,4 +1,3 @@ - <!DOCTYPE html> <html lang="en"> @@ -14,12 +13,15 @@ <h2>Fl_Surface_Device 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_Surface_Device</td> - <td>FLTK.Devices.Surfaces</td> + <td>FLTK.Devices.Surface</td> </tr> </table> @@ -44,7 +46,21 @@ <table class="function"> - <tr><th colspan="2">Functions and Procedures</th></tr> + <tr><th colspan="2">Static Attributes</th></tr> + + <tr> +<td><pre> +static const char * class_id = "Fl_Surface_Device"; +</pre></td> +<td>Deprecated, use runtime tag checks instead.</td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Constructors</th></tr> <tr> <td><pre> @@ -57,44 +73,73 @@ function Create </pre></td> </tr> +</table> + + + +<table class="function"> + <tr><th colspan="2">Static Functions and Procedures</th></tr> + <tr> <td><pre> -const char * class_name(); +static Fl_Surface_Device * surface(); +</pre></td> +<td><pre> +function Get_Current + return Surface_Device_Reference; + +function Get_Original + return Surface_Device_Reference; </pre></td> -<td>Use runtime tag checks instead</td> </tr> +</table> + + + +<table class="function"> + <tr><th colspan="2">Functions and Procedures</th></tr> + <tr> <td><pre> -void driver(Fl_Graphics_Driver *graphics_driver); +const char * class_name(); </pre></td> -<td>TBA</td> +<td>Deprecated, use runtime tag checks instead.</td> </tr> <tr> <td><pre> Fl_Graphics_Driver * driver(); </pre></td> -<td>TBA</td> +<td><pre> +function Has_Driver + (This : in Surface_Device) + return Boolean; + +function Get_Driver + (This : in out Surface_Device) + return FLTK.Devices.Graphics.Graphics_Driver_Reference; +</pre></td> </tr> <tr> <td><pre> -virtual void set_current(void); +void driver(Fl_Graphics_Driver *graphics_driver); </pre></td> <td><pre> -procedure Set_Current - (This : in out Surface_Device); +procedure Set_Driver + (This : in out Surface_Device; + Driver : in out FLTK.Devices.Graphics.Graphics_Driver'Class); </pre></td> </tr> <tr> <td><pre> -static Fl_Surface_Device * surface(); +virtual void set_current(void); </pre></td> <td><pre> -function Get_Current - return access Surface_Device'Class; +procedure Set_Current + (This : in out Surface_Device); </pre></td> </tr> diff --git a/doc/fl_sys_menu_bar.html b/doc/fl_sys_menu_bar.html new file mode 100644 index 0000000..0965675 --- /dev/null +++ b/doc/fl_sys_menu_bar.html @@ -0,0 +1,355 @@ +<!DOCTYPE html> + +<html lang="en"> + <head> + <meta charset="utf-8"> + <title>Fl_Sys_Menu_Bar Binding Map</title> + <link href="map.css" rel="stylesheet"> + </head> + + <body> + + +<h2>Fl_Sys_Menu_Bar 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_Sys_Menu_Bar</td> + <td>FLTK.Widgets.Menus.Menu_Bars.Systemwide</td> + </tr> + +</table> + + + +<table class="type"> + <tr><th colspan="2">Types</th></tr> + + <tr> + <td>Fl_Sys_Menu_Bar</td> + <td>System_Menu_Bar</td> + </tr> + + <tr> + <td> </td> + <td>System_Menu_Bar_Reference</td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Constructors</th></tr> + + <tr> +<td><pre> +Fl_Sys_Menu_Bar(int x, int y, int w, int h, const char *l=0); +</pre></td> +<td><pre> +function Create + (X, Y, W, H : in Integer; + Text : in String := "") + return System_Menu_Bar; +</pre></td> + </tr> + + <tr> +<td>Rely on the automatic use of begin when a group is created, or use begin/end +explicitly, or add each widget to its intended parent group manually.</td> +<td><pre> +function Create + (Parent : in out FLTK.Widgets.Groups.Group'Class; + X, Y, W, H : in Integer; + Text : in String := "") + return System_Menu_Bar; +</pre></td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Functions and Procedures</th></tr> + + <tr> +<td><pre> +int add(const char *label, const char *shortcut, + Fl_Callback *cb, void *user_data=0, int flags=0); +</pre></td> +<td><pre> +procedure Add + (This : in out System_Menu_Bar; + Text : in String; + Action : in Widget_Callback := null; + Shortcut : in String; + Flags : in Menu_Flag := Flag_Normal); + +function Add + (This : in out System_Menu_Bar; + Text : in String; + Action : in Widget_Callback := null; + Shortcut : in String; + Flags : in Menu_Flag := Flag_Normal) + return Index; +</pre></td> + </tr> + + <tr> +<td><pre> +int add(const char *label, int shortcut, Fl_Callback *, + void *user_data=0, int flags=0); +</pre></td> +<td><pre> +procedure Add + (This : in out System_Menu_Bar; + Text : in String; + Action : in Widget_Callback := null; + Shortcut : in Key_Combo := No_Key; + Flags : in Menu_Flag := Flag_Normal); + +function Add + (This : in out System_Menu_Bar; + Text : in String; + Action : in Widget_Callback := null; + Shortcut : in Key_Combo := No_Key; + Flags : in Menu_Flag := Flag_Normal) + return Index; +</pre></td> + </tr> + + <tr> +<td><pre> +int add(const char *str); +</pre></td> +<td><pre> +procedure Add + (This : in out System_Menu_Bar; + Text : in String); + +function Add + (This : in out System_Menu_Bar; + Text : in String) + return Index; +</pre></td> + </tr> + + <tr> +<td><pre> +void clear(); +</pre></td> +<td><pre> +procedure Clear + (This : in out System_Menu_Bar); +</pre></td> + </tr> + + <tr> +<td><pre> +int clear_submenu(int index); +</pre></td> +<td><pre> +procedure Clear_Submenu + (This : in out System_Menu_Bar; + Place : in Index); +</pre></td> + </tr> + + <tr> +<td><pre> +void global(); +</pre></td> +<td><pre> +procedure Make_Global + (This : in out System_Menu_Bar); +</pre></td> + </tr> + + <tr> +<td><pre> +int insert(int index, const char *label, const char *shortcut, + Fl_Callback *cb, void *user_data=0, int flags=0); +</pre></td> +<td><pre> +procedure Insert + (This : in out System_Menu_Bar; + Place : in Index; + Text : in String; + Action : in Widget_Callback := null; + Shortcut : in String; + Flags : in Menu_Flag := Flag_Normal); + +function Insert + (This : in out System_Menu_Bar; + Place : in Index; + Text : in String; + Action : in Widget_Callback := null; + Shortcut : in String; + Flags : in Menu_Flag := Flag_Normal) + return Index; +</pre></td> + </tr> + + <tr> +<td><pre> +int insert(int index, const char *label, int shortcut, + Fl_Callback *cb, void *user_data=0, int flags=0); +</pre></td> +<td><pre> +procedure Insert + (This : in out System_Menu_Bar; + Place : in Index; + Text : in String; + Action : in Widget_Callback := null; + Shortcut : in Key_Combo := No_Key; + Flags : in Menu_Flag := Flag_Normal); + +function Insert + (This : in out System_Menu_Bar; + Place : in Index; + Text : in String; + Action : in Widget_Callback := null; + Shortcut : in Key_Combo := No_Key; + Flags : in Menu_Flag := Flag_Normal) + return Index; +</pre></td> + </tr> + + <tr> +<td>Use the menu method to access the menu item array and index it directly.</td> +<td><pre> +function Item + (This : in System_Menu_Bar; + Place : in Index) + return FLTK.Menu_Items.Menu_Item_Reference; +</pre></td> + </tr> + + <tr> +<td><pre> +const Fl_Menu_Item * menu() const; +</pre></td> +<td>Use Item or Iterate as necessary to access specific items or walk the array.</td> + </tr> + + <tr> +<td><pre> +void menu(const Fl_Menu_Item *m); +</pre></td> +<td><pre> +procedure Use_Same_Items + (This : in out System_Menu_Bar; + Donor : in Menu'Class); +</pre></td> + </tr> + + <tr> +<td><pre> +int mode(int i) const; +</pre></td> +<td><pre> +function Get_Flags + (This : in System_Menu_Bar; + Place : in Index) + return Menu_Flag; +</pre></td> + </tr> + + <tr> +<td><pre> +void mode(int i, int fl); +</pre></td> +<td><pre> +procedure Set_Flags + (This : in out System_Menu_Bar; + Place : in Index; + Flags : in Menu_Flag); +</pre></td> + </tr> + + <tr> +<td><pre> +void remove(int n); +</pre></td> +<td><pre> +procedure Remove + (This : in out System_Menu_Bar; + Place : in Index); +</pre></td> + </tr> + + <tr> +<td><pre> +void replace(int index, const char *name); +</pre></td> +<td><pre> +procedure Set_Label + (This : in out System_Menu_Bar; + Place : in Index; + Text : in String); +</pre></td> + </tr> + + <tr> +<td><pre> +void setonly(Fl_Menu_Item *item); +</pre></td> +<td><pre> +procedure Set_Only + (This : in out System_Menu_Bar; + Item : in out FLTK.Menu_Items.Menu_Item); +</pre></td> + </tr> + + <tr> +<td><pre> +void shortcut(int i, int s); +</pre></td> +<td><pre> +procedure Set_Shortcut + (This : in out System_Menu_Bar; + Place : in Index; + Press : in Key_Combo); +</pre></td> + </tr> + + <tr> +<td><pre> +void update(); +</pre></td> +<td><pre> +procedure Update + (This : in out System_Menu_Bar); +</pre></td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Protected Functions and Procedures</th></tr> + + <tr> +<td><pre> +void draw(); +</pre></td> +<td><pre> +procedure Draw + (This : in out System_Menu_Bar); +</pre></td> + </tr> + +</table> + + + </body> +</html> + diff --git a/doc/fl_table.html b/doc/fl_table.html new file mode 100644 index 0000000..dfd2273 --- /dev/null +++ b/doc/fl_table.html @@ -0,0 +1,1343 @@ +<!DOCTYPE html> + +<html lang="en"> + <head> + <meta charset="utf-8"> + <title>Fl_Table Binding Map</title> + <link href="map.css" rel="stylesheet"> + </head> + + <body> + + +<h2>Fl_Table 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_Table</td> + <td>FLTK.Widgets.Groups.Tables</td> + </tr> + +</table> + +<p><b>Note:</b><br /><br /> +This Table type should really be abstract but cannot be for technical binding reasons. +If you try to use it directly you will get issues with the draw_cell method. Either +extend it and override that subprogram or use types already extended from it.</p> + + + +<table class="type"> + <tr><th colspan="2">Types</th></tr> + + <tr> + <td>Fl_Table</td> + <td>Table</td> + </tr> + + <tr> + <td> </td> + <td>Table_Reference</td> + </tr> + + <tr> + <td>TableContext</td> + <td>Table_Context</td> + </tr> + + <tr> + <td>ResizeFlag</td> + <td>Resize_Flag</td> + </tr> + + <tr> + <td>int</td> + <td>Tab_Navigation</td> + </tr> + +</table> + + + +<table class="type"> + <tr><th colspan="2">Errors</th></tr> + + <tr> +<td>int</td> +<td>Range_Error</td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Protected Attributes</th></tr> + + <tr> +<td><pre> +int botrow; +</pre></td> +<td>Intentionally left unbound.</td> + </tr> + + <tr> +<td><pre> +int current_col; +</pre></td> +<td>Intentionally left unbound.</td> + </tr> + + <tr> +<td><pre> +int current_row; +</pre></td> +<td>Intentionally left unbound.</td> + </tr> + + <tr> +<td><pre> +Fl_Scrollbar * hscrollbar; +</pre></td> +<td><pre> +function H_Bar + (This : in out Table) + return Valuators.Sliders.Scrollbars.Scrollbar_Reference; +</pre></td> + </tr> + + <tr> +<td><pre> +int leftcol; +</pre></td> +<td>Intentionally left unbound.</td> + </tr> + + <tr> +<td><pre> +int leftcol_scrollpos; +</pre></td> +<td>Intentionally left unbound.</td> + </tr> + + <tr> +<td><pre> +int rightcol; +</pre></td> +<td>Intentionally left unbound.</td> + </tr> + + <tr> +<td><pre> +int select_col; +</pre></td> +<td>Intentionally left unbound.</td> + </tr> + + <tr> +<td><pre> +int select_row; +</pre></td> +<td>Intentionally left unbound.</td> + </tr> + + <tr> +<td><pre> +Fl_Scroll * table; +</pre></td> +<td><pre> +function Scroll_Area + (This : in out Table) + return Scrolls.Scroll_Reference; +</pre></td> + </tr> + + <tr> +<td><pre> +int table_h; +</pre></td> +<td>Intentionally left unbound.</td> + </tr> + + <tr> +<td><pre> +int table_w; +</pre></td> +<td>Intentionally left unbound.</td> + </tr> + + <tr> +<td><pre> +int tih; +</pre></td> +<td>Intentionally left unbound.</td> + </tr> + + <tr> +<td><pre> +int tiw; +</pre></td> +<td>Intentionally left unbound.</td> + </tr> + + <tr> +<td><pre> +int tix; +</pre></td> +<td>Intentionally left unbound.</td> + </tr> + + <tr> +<td><pre> +int tiy; +</pre></td> +<td>Intentionally left unbound.</td> + </tr> + + <tr> +<td><pre> +int toh; +</pre></td> +<td>Intentionally left unbound.</td> + </tr> + + <tr> +<td><pre> +int toprow; +</pre></td> +<td>Intentionally left unbound.</td> + </tr> + + <tr> +<td><pre> +int toprow_scrollpos; +</pre></td> +<td>Intentionally left unbound.</td> + </tr> + + <tr> +<td><pre> +int tow; +</pre></td> +<td>Intentionally left unbound.</td> + </tr> + + <tr> +<td><pre> +int tox; +</pre></td> +<td>Intentionally left unbound.</td> + </tr> + + <tr> +<td><pre> +int toy; +</pre></td> +<td>Intentionally left unbound.</td> + </tr> + + <tr> +<td><pre> +Fl_Scrollbar * vscrollbar; +</pre></td> +<td><pre> +function V_Bar + (This : in out Table) + return Valuators.Sliders.Scrollbars.Scrollbar_Reference; +</pre></td> + </tr> + + <tr> +<td><pre> +int wih; +</pre></td> +<td>Intentionally left unbound.</td> + </tr> + + <tr> +<td><pre> +int wiw; +</pre></td> +<td>Intentionally left unbound.</td> + </tr> + + <tr> +<td><pre> +int wix; +</pre></td> +<td>Intentionally left unbound.</td> + </tr> + + <tr> +<td><pre> +int wiy; +</pre></td> +<td>Intentionally left unbound.</td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Constructors</th></tr> + + <tr> +<td><pre> +Fl_Table(int X, int Y, int W, int H, const char *l=0); +</pre></td> +<td><pre> +function Create + (X, Y, W, H : in Integer; + Text : in String := "") + return Table; +</pre></td> + </tr> + + <tr> +<td>Rely on the automatic use of begin when a group is created, or use begin/end +explicitly, or add each widget to its intended parent group manually.</td> +<td><pre> +function Create + (Parent : in out Groups.Group'Class; + X, Y, W, H : in Integer; + Text : in String := "") + return Table; +</pre></td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Functions and Procedures</th></tr> + + <tr> +<td><pre> +void add(Fl_Widget &wgt); + +void add(Fl_Widget *wgt); +</pre></td> +<td><pre> +procedure Add + (This : in out Table; + Item : in out Widget'Class); +</pre></td> + </tr> + + <tr> +<td><pre> +Fl_Widget * const * array(); +</pre></td> +<td>Use iterators instead.</td> + </tr> + + <tr> +<td><pre> +void begin(); +</pre></td> +<td><pre> +procedure Begin_Current + (This : in out Table); +</pre></td> + </tr> + + <tr> +<td><pre> +void callback(Fl_Widget *, void *); +</pre>(This signature is wrong due to Doxygen weirdness.)</td> +<td><pre> +procedure Set_Callback + (This : in out Table; + Func : in Widget_Callback); +</pre></td> + </tr> + + <tr> +<td><pre> +int callback_col(); +</pre></td> +<td><pre> +function Callback_Column + (This : in Table) + return Positive; +</pre></td> + </tr> + + <tr> +<td><pre> +TableContext callback_context(); +</pre></td> +<td><pre> +function Callback_Context + (This : in Table) + return Table_Context; +</pre></td> + </tr> + + <tr> +<td><pre> +int callback_row(); +</pre></td> +<td><pre> +function Callback_Row + (This : in Table) + return Positive; +</pre></td> + </tr> + + <tr> +<td>Check if the index value is in range manually.</td> +<td><pre> +function Has_Child + (This : in Table; + Place : in Index) + return Boolean; +</pre></td> + </tr> + + <tr> +<td> </td> +<td><pre> +function Has_Child + (Place : in Cursor) + return Boolean; +</pre></td> + </tr> + + <tr> +<td><pre> +Fl_Widget * child(int n) const; +</pre></td> +<td><pre> +function Child + (This : in Table; + Place : in Index) + return Widget_Reference +with Pre => This.Has_Child (Place); +</pre></td> + </tr> + + <tr> +<td> </td> +<td><pre> +function Child + (This : in Table; + Place : in Cursor) + return Widget_Reference; +</pre></td> + </tr> + + <tr> +<td><pre> +int children() const; +</pre></td> +<td><pre> +function Number_Of_Children + (This : in Table) + return Natural; +</pre></td> + </tr> + + <tr> +<td><pre> +virtual void clear(); +</pre></td> +<td><pre> +procedure Clear + (This : in out Table); +</pre></td> + </tr> + + <tr> +<td><pre> +int col_header(); +</pre></td> +<td><pre> +function Column_Headers_Enabled + (This : in Table) + return Boolean; +</pre></td> + </tr> + + <tr> +<td><pre> +void col_header(int flag); +</pre></td> +<td><pre> +procedure Set_Column_Headers + (This : in out Table; + Value : in Boolean); +</pre></td> + </tr> + + <tr> +<td><pre> +Fl_Color col_header_color(); +</pre></td> +<td><pre> +function Get_Column_Header_Color + (This : in Table) + return Color; +</pre></td> + </tr> + + <tr> +<td><pre> +void col_header_color(Fl_Color val); +</pre></td> +<td><pre> +procedure Set_Column_Header_Color + (This : in out Table; + Value : in Color); +</pre></td> + </tr> + + <tr> +<td><pre> +int col_header_height(); +</pre></td> +<td><pre> +function Get_Column_Header_Height + (This : in Table) + return Positive; +</pre></td> + </tr> + + <tr> +<td><pre> +void col_header_height(int height); +</pre></td> +<td><pre> +procedure Set_Column_Header_Height + (This : in out Table; + Value : in Positive); +</pre></td> + </tr> + + <tr> +<td><pre> +int col_position(); +</pre></td> +<td><pre> +function Get_Column_Position + (This : in Table) + return Positive; +</pre></td> + </tr> + + <tr> +<td><pre> +void col_position(int col); +</pre></td> +<td><pre> +procedure Set_Column_Position + (This : in out Table; + Value : in Positive); +</pre></td> + </tr> + + <tr> +<td><pre> +int col_resize(); +</pre></td> +<td><pre> +function Column_Resize_Allowed + (This : in Table) + return Boolean; +</pre></td> + </tr> + + <tr> +<td><pre> +void col_resize(int flag); +</pre></td> +<td><pre> +procedure Set_Column_Resize + (This : in out Table; + Value : in Boolean); +</pre></td> + </tr> + + <tr> +<td><pre> +int col_resize_min(); +</pre></td> +<td><pre> +function Get_Column_Resize_Minimum + (This : in Table) + return Positive; +</pre></td> + </tr> + + <tr> +<td><pre> +void col_resize_min(int val); +</pre></td> +<td><pre> +procedure Set_Column_Resize_Minimum + (This : in out Table; + Value : in Positive); +</pre></td> + </tr> + + <tr> +<td><pre> +int col_width(int col); +</pre></td> +<td><pre> +function Get_Column_Width + (This : in Table; + Column : in Positive) + return Positive; +</pre></td> + </tr> + + <tr> +<td><pre> +void col_width(int col, int width); +</pre></td> +<td><pre> +procedure Set_Column_Width + (This : in out Table; + Column : in Positive; + Value : in Positive); +</pre></td> + </tr> + + <tr> +<td><pre> +void col_width_all(int width); +</pre></td> +<td><pre> +procedure Set_All_Columns_Width + (This : in out Table; + Value : in Positive); +</pre></td> + </tr> + + <tr> +<td><pre> +int cols(); +</pre></td> +<td><pre> +function Get_Columns + (This : in Table) + return Natural; +</pre></td> + </tr> + + <tr> +<td><pre> +virtual void cols(int val); +</pre></td> +<td><pre> +procedure Set_Columns + (This : in out Table; + Value : in Natural); +</pre></td> + </tr> + + <tr> +<td><pre> +void do_callback(TableContext context, int row, int col); +</pre></td> +<td><pre> +procedure Do_Callback + (This : in out Table; + Context : in Table_Context; + Row, Column : in Positive); +</pre></td> + </tr> + + <tr> +<td><pre> +void draw(void); +</pre></td> +<td><pre> +procedure Draw + (This : in out Table); +</pre></td> + </tr> + + <tr> +<td><pre> +void end(); +</pre></td> +<td><pre> +procedure End_Current + (This : in out Table); +</pre></td> + </tr> + + <tr> +<td><pre> +int find(const Fl_Widget &wgt) const; + +int find(const Fl_Widget *wgt) const; +</pre></td> +<td><pre> +function Find + (This : in Table; + Item : in Widget'Class) + return Extended_Index; +</pre></td> + </tr> + + <tr> +<td><pre> +void get_selection(int &row_top, int &col_left, + int &row_bot, int &col_right); +</pre></td> +<td><pre> +procedure Get_Selection + (This : in Table; + Row_Top : out Positive; + Column_Left : out Positive; + Row_Bottom : out Positive; + Column_Right : out Positive); +</pre></td> + </tr> + + <tr> +<td><pre> +void init_sizes(); +</pre></td> +<td><pre> +procedure Reset_Sizes + (This : in out Table); +</pre></td> + </tr> + + <tr> +<td><pre> +void insert(Fl_Widget &wgt, Fl_Widget &w2); +</pre></td> +<td><pre> +procedure Insert + (This : in out Table; + Item : in out Widget'Class; + Before : in Widget'Class); +</pre></td> + </tr> + + <tr> +<td><pre> +void insert(Fl_Widget &wgt, int n); +</pre></td> +<td><pre> +procedure Insert + (This : in out Table; + Item : in out Widget'Class; + Place : in Index); +</pre></td> + </tr> + + <tr> +<td><pre> +int is_interactive_resize(); +</pre></td> +<td><pre> +function Is_Interactive_Resize + (This : in Table) + return Boolean; +</pre></td> + </tr> + + <tr> +<td><pre> +int is_selected(int r, int c); +</pre></td> +<td><pre> +function Is_Selected + (This : in Table; + Row, Column : in Positive) + return Boolean; +</pre></td> + </tr> + + <tr> +<td><pre> +int move_cursor(int R, int C); + +int move_cursor(int R, int C, int shiftselect); +</pre></td> +<td><pre> +procedure Move_Cursor + (This : in out Table; + Row, Column : in Positive; + Shift_Select : in Boolean := True); + +function Move_Cursor + (This : in out Table; + Row, Column : in Positive; + Shift_Select : in Boolean := True) + return Boolean; +</pre></td> + </tr> + + <tr> +<td><pre> +void remove(Fl_Widget &wgt); +</pre></td> +<td><pre> +procedure Remove + (This : in out Table; + Item : in out Widget'Class); +</pre></td> + </tr> + + <tr> +<td><pre> +void resize(int X, int Y, int W, int H); +</pre></td> +<td><pre> +procedure Resize + (This : in out Table; + X, Y, W, H : in Integer); +</pre></td> + </tr> + + <tr> +<td><pre> +int row_header(); +</pre></td> +<td><pre> +function Row_Headers_Enabled + (This : in Table) + return Boolean; +</pre></td> + </tr> + + <tr> +<td><pre> +void row_header(int flag); +</pre></td> +<td><pre> +procedure Set_Row_Headers + (This : in out Table; + Value : in Boolean); +</pre></td> + </tr> + + <tr> +<td><pre> +Fl_Color row_header_color(); +</pre></td> +<td><pre> +function Get_Row_Header_Color + (This : in Table) + return Color; +</pre></td> + </tr> + + <tr> +<td><pre> +void row_header_color(Fl_Color val); +</pre></td> +<td><pre> +procedure Set_Row_Header_Color + (This : in out Table; + Value : in Color); +</pre></td> + </tr> + + <tr> +<td><pre> +int row_header_width(); +</pre></td> +<td><pre> +function Get_Row_Header_Width + (This : in Table) + return Positive; +</pre></td> + </tr> + + <tr> +<td><pre> +void row_header_width(int width); +</pre></td> +<td><pre> +procedure Set_Row_Header_Width + (This : in out Table; + Value : in Positive); +</pre></td> + </tr> + + <tr> +<td><pre> +int row_height(int row); +</pre></td> +<td><pre> +function Get_Row_Height + (This : in Table; + Row : in Positive) + return Positive; +</pre></td> + </tr> + + <tr> +<td><pre> +void row_height(int row, int height); +</pre></td> +<td><pre> +procedure Set_Row_Height + (This : in out Table; + Row : in Positive; + Value : in Positive); +</pre></td> + </tr> + + <tr> +<td><pre> +void row_height_all(int height); +</pre></td> +<td><pre> +procedure Set_All_Rows_Height + (This : in out Table; + Value : in Positive); +</pre></td> + </tr> + + <tr> +<td><pre> +int row_position(); +</pre></td> +<td><pre> +function Get_Row_Position + (This : in Table) + return Positive; +</pre></td> + </tr> + + <tr> +<td><pre> +void row_position(int row); +</pre></td> +<td><pre> +procedure Set_Row_Position + (This : in out Table; + Value : in Positive); +</pre></td> + </tr> + + <tr> +<td><pre> +int row_resize(); +</pre></td> +<td><pre> +function Row_Resize_Allowed + (This : in Table) + return Boolean; +</pre></td> + </tr> + + <tr> +<td><pre> +void row_resize(int flag); +</pre></td> +<td><pre> +procedure Set_Row_Resize + (This : in out Table; + Value : in Boolean); +</pre></td> + </tr> + + <tr> +<td><pre> +int row_resize_min(); +</pre></td> +<td><pre> +function Get_Row_Resize_Minimum + (This : in Table) + return Positive; +</pre></td> + </tr> + + <tr> +<td><pre> +void row_resize_min(int val); +</pre></td> +<td><pre> +procedure Set_Row_Resize_Minimum + (This : in out Table; + Value : in Positive); +</pre></td> + </tr> + + <tr> +<td><pre> +int rows(); +</pre></td> +<td><pre> +function Get_Rows + (This : in Table) + return Natural; +</pre></td> + </tr> + + <tr> +<td><pre> +virtual void rows(int val); +</pre></td> +<td><pre> +procedure Set_Rows + (This : in out Table; + Value : in Natural); +</pre></td> + </tr> + + <tr> +<td><pre> +int scrollbar_size() const; +</pre></td> +<td><pre> +function Get_Scrollbar_Size + (This : in Table) + return Integer; +</pre></td> + </tr> + + <tr> +<td><pre> +void scrollbar_size(int newSize); +</pre></td> +<td><pre> +procedure Set_Scrollbar_Size + (This : in out Table; + Value : in Integer); +</pre></td> + </tr> + + <tr> +<td><pre> +void set_selection(int row_top, int col_left, + int row_bot, int col_right); +</pre></td> +<td><pre> +procedure Set_Selection + (This : in out Table; + Row_Top : in Positive; + Column_Left : in Positive; + Row_Bottom : in Positive; + Column_Right : in Positive); +</pre></td> + </tr> + + <tr> +<td><pre> +int tab_cell_nav() const; +</pre></td> +<td><pre> +function Get_Tab_Mode + (This : in Table) + return Tab_Navigation; +</pre></td> + </tr> + + <tr> +<td><pre> +void tab_cell_nav(int val); +</pre></td> +<td><pre> +procedure Set_Tab_Mode + (This : in out Table; + Value : in Tab_Navigation); +</pre></td> + </tr> + + <tr> +<td><pre> +void table_box(Fl_Boxtype val); +</pre></td> +<td><pre> +procedure Set_Table_Box + (This : in out Table; + Box : in Box_Kind); +</pre></td> + </tr> + + <tr> +<td><pre> +Fl_Boxtype table_box(void); +</pre></td> +<td><pre> +function Get_Table_Box + (This : in Table) + return Box_Kind; +</pre></td> + </tr> + + <tr> +<td><pre> +int top_row(); +</pre></td> +<td><pre> +function Get_Top_Row + (This : in Table) + return Positive; +</pre></td> + </tr> + + <tr> +<td><pre> +void top_row(int row); +</pre></td> +<td><pre> +procedure Set_Top_Row + (This : in out Table; + Value : in Positive); +</pre></td> + </tr> + + <tr> +<td><pre> +void visible_cells(int &r1, int &r2, int &c1, int &c2); +</pre></td> +<td><pre> +procedure Get_Visible_Cells + (This : in Table; + Row_Top : out Positive; + Column_Left : out Positive; + Row_Bottom : out Natural; + Column_Right : out Natural); +</pre></td> + </tr> + + <tr> +<td><pre> +void when(Fl_When flags); +</pre></td> +<td><pre> +procedure Set_When + (This : in out Table; + Value : in Callback_Flag); +</pre></td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Static Protected Functions and Procedures</th></tr> + + <tr> +<td><pre> +static void scroll_cb(Fl_Widget *, void *); +</pre></td> +<td><pre> +procedure Scroll_Callback + (Item : in out Widget'Class); +</pre></td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Protected Functions and Procedures</th></tr> + + <tr> +<td><pre> +void change_cursor(Fl_Cursor newcursor); +</pre></td> +<td><pre> +procedure Set_Cursor_Kind + (This : in out Table; + Kind : in Mouse_Cursor_Kind); +</pre></td> + </tr> + + <tr> +<td><pre> +long col_scroll_position(int col); +</pre></td> +<td><pre> +function Get_Column_Scroll_Position + (This : in Table; + Column : in Positive) + return Long_Integer; +</pre></td> + </tr> + + <tr> +<td><pre> +TableContext cursor2rowcol(int &R, int &C, ResizeFlag &resizeflag); +</pre></td> +<td><pre> +procedure Cursor_To_Row_Column + (This : in Table; + Row, Column : out Positive; + Context : out Table_Context; + Resize : out Resize_Flag); +</pre></td> + </tr> + + <tr> +<td><pre> +void damage_zone(int r1, int c1, int r2, int c2, int r3=0, int c3=0); +</pre></td> +<td><pre> +procedure Damage_Zone + (This : in out Table; + Row_Top : in Positive; + Column_Left : in Positive; + Row_Bottom : in Positive; + Column_Right : in Positive; + Reach_Row : in Positive := 1; + Reach_Column : in Positive := 1); +</pre></td> + </tr> + + <tr> +<td><pre> +virtual void draw_cell(TableContext context, int R=0, int C=0, + int X=0, int Y=0, int W=0, int H=0); +</pre></td> +<td><pre> +procedure Draw_Cell + (This : in out Table; + Context : in Table_Context; + Row, Column : in Natural := 0; + X, Y, W, H : in Integer := 0); +</pre></td> + </tr> + + <tr> +<td><pre> +int find_cell(TableContext context, int R, int C, + int &X, int &Y, int &W, int &H); +</pre></td> +<td><pre> +procedure Cell_Dimensions + (This : in Table; + Context : in Table_Context; + Row, Column : in Positive; + X, Y, W, H : out Integer); +</pre></td> + </tr> + + <tr> +<td><pre> +void get_bounds(TableContext context, int &X, int &Y, int &W, int &H); +</pre></td> +<td><pre> +procedure Bounding_Region + (This : in Table; + Context : in Table_Context; + X, Y, W, H : out Integer); +</pre></td> + </tr> + + <tr> +<td><pre> +int handle(int e); +</pre></td> +<td><pre> +function Handle + (This : in out Table; + Event : in Event_Kind) + return Event_Outcome; +</pre></td> + </tr> + + <tr> +<td><pre> +int is_fltk_container(); +</pre></td> +<td><pre> +function Used_As_Container + (This : in Table) + return Boolean; +</pre></td> + </tr> + + <tr> +<td><pre> +void recalc_dimensions(); +</pre></td> +<td><pre> +procedure Recalculate_Dimensions + (This : in out Table); +</pre></td> + </tr> + + <tr> +<td><pre> +void redraw_range(int topRow, int botRow, int leftCol, int rightCol); +</pre></td> +<td><pre> +procedure Redraw_Range + (This : in out Table; + Row_Top : in Positive; + Column_Left : in Positive; + Row_Bottom : in Positive; + Column_Right : in Positive); +</pre></td> + </tr> + + <tr> +<td><pre> +int row_col_clamp(TableContext context, int &R, int &C); +</pre></td> +<td><pre> +procedure Row_Column_Clamp + (This : in Table; + Context : in Table_Context; + Row, Column : in out Integer); + +function Row_Column_Clamp + (This : in Table; + Context : in Table_Context; + Row, Column : in out Integer) + return Boolean; +</pre></td> + </tr> + + <tr> +<td><pre> +long row_scroll_position(int row); +</pre></td> +<td><pre> +function Get_Row_Scroll_Position + (This : in Table; + Row : in Positive) + return Long_Integer; +</pre></td> + </tr> + + <tr> +<td><pre> +void table_resized(); +</pre></td> +<td><pre> +procedure Table_Resized + (This : in out Table); +</pre></td> + </tr> + + <tr> +<td><pre> +void table_scrolled(); +</pre></td> +<td><pre> +procedure Table_Scrolled + (This : in out Table); +</pre></td> + </tr> + +</table> + + + </body> +</html> + diff --git a/doc/fl_table_row.html b/doc/fl_table_row.html new file mode 100644 index 0000000..9bfbf64 --- /dev/null +++ b/doc/fl_table_row.html @@ -0,0 +1,231 @@ +<!DOCTYPE html> + +<html lang="en"> + <head> + <meta charset="utf-8"> + <title>Fl_Table_Row Binding Map</title> + <link href="map.css" rel="stylesheet"> + </head> + + <body> + + +<h2>Fl_Table_Row 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_Table_Row</td> + <td>FLTK.Widgets.Groups.Tables.Row</td> + </tr> + +</table> + +<p><b>Note:</b><br /><br /> +This Table type should really be abstract but cannot be for technical binding reasons. +If you try to use it directly you will get issues with the draw_cell method since +it inherits that from Fl_Table with no change. Either extend it and override that +subprogram or use types already extended from it.</p> + + + +<table class="type"> + <tr><th colspan="2">Types</th></tr> + + <tr> + <td>Fl_Table_Row</td> + <td>Row_Table</td> + </tr> + + <tr> + <td> </td> + <td>Row_Table_Reference</td> + </tr> + + <tr> + <td>TableRowSelectMode</td> + <td>Row_Select_Mode</td> + </tr> + + <tr> + <td>int</td> + <td>Selection_State</td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Constructors</th></tr> + + <tr> +<td><pre> +Fl_Table_Row(int X, int Y, int W, int H, const char *l=0); +</pre></td> +<td><pre> +function Create + (X, Y, W, H : in Integer; + Text : in String := "") + return Row_Table; +</pre></td> + </tr> + + <tr> +<td>Rely on the automatic use of begin when a group is created, or use begin/end +explicitly, or add each widget to its intended parent group manually.</td> +<td><pre> +function Create + (Parent : in out Groups.Group'Class; + X, Y, W, H : in Integer; + Text : in String := "") + return Row_Table; +</pre></td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Functions and Procedures</th></tr> + + <tr> +<td><pre> +void clear(); +</pre></td> +<td><pre> +procedure Clear + (This : in out Row_Table); +</pre></td> + </tr> + + <tr> +<td><pre> +int row_selected(int row); +</pre></td> +<td><pre> +function Is_Row_Selected + (This : in Row_Table; + Row : in Positive) + return Boolean; +</pre></td> + </tr> + + <tr> +<td><pre> +int rows(); +</pre></td> +<td><pre> +function Get_Rows + (This : in Row_Table) + return Natural; +</pre></td> + </tr> + + <tr> +<td><pre> +void rows(int val); +</pre></td> +<td><pre> +procedure Set_Rows + (This : in out Row_Table; + Value : in Natural); +</pre></td> + </tr> + + <tr> +<td><pre> +void select_all_rows(int flag=1); +</pre></td> +<td><pre> +procedure Select_All_Rows + (This : in out Row_Table; + Value : in Selection_State := Selected); +</pre></td> + </tr> + + <tr> +<td><pre> +int select_row(int row, int flag=1); +</pre></td> +<td><pre> +procedure Select_Row + (This : in out Row_Table; + Row : in Positive; + Value : in Selection_State := Selected); + +function Select_Row + (This : in out Row_Table; + Row : in Positive; + Value : in Selection_State := Selected) + return Boolean; +</pre></td> + </tr> + + <tr> +<td><pre> +TableRowSelectMode type() const; +</pre></td> +<td><pre> +function Get_Row_Select_Mode + (This : in Row_Table) + return Row_Select_Mode; +</pre></td> + </tr> + + <tr> +<td><pre> +void type(TableRowSelectMode val); +</pre></td> +<td><pre> +procedure Set_Row_Select_Mode + (This : in out Row_Table; + Value : in Row_Select_Mode); +</pre></td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Protected Functions and Procedures</th></tr> + + <tr> +<td><pre> +int find_cell(TableContext context, int R, int C, + int &X, int &Y, int &W, int &H); +</pre></td> +<td><pre> +procedure Cell_Dimensions + (This : in Row_Table; + Context : in Table_Context; + Row, Column : in Positive; + X, Y, W, H : out Integer); +</pre></td> + </tr> + + <tr> +<td><pre> +int handle(int event); +</pre></td> +<td><pre> +function Handle + (This : in out Row_Table; + Event : in Event_Kind) + return Event_Outcome; +</pre></td> + </tr> + +</table> + + + </body> +</html> + diff --git a/doc/fl_tabs.html b/doc/fl_tabs.html index 048c356..6a29166 100644 --- a/doc/fl_tabs.html +++ b/doc/fl_tabs.html @@ -1,4 +1,3 @@ - <!DOCTYPE html> <html lang="en"> @@ -14,6 +13,9 @@ <h2>Fl_Tabs Binding Map</h2> +<a href="index.html">Back to Index</a> + + <table class="package"> <tr><th colspan="2">Package name</th></tr> @@ -44,7 +46,7 @@ <table class="function"> - <tr><th colspan="2">Functions and Procedures</th></tr> + <tr><th colspan="2">Constructors</th></tr> <tr> <td><pre> @@ -53,30 +55,39 @@ Fl_Tabs(int, int, int, int, const char *=0); <td><pre> function Create (X, Y, W, H : in Integer; - Text : in String) + Text : in String := "") return Tabbed_Group; </pre></td> </tr> <tr> +<td>Rely on the automatic use of begin when a group is created, or use begin/end +explicitly, or add each widget to its intended parent group manually.</td> <td><pre> -void client_area(int &rx, int &ry, int &rw, int &rh, int tabh=0); -</pre></td> -<td><pre> -procedure Get_Client_Area - (This : in Tabbed_Group; - Tab_Height : in Natural; - X, Y, W, H : out Integer); +function Create + (Parent : in out Groups.Group'Class; + X, Y, W, H : in Integer; + Text : in String := "") + return Tabbed_Group; </pre></td> </tr> +</table> + + + +<table class="function"> + <tr><th colspan="2">Functions and Procedures</th></tr> + <tr> <td><pre> -void draw(); +void client_area(int &rx, int &ry, int &rw, int &rh, int tabh=0); </pre></td> <td><pre> -procedure Draw - (This : in out Tabbed_Group); +procedure Get_Client_Area + (This : in Tabbed_Group; + Tab_Height : in Natural; + X, Y, W, H : out Integer); </pre></td> </tr> @@ -151,6 +162,33 @@ function Get_Which </table> + +<table class="function"> + <tr><th colspan="2">Protected Functions and Procedures</th></tr> + + <tr> +<td><pre> +void draw(); +</pre></td> +<td><pre> +procedure Draw + (This : in out Tabbed_Group); +</pre></td> + </tr> + + <tr> +<td><pre> +void redraw_tabs(); +</pre></td> +<td><pre> +procedure Redraw_Tabs + (This : in out Tabbed_Group); +</pre></td> + </tr> + +</table> + + </body> </html> diff --git a/doc/fl_text_buffer.html b/doc/fl_text_buffer.html index 8fe431f..5da799c 100644 --- a/doc/fl_text_buffer.html +++ b/doc/fl_text_buffer.html @@ -1,4 +1,3 @@ - <!DOCTYPE html> <html lang="en"> @@ -14,6 +13,9 @@ <h2>Fl_Text_Buffer Binding Map</h2> +<a href="index.html">Back to Index</a> + + <table class="package"> <tr><th colspan="2">Package name</th></tr> @@ -69,7 +71,55 @@ <table class="function"> - <tr><th colspan="2">Functions and Procedures</th></tr> + <tr><th colspan="2">Static Attributes</th></tr> + + <tr> +<td><pre> +static const char * file_encoding_warning_message; +</pre></td> +<td> </td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Attributes</th></tr> + + <tr> +<td><pre> +int input_file_was_transcoded; +</pre></td> +<td> </td> + </tr> + + <tr> +<td><pre> +void (*transcoding_warning_action)(Fl_Text_Buffer *); +</pre></td> +<td> </td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Protected Attributes</th></tr> + + <tr> +<td colspan="2" style="text-align:center"> +Too many to list. None that look suited for public API usage. +</td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Constructors</th></tr> <tr> <td><pre> @@ -83,9 +133,17 @@ function Create </pre></td> </tr> +</table> + + + +<table class="function"> + <tr><th colspan="2">Functions and Procedures</th></tr> + <tr> <td><pre> -void add_modify_callback(Fl_Text_Modify_Cb bufModifiedCB, void *cbArg); +void add_modify_callback(Fl_Text_Modify_Cb bufModifiedCB, + void *cbArg); </pre></td> <td><pre> procedure Add_Modify_Callback @@ -96,7 +154,8 @@ procedure Add_Modify_Callback <tr> <td><pre> -void add_predelete_callback(Fl_Text_Predelete_Cb bufPredelCB, void *cbArg); +void add_predelete_callback(Fl_Text_Predelete_Cb bufPredelCB, + void *cbArg); </pre></td> <td><pre> procedure Add_Predelete_Callback @@ -215,7 +274,8 @@ function Character_At <tr> <td><pre> -void copy(Fl_Text_Buffer *fromBuf, int fromStart, int fromEnd, int toPos); +void copy(Fl_Text_Buffer *fromBuf, int fromStart, + int fromEnd, int toPos); </pre></td> <td><pre> procedure Copy @@ -228,7 +288,8 @@ procedure Copy <tr> <td><pre> -int count_displayed_characters(int lineStartPos, int targetPos) const; +int count_displayed_characters(int lineStartPos, + int targetPos) const; </pre></td> <td><pre> function Count_Displayed_Characters @@ -252,7 +313,8 @@ function Count_Lines <tr> <td><pre> -int findchar_backward(int startPos, unsigned int searchChar, int *foundPos) const; +int findchar_backward(int startPos, unsigned int searchChar, + int *foundPos) const; </pre></td> <td><pre> function Findchar_Backward @@ -266,7 +328,8 @@ function Findchar_Backward <tr> <td><pre> -int findchar_forward(int startPos, unsigned searchChar, int *foundPos) const; +int findchar_forward(int startPos, unsigned searchChar, + int *foundPos) const; </pre></td> <td><pre> function Findchar_Forward @@ -435,7 +498,8 @@ int next_char_clipped(int ix) const; <tr> <td><pre> -int outputfile(const char *file, int start, int end, int buflen=128*1024); +int outputfile(const char *file, int start, int end, + int buflen=128*1024); </pre></td> <td><pre> procedure Output_File @@ -492,7 +556,8 @@ procedure Remove_Text <tr> <td><pre> -void remove_modify_callback(Fl_Text_Modify_Cb bufModifiedCB, void *cbArg); +void remove_modify_callback(Fl_Text_Modify_Cb bufModifiedCB, + void *cbArg); </pre></td> <td><pre> procedure Remove_Modify_Callback @@ -503,7 +568,8 @@ procedure Remove_Modify_Callback <tr> <td><pre> -void remove_predelete_callback(Fl_Text_Predelete_Cb predelCB, void *cbArg); +void remove_predelete_callback(Fl_Text_Predelete_Cb predelCB, + void *cbArg); </pre></td> <td><pre> procedure Remove_Predelete_Callback @@ -593,7 +659,8 @@ procedure Save_File <tr> <td><pre> -int search_backward(int startPos, const char *searchString, int *foundPos, int matchCase=0) const; +int search_backward(int startPos, const char *searchString, + int *foundPos, int matchCase=0) const; </pre></td> <td><pre> function Search_Backward @@ -608,7 +675,8 @@ function Search_Backward <tr> <td><pre> -int search_forward(int startPos, const char *searchString, int *foundPos, int matchCase=0) const; +int search_forward(int startPos, const char *searchString, + int *foundPos, int matchCase=0) const; </pre></td> <td><pre> function Search_Forward @@ -876,6 +944,13 @@ function Word_Start </table> + +<table class="function"> + <tr><th colspan="2">Protected Functions and Procedures</th></tr> + +</table> + + </body> </html> diff --git a/doc/fl_text_display.html b/doc/fl_text_display.html index 723c5fe..54b2f54 100644 --- a/doc/fl_text_display.html +++ b/doc/fl_text_display.html @@ -1,4 +1,3 @@ - <!DOCTYPE html> <html lang="en"> @@ -14,6 +13,9 @@ <h2>Fl_Text_Display Binding Map</h2> +<a href="index.html">Back to Index</a> + + <table class="package"> <tr><th colspan="2">Package name</th></tr> @@ -40,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> </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> </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> @@ -70,21 +89,44 @@ </tr> <tr> - <td> </td> + <td>uchar</td> <td>Style_Index</td> </tr> <tr> - <td> </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> <table class="function"> - <tr><th colspan="2">Functions and Procedures</th></tr> + <tr><th colspan="2">Protected Attributes</th></tr> + + <tr> +<td colspan="2" style="text-align:center"> +Too many to list. None that look suited for public API usage. +</td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Constructors</th></tr> <tr> <td><pre> @@ -93,14 +135,34 @@ Fl_Text_Display(int X, int Y, int W, int H, const char *L=0); <td><pre> function Create (X, Y, W, H : in Integer; - Text : in String) + Text : in String := "") return Text_Display; </pre></td> </tr> <tr> +<td>Rely on the automatic use of begin when a group is created, or use begin/end +explicitly, or add each widget to its intended parent group manually.</td> +<td><pre> +function Create + (Parent : in out Groups.Group'Class; + X, Y, W, H : in Integer; + Text : in String := "") + return Text_Display; +</pre></td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Functions and Procedures</th></tr> + + <tr> <td><pre> void buffer(Fl_Text_Buffer *buf); + void buffer(Fl_Text_Buffer &buf); </pre></td> <td><pre> @@ -135,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 @@ -181,16 +244,6 @@ procedure Set_Cursor_Style <tr> <td><pre> -virtual void draw(); -</pre></td> -<td><pre> -procedure Draw - (This : in out Text_Display); -</pre></td> - </tr> - - <tr> -<td><pre> virtual int handle(int e); </pre></td> <td><pre> @@ -282,19 +335,9 @@ function Get_Insert_Position </tr> <tr> -<td> </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 @@ -407,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> </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> </td> </tr> <tr> @@ -470,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> @@ -480,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> @@ -490,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> @@ -500,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> @@ -526,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> </td> </tr> <tr> @@ -569,7 +644,11 @@ procedure Redisplay_Range <td><pre> virtual void resize(int X, int Y, int W, int H); </pre></td> -<td> </td> +<td><pre> +procedure Resize + (This : in out Text_Display; + X, Y, W, H : in Integer); +</pre></td> </tr> <tr> @@ -590,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> @@ -643,14 +723,22 @@ procedure Set_Scrollbar_Width <td><pre> int shortcut() const; </pre></td> -<td> </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> </td> +<td><pre> +procedure Set_Shortcut + (This : in out Text_Display; + Value : in Key_Combo); +</pre></td> </tr> <tr> @@ -675,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 @@ -792,14 +881,24 @@ procedure Set_Wrap_Mode <td><pre> int wrapped_column(int row, int column) const; </pre></td> -<td> </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> </td> +<td><pre> +function Wrapped_Row + (This : in Text_Display; + Row : in Natural) + return Natural; +</pre></td> </tr> <tr> @@ -817,6 +916,539 @@ function X_To_Col </table> + +<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> + + + +<table class="function"> + <tr><th colspan="2">Protected Functions and Procedures</th></tr> + + <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> +procedure Draw + (This : in out Text_Display); +</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> + + </body> </html> diff --git a/doc/fl_text_editor.html b/doc/fl_text_editor.html index 88bf734..a946819 100644 --- a/doc/fl_text_editor.html +++ b/doc/fl_text_editor.html @@ -1,4 +1,3 @@ - <!DOCTYPE html> <html lang="en"> @@ -14,6 +13,9 @@ <h2>Fl_Text_Editor Binding Map</h2> +<a href="index.html">Back to Index</a> + + <table class="package"> <tr><th colspan="2">Package name</th></tr> @@ -40,17 +42,22 @@ </tr> <tr> - <td> </td> + <td>int</td> <td>Insert_Mode</td> </tr> <tr> + <td>int</td> + <td>Tab_Navigation</td> + </tr> + + <tr> <td>Key_Func</td> <td>Key_Func</td> </tr> <tr> - <td> </td> + <td>Key_Func</td> <td>Default_Key_Func</td> </tr> @@ -60,8 +67,13 @@ </tr> <tr> - <td> </td> - <td>Key_Binding_List</td> + <td>Key_Binding</td> + <td>Key_Binding_Array</td> + </tr> + + <tr> + <td>Key_Binding</td> + <td>Key_Binding_Vectors.Vector</td> </tr> </table> @@ -69,196 +81,68 @@ <table class="function"> - <tr><th colspan="2">Functions and Procedures</th></tr> + <tr><th colspan="2">Static Attributes</th></tr> <tr> +<td>Use the add_default_key_bindings function.</td> <td><pre> -Fl_Text_Editor(int X, int Y, int W, int H, const char *L=0); -</pre></td> -<td><pre> -function Create - (X, Y, W, H : in Integer; - Text : in String) - return Text_Editor; +Default_Key_Bindings : constant Key_Binding_Array := ... </pre></td> </tr> - <tr> -<td><pre> -void add_default_key_bindings(Key_Binding **list); -</pre></td> -<td> </td> - </tr> +</table> - <tr> -<td><pre> -void add_key_binding(int key, int state, Key_Func f, Key_Binding **list); -</pre></td> -<td><pre> -procedure Add_Key_Binding - (This : in out Text_Editor; - Bind : in Key_Binding); -</pre></td> - </tr> - <tr> -<td><pre> -void add_key_binding(int key, int state, Key_Func f); -</pre></td> -<td><pre> -procedure Add_Key_Binding - (This : in out Text_Editor; - Key : in Key_Combo; - Func : in Key_Func); -</pre></td> - </tr> - <tr> -<td> </td> -<td><pre> -procedure Add_Key_Bindings - (This : in out Text_Editor; - List : in Key_Binding_List); -</pre></td> - </tr> - - <tr> -<td><pre> -Key_Func bound_key_function(int key, int state, Key_Binding *list) const; -</pre></td> -<td> </td> - </tr> - - <tr> -<td><pre> -Key_Func bound_key_function(int key, int state) const; -</pre></td> -<td><pre> -function Get_Bound_Key_Function - (This : in Text_Editor; - Key : in Key_Combo) - return Key_Func; -</pre></td> - </tr> +<table class="function"> + <tr><th colspan="2">Static Protected Attributes</th></tr> <tr> <td><pre> -void default_key_function(Key_Func f); +static Key_Binding * global_key_bindings; </pre></td> <td><pre> -procedure Set_Default_Key_Function - (This : in out Text_Editor; - Func : in Default_Key_Func); +Global_Key_Bindings : Key_Binding_Vectors.Vector; </pre></td> </tr> - <tr> -<td> </td> -<td><pre> -function Get_Default_Key_Function - (This : in Text_Editor) - return Default_Key_Func; -</pre></td> - </tr> +</table> - <tr> -<td> </td> -<td><pre> -procedure Draw - (This : in out Text_Editor); -</pre></td> - </tr> - <tr> -<td><pre> -virtual int handle(int e); -</pre></td> -<td><pre> -function Handle - (This : in out Text_Editor; - Event : in Event_Kind) - return Event_Outcome; -</pre></td> - </tr> - <tr> -<td><pre> -void insert_mode(int b); -</pre></td> -<td><pre> -procedure Set_Insert_Mode - (This : in out Text_Editor; - To : in Insert_Mode); -</pre></td> - </tr> - - <tr> -<td><pre> -int insert_mode(); -</pre></td> -<td><pre> -function Get_Insert_Mode - (This : in Text_Editor) - return Insert_Mode; -</pre></td> - </tr> +<table class="function"> + <tr><th colspan="2">Constructors</th></tr> <tr> <td><pre> -void remove_all_key_bindings(Key_Binding **list); +Fl_Text_Editor(int X, int Y, int W, int H, const char *L=0); </pre></td> <td><pre> -procedure Remove_Key_Bindings - (This : in out Text_Editor; - List : in Key_Binding_List); +function Create + (X, Y, W, H : in Integer; + Text : in String := "") + return Text_Editor; </pre></td> </tr> <tr> +<td>Rely on the automatic use of begin when a group is created, or use begin/end +explicitly, or add each widget to its intended parent group manually.</td> <td><pre> -void remove_all_key_bindings(); -</pre></td> -<td><pre> -procedure Remove_All_Key_Bindings - (This : in out Text_Editor); +function Create + (Parent : in out Groups.Group'Class; + X, Y, W, H : in Integer; + Text : in String := "") + return Text_Editor; </pre></td> </tr> - <tr> -<td><pre> -void remove_key_binding(int key, int state, Key_Binding **list); -</pre></td> -<td><pre> -procedure Remove_Key_Binding - (This : in out Text_Editor; - Bind : in Key_Binding); -</pre></td> - </tr> +</table> - <tr> -<td><pre> -void remove_key_binding(int key, int state); -</pre></td> -<td><pre> -procedure Remove_Key_Binding - (This : in out Text_Editor; - Key : in Key_Combo); -</pre></td> - </tr> - <tr> -<td><pre> -void tab_nav(int val); -</pre></td> -<td>TBA</td> - </tr> - <tr> -<td><pre> -int tab_nav() const; -</pre></td> -<td>TBA</td> - </tr> +<table class="function"> + <tr><th colspan="2">Static Functions and Procedures</th></tr> <tr> <td><pre> @@ -306,7 +190,7 @@ procedure KF_Ctrl_Shift_Up static int kf_copy(int c, Fl_Text_Editor *e); </pre></td> <td><pre> -procedure Copy +procedure KF_Copy (This : in out Text_Editor'Class); </pre></td> </tr> @@ -347,7 +231,7 @@ procedure KF_Ctrl_Up static int kf_cut(int c, Fl_Text_Editor *e); </pre></td> <td><pre> -procedure Cut +procedure KF_Cut (This : in out Text_Editor'Class); </pre></td> </tr> @@ -357,7 +241,7 @@ procedure Cut static int kf_default(int c, Fl_Text_Editor *e); </pre></td> <td><pre> -procedure Default +procedure KF_Default (This : in out Text_Editor'Class; Key : in Key_Combo); </pre></td> @@ -368,7 +252,7 @@ procedure Default static int kf_delete(int c, Fl_Text_Editor *e); </pre></td> <td><pre> -procedure Delete +procedure KF_Delete (This : in out Text_Editor'Class); </pre></td> </tr> @@ -447,21 +331,70 @@ procedure KF_Left <td><pre> static int kf_m_s_move(int c, Fl_Text_Editor *e); </pre></td> -<td> </td> +<td><pre> +procedure KF_Meta_Shift_Home + (This : in out Text_Editor'Class); + +procedure KF_Meta_Shift_End + (This : in out Text_Editor'Class); + +procedure KF_Meta_Shift_Page_Down + (This : in out Text_Editor'Class); + +procedure KF_Meta_Shift_Page_Up + (This : in out Text_Editor'Class); + +procedure KF_Meta_Shift_Down + (This : in out Text_Editor'Class); + +procedure KF_Meta_Shift_Left + (This : in out Text_Editor'Class); + +procedure KF_Meta_Shift_Right + (This : in out Text_Editor'Class); + +procedure KF_Meta_Shift_Up + (This : in out Text_Editor'Class); +</pre></td> </tr> <tr> <td><pre> static int kf_meta_move(int c, Fl_Text_Editor *e); </pre></td> -<td> </td> +<td><pre> +procedure KF_Meta_Home + (This : in out Text_Editor'Class); + +procedure KF_Meta_End + (This : in out Text_Editor'Class); + +procedure KF_Meta_Page_Down + (This : in out Text_Editor'Class); + +procedure KF_Meta_Page_Up + (This : in out Text_Editor'Class); + +procedure KF_Meta_Down + (This : in out Text_Editor'Class); + +procedure KF_Meta_Left + (This : in out Text_Editor'Class); + +procedure KF_Meta_Right + (This : in out Text_Editor'Class); + +procedure KF_Meta_Up + (This : in out Text_Editor'Class); +</pre></td> </tr> <tr> <td><pre> static int kf_move(int c, Fl_Text_Editor *e); </pre></td> -<td> </td> +<td>Already covered by KF_Home, KF_End, KF_Page_Down, KF_Page_Up, +KF_Down, KF_Left, KF_Right, KF_Up.</td> </tr> <tr> @@ -489,7 +422,7 @@ procedure KF_Page_Up static int kf_paste(int c, Fl_Text_Editor *e); </pre></td> <td><pre> -procedure Paste +procedure KF_Paste (This : in out Text_Editor'Class); </pre></td> </tr> @@ -509,7 +442,7 @@ procedure KF_Right static int kf_select_all(int c, Fl_Text_Editor *e); </pre></td> <td><pre> -procedure Select_All +procedure KF_Select_All (This : in out Text_Editor'Class); </pre></td> </tr> @@ -546,11 +479,19 @@ procedure KF_Shift_Up </tr> <tr> +<td>Write your own function to handle a tab press.</td> +<td><pre> +procedure KF_Tab + (This : in out Text_Editor'Class); +</pre></td> + </tr> + + <tr> <td><pre> static int kf_undo(int c, Fl_Text_Editor *e); </pre></td> <td><pre> -procedure Undo +procedure KF_Undo (This : in out Text_Editor'Class); </pre></td> </tr> @@ -568,6 +509,235 @@ procedure KF_Up </table> + +<table class="function"> + <tr><th colspan="2">Functions and Procedures</th></tr> + + <tr> +<td><pre> +void add_default_key_bindings(Key_Binding **list); +</pre></td> +<td>Construct an array or populate a vector manually using the Default_Key_Bindings array.</td> + </tr> + + <tr> +<td><pre> +void add_key_binding(int key, int state, Key_Func f); +</pre></td> +<td><pre> +procedure Add_Key_Binding + (This : in out Text_Editor; + Key : in Key_Combo; + Func : in Key_Func); + +procedure Add_Key_Binding + (This : in out Text_Editor; + Bind : in Key_Binding); +</pre></td> + </tr> + + <tr> +<td><pre> +void add_key_binding(int key, int state, Key_Func f, + Key_Binding **list); +</pre></td> +<td>Construct an array or populate a vector manually.</td> + </tr> + + <tr> +<td>Add key bindings to an Fl_Text_Editor one by one.</td> +<td><pre> +procedure Add_Key_Bindings + (This : in out Text_Editor; + Bind : in Key_Binding_Array); +</pre></td> + </tr> + + <tr> +<td><pre> +Key_Func bound_key_function(int key, int state) const; +</pre></td> +<td><pre> +function Get_Bound_Key_Function + (This : in Text_Editor; + Key : in Key_Combo) + return Key_Func; +</pre></td> + </tr> + + <tr> +<td>After adding a key binding to an editor there does not appear to +be a way to obtain a full accounting of what bindings exist afterwards.</td> +<td><pre> +function Get_All_Bound_Key_Functions + (This : in Text_Editor) + return Key_Binding_Array; +</pre></td> + </tr> + + <tr> +<td><pre> +Key_Func bound_key_function(int key, int state, + Key_Binding *list) const; +</pre></td> +<td>Search an array or vector using standard operations.</td> + </tr> + + <tr> +<td><pre> +void default_key_function(Key_Func f); +</pre></td> +<td><pre> +procedure Set_Default_Key_Function + (This : in out Text_Editor; + Func : in Default_Key_Func); +</pre></td> + </tr> + + <tr> +<td>Keep track of what default key function you set manually.</td> +<td><pre> +function Get_Default_Key_Function + (This : in Text_Editor) + return Default_Key_Func; +</pre></td> + </tr> + + <tr> +<td><pre> +virtual int handle(int e); +</pre></td> +<td><pre> +function Handle + (This : in out Text_Editor; + Event : in Event_Kind) + return Event_Outcome; +</pre></td> + </tr> + + <tr> +<td><pre> +int insert_mode(); +</pre></td> +<td><pre> +function Get_Insert_Mode + (This : in Text_Editor) + return Insert_Mode; +</pre></td> + </tr> + + <tr> +<td><pre> +void insert_mode(int b); +</pre></td> +<td><pre> +procedure Set_Insert_Mode + (This : in out Text_Editor; + To : in Insert_Mode); +</pre></td> + </tr> + + <tr> +<td><pre> +void remove_all_key_bindings(); +</pre></td> +<td><pre> +procedure Remove_All_Key_Bindings + (This : in out Text_Editor); +</pre></td> + </tr> + + <tr> +<td><pre> +void remove_all_key_bindings(Key_Binding **list); +</pre></td> +<td>Use standard operations to manipulate an array or vector.</td> + </tr> + + <tr> +<td><pre> +void remove_key_binding(int key, int state); +</pre></td> +<td><pre> +procedure Remove_Key_Binding + (This : in out Text_Editor; + Key : in Key_Combo); + +procedure Remove_Key_Binding + (This : in out Text_Editor; + Bind : in Key_Binding); +</pre></td> + </tr> + + <tr> +<td><pre> +void remove_key_binding(int key, int state, Key_Binding **list); +</pre></td> +<td>Use standard operations to manipulate an array or vector.</td> + </tr> + + <tr> +<td>Remove key bindings from an Fl_Text_Editor one by one.</td> +<td><pre> +procedure Remove_Key_Bindings + (This : in out Text_Editor; + Bind : in Key_Binding_Array); +</pre></td> + </tr> + + <tr> +<td><pre> +int tab_nav() const; +</pre></td> +<td><pre> +function Get_Tab_Mode + (This : in Text_Editor) + return Tab_Navigation; +</pre></td> + </tr> + + <tr> +<td><pre> +void tab_nav(int val); +</pre></td> +<td><pre> +procedure Set_Tab_Mode + (This : in out Text_Editor; + To : in Tab_Navigation); +</pre></td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Protected Functions and Procedures</th></tr> + + <tr> +<td><pre> +int handle_key(); +</pre></td> +<td><pre> +function Handle_Key + (This : in out Text_Editor) + return Event_Outcome; +</pre></td> + </tr> + + <tr> +<td><pre> +void maybe_do_callback(); +</pre></td> +<td><pre> +procedure Maybe_Do_Callback + (This : in out Text_Editor); +</pre></td> + </tr> + +</table> + + </body> </html> diff --git a/doc/fl_tile.html b/doc/fl_tile.html index 0aab994..e7509cb 100644 --- a/doc/fl_tile.html +++ b/doc/fl_tile.html @@ -1,4 +1,3 @@ - <!DOCTYPE html> <html lang="en"> @@ -14,6 +13,9 @@ <h2>Fl_Tile Binding Map</h2> +<a href="index.html">Back to Index</a> + + <table class="package"> <tr><th colspan="2">Package name</th></tr> @@ -44,7 +46,7 @@ <table class="function"> - <tr><th colspan="2">Functions and Procedures</th></tr> + <tr><th colspan="2">Constructors</th></tr> <tr> <td><pre> @@ -53,19 +55,30 @@ Fl_Tile(int X, int Y, int W, int H, const char *L=0); <td><pre> function Create (X, Y, W, H : in Integer; - Text : in String) + Text : in String := "") return Tiled_Group; </pre></td> </tr> <tr> -<td> </td> +<td>Rely on the automatic use of begin when a group is created, or use begin/end +explicitly, or add each widget to its intended parent group manually.</td> <td><pre> -procedure Draw - (This : in out Tiled_Group); +function Create + (Parent : in out Groups.Group'Class; + X, Y, W, H : in Integer; + Text : in String := "") + return Tiled_Group; </pre></td> </tr> +</table> + + + +<table class="function"> + <tr><th colspan="2">Functions and Procedures</th></tr> + <tr> <td><pre> int handle(int event); @@ -94,7 +107,11 @@ procedure Position <td><pre> void resize(int X, int Y, int W, int H); </pre></td> -<td> </td> +<td><pre> +procedure Resize + (This : in out Tiled_Group; + X, Y, W, H : in Integer); +</pre></td> </tr> </table> diff --git a/doc/fl_tiled_image.html b/doc/fl_tiled_image.html new file mode 100644 index 0000000..49aeca0 --- /dev/null +++ b/doc/fl_tiled_image.html @@ -0,0 +1,175 @@ +<!DOCTYPE html> + +<html lang="en"> + <head> + <meta charset="utf-8"> + <title>Fl_Tiled_Image Binding Map</title> + <link href="map.css" rel="stylesheet"> + </head> + + <body> + + +<h2>Fl_Tiled_Image 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_Tiled_Image</td> + <td>FLTK.Images.Tiled</td> + </tr> + +</table> + + + +<table class="type"> + <tr><th colspan="2">Types</th></tr> + + <tr> + <td>Fl_Tiled_Image</td> + <td>Tiled_Image</td> + </tr> + + <tr> + <td> </td> + <td>Tiled_Image_Reference</td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Protected Attributes</th></tr> + + <tr> +<td><pre> +int alloc_image_; +</pre></td> +<td>Intentionally left unbound.</td> + </tr> + + <tr> +<td><pre> +Fl_Image * image_; +</pre></td> +<td>Intentionally left unbound.</td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Constructors</th></tr> + + <tr> +<td><pre> +Fl_Tiled_Image(Fl_Image *i, int W=0, int H=0); +</pre></td> +<td><pre> +function Create + (From : in out Image'Class; + W, H : in Integer := 0) + return Tiled_Image; +</pre></td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Functions and Procedures</th></tr> + + <tr> +<td><pre> +virtual void color_average(Fl_Color c, float i); +</pre></td> +<td><pre> +procedure Color_Average + (This : in out Tiled_Image; + Hue : in Color; + Amount : in Blend); +</pre></td> + </tr> + + <tr> +<td><pre> +Fl_Image * copy(); +</pre></td> +<td><pre> +function Copy + (This : in Tiled_Image) + return Tiled_Image'Class; +</pre></td> + </tr> + + <tr> +<td><pre> +virtual Fl_Image * copy(int W, int H); +</pre></td> +<td><pre> +function Copy + (This : in Tiled_Image; + Width, Height : in Natural) + return Tiled_Image'Class; +</pre></td> + </tr> + + <tr> +<td><pre> +virtual void desaturate(); +</pre></td> +<td><pre> +procedure Desaturate + (This : in out Tiled_Image); +</pre></td> + </tr> + + <tr> +<td><pre> +void draw(int X, int Y); +</pre></td> +<td><pre> +procedure Draw + (This : in Tiled_Image; + X, Y : in Integer); +</pre></td> + </tr> + + <tr> +<td><pre> +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; + Clip_X, Clip_Y : in Integer); +</pre></td> + </tr> + + <tr> +<td><pre> +Fl_Image * image(); +</pre></td> +<td><pre> +function Tile + (This : in out Tiled_Image) + return Image_Reference; +</pre></td> + </tr> + +</table> + + + </body> +</html> + diff --git a/doc/fl_toggle_button.html b/doc/fl_toggle_button.html index 1696895..2fec723 100644 --- a/doc/fl_toggle_button.html +++ b/doc/fl_toggle_button.html @@ -1,4 +1,3 @@ - <!DOCTYPE html> <html lang="en"> @@ -14,6 +13,9 @@ <h2>Fl_Toggle_Button Binding Map</h2> +<a href="index.html">Back to Index</a> + + <table class="package"> <tr><th colspan="2">Package name</th></tr> @@ -43,7 +45,7 @@ <table class="function"> - <tr><th colspan="2">Functions and Procedures</th></tr> + <tr><th colspan="2">Constructors</th></tr> <tr> <td><pre> @@ -52,26 +54,20 @@ Fl_Toggle_Button(int X, int Y, int W, int H, const char *L=0); <td><pre> function Create (X, Y, W, H : in Integer; - Text : in String) + Text : in String := "") return Toggle_Button; </pre></td> </tr> <tr> -<td> </td> -<td><pre> -procedure Draw - (This : in out Toggle_Button); -</pre></td> - </tr> - - <tr> -<td> </td> +<td>Rely on the automatic use of begin when a group is created, or use begin/end +explicitly, or add each widget to its intended parent group manually.</td> <td><pre> -function Handle - (This : in out Toggle_Button; - Event : in Event_Kind) - return Event_Outcome; +function Create + (Parent : in out FLTK.Widgets.Groups.Group'Class; + X, Y, W, H : in Integer; + Text : in String := "") + return Toggle_Button; </pre></td> </tr> diff --git a/doc/fl_tooltip.html b/doc/fl_tooltip.html index 9c72207..48b9d95 100644 --- a/doc/fl_tooltip.html +++ b/doc/fl_tooltip.html @@ -1,4 +1,3 @@ - <!DOCTYPE html> <html lang="en"> @@ -14,6 +13,9 @@ <h2>Fl_Tooltip Binding Map</h2> +<a href="index.html">Back to Index</a> + + <table class="package"> <tr><th colspan="2">Package name</th></tr> @@ -24,8 +26,30 @@ </table> + +<table class="function"> + <tr><th colspan="2">Static Attributes</th></tr> + + <tr> +<td><pre> +static void(*enter)(Fl_Widget *w) = 0; +</pre></td> +<td>Intentionally left unbound.</td> + </tr> + + <tr> +<td><pre> +static void(*exit)(Fl_Widget *w) = 0; +</pre></td> +<td>Intentionally left unbound.</td> + </tr> + +</table> + + + <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> @@ -91,7 +115,9 @@ procedure Set_Delay <td><pre> static void disable(); </pre></td> -<td>See static void enable(int b=1);</td> +<td><pre> +procedure Disable; +</pre></td> </tr> <tr> @@ -100,7 +126,7 @@ static void enable(int b=1); </pre></td> <td><pre> procedure Set_Enabled - (To : in Boolean); + (To : in Boolean := True); </pre></td> </tr> @@ -116,7 +142,8 @@ function Is_Enabled <tr> <td><pre> -static void enter_area(Fl_Widget *w, int X, int Y, int W, int H, const char *tip); +static void enter_area(Fl_Widget *w, int X, int Y, int W, int H, + const char *tip); </pre></td> <td><pre> procedure Enter_Area @@ -180,7 +207,10 @@ function Get_Margin_Height <td><pre> static void margin_height(int v); </pre></td> -<td>Disabled pending ABI version check bugfix in FLTK</td> +<td><pre> +procedure Set_Margin_Height + (To : in Natural); +</pre></td> </tr> <tr> @@ -197,7 +227,10 @@ function Get_Margin_Width <td><pre> static void margin_width(int v); </pre></td> -<td>Disabled pending ABI version check bugfix in FLTK</td> +<td><pre> +procedure Set_Margin_Width + (To : in Natural); +</pre></td> </tr> <tr> @@ -254,7 +287,10 @@ function Get_Wrap_Width <td><pre> static void wrap_width(int v); </pre></td> -<td>Disabled pending ABI version check bugfix in FLTK</td> +<td><pre> +procedure Set_Wrap_Width + (To : in Natural); +</pre></td> </tr> </table> diff --git a/doc/fl_valuator.html b/doc/fl_valuator.html index 81e374b..d443dbe 100644 --- a/doc/fl_valuator.html +++ b/doc/fl_valuator.html @@ -1,4 +1,3 @@ - <!DOCTYPE html> <html lang="en"> @@ -14,6 +13,9 @@ <h2>Fl_Valuator Binding Map</h2> +<a href="index.html">Back to Index</a> + + <table class="package"> <tr><th colspan="2">Package name</th></tr> @@ -44,7 +46,7 @@ <table class="function"> - <tr><th colspan="2">Functions and Procedures</th></tr> + <tr><th colspan="2">Constructors</th></tr> <tr> <td><pre> @@ -53,11 +55,30 @@ Fl_Valuator(int X, int Y, int W, int H, const char *L); <td><pre> function Create (X, Y, W, H : in Integer; - Text : in String) + Text : in String := "") + return Valuator; +</pre></td> + </tr> + + <tr> +<td>Rely on the automatic use of begin when a group is created, or use begin/end +explicitly, or add each widget to its intended parent group manually.</td> +<td><pre> +function Create + (Parent : in out FLTK.Widgets.Groups.Group'Class; + X, Y, W, H : in Integer; + Text : in String := "") return Valuator; </pre></td> </tr> +</table> + + + +<table class="function"> + <tr><th colspan="2">Functions and Procedures</th></tr> + <tr> <td><pre> void bounds(double a, double b); @@ -85,16 +106,10 @@ function Clamp <td><pre> virtual int format(char *); </pre></td> -<td> </td> - </tr> - - <tr> -<td> </td> <td><pre> -function Handle - (This : in out Valuator; - Event : in Event_Kind) - return Event_Outcome; +function Format + (This : in Valuator) + return String; </pre></td> </tr> @@ -191,16 +206,25 @@ function Round <tr> <td><pre> -void step(int a); +double step() const; +</pre></td> +<td><pre> +function Get_Step + (This : in Valuator) + return Long_Float; </pre></td> -<td> </td> </tr> <tr> <td><pre> void step(double a, int b); </pre></td> -<td> </td> +<td><pre> +procedure Set_Step + (This : in out Valuator; + Top : in Long_Float; + Bottom : in Integer); +</pre></td> </tr> <tr> @@ -208,7 +232,7 @@ void step(double a, int b); void step(double s); </pre></td> <td><pre> -procedure Set_Step +procedure Set_Step_Top (This : in out Valuator; To : in Long_Float); </pre></td> @@ -216,12 +240,12 @@ procedure Set_Step <tr> <td><pre> -double step() const; +void step(int a); </pre></td> <td><pre> -function Get_Step - (This : in Valuator) - return Long_Float; +procedure Set_Step_Bottom + (This : in out Valuator; + To : in Integer); </pre></td> </tr> @@ -250,6 +274,72 @@ procedure Set_Value </table> + +<table class="function"> + <tr><th colspan="2">Protected Functions and Procedures</th></tr> + + <tr> +<td><pre> +void handle_drag(double newvalue); +</pre></td> +<td>Intentionally left unbound.</td> + </tr> + + <tr> +<td><pre> +void handle_push(); +</pre></td> +<td>Intentionally left unbound.</td> + </tr> + + <tr> +<td><pre> +void handle_release(); +</pre></td> +<td>Intentionally left unbound.</td> + </tr> + + <tr> +<td><pre> +int horizontal() const; +</pre></td> +<td>Intentionally left unbound.</td> + </tr> + + <tr> +<td><pre> +double previous_value() const; +</pre></td> +<td>Intentionally left unbound.</td> + </tr> + + <tr> +<td><pre> +void set_value(double v); +</pre></td> +<td>Intentionally left unbound.</td> + </tr> + + <tr> +<td><pre> +double softclamp(double); +</pre></td> +<td>Intentionally left unbound.</td> + </tr> + + <tr> +<td><pre> +virtual void value_damage(); +</pre></td> +<td><pre> +procedure Value_Damage + (This : in out Valuator); +</pre></td> + </tr> + +</table> + + </body> </html> diff --git a/doc/fl_value_input.html b/doc/fl_value_input.html index 16d02b8..00fc50e 100644 --- a/doc/fl_value_input.html +++ b/doc/fl_value_input.html @@ -1,4 +1,3 @@ - <!DOCTYPE html> <html lang="en"> @@ -14,6 +13,9 @@ <h2>Fl_Value_Input Binding Map</h2> +<a href="index.html">Back to Index</a> + + <table class="package"> <tr><th colspan="2">Package name</th></tr> @@ -44,7 +46,25 @@ <table class="function"> - <tr><th colspan="2">Functions and Procedures</th></tr> + <tr><th colspan="2">Attributes</th></tr> + + <tr> +<td><pre> +Fl_Input input; +</pre></td> +<td><pre> +function Text_Field + (This : in Value_Input) + return FLTK.Widgets.Inputs.Text.Text_Input_Reference; +</pre></td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Constructors</th></tr> <tr> <td><pre> @@ -53,11 +73,30 @@ Fl_Value_Input(int x, int y, int w, int h, const char *l=0); <td><pre> function Create (X, Y, W, H : in Integer; - Text : in String) + Text : in String := "") + return Value_Input; +</pre></td> + </tr> + + <tr> +<td>Rely on the automatic use of begin when a group is created, or use begin/end +explicitly, or add each widget to its intended parent group manually.</td> +<td><pre> +function Create + (Parent : in out FLTK.Widgets.Groups.Group'Class; + X, Y, W, H : in Integer; + Text : in String := "") return Value_Input; </pre></td> </tr> +</table> + + + +<table class="function"> + <tr><th colspan="2">Functions and Procedures</th></tr> + <tr> <td><pre> Fl_Color cursor_color() const; @@ -82,16 +121,6 @@ procedure Set_Cursor_Color <tr> <td><pre> -void draw(); -</pre></td> -<td><pre> -procedure Draw - (This : in out Value_Input); -</pre></td> - </tr> - - <tr> -<td><pre> int handle(int); </pre></td> <td><pre> @@ -104,24 +133,17 @@ function Handle <tr> <td><pre> -Fl_Input input; +void resize(int, int, int, int); </pre></td> <td><pre> -function Input - (This : in Value_Input) - return FLTK.Widgets.Inputs.Input_Reference; +procedure Resize + (This : in out Value_Input; + X, Y, W, H : in Integer); </pre></td> </tr> <tr> <td><pre> -void resize(int, int, int, int); -</pre></td> -<td> </td> - </tr> - - <tr> -<td><pre> int shortcut() const; </pre></td> <td><pre> @@ -144,23 +166,23 @@ procedure Set_Shortcut <tr> <td><pre> -void soft(char s); +char soft() const; </pre></td> <td><pre> -procedure Set_Soft - (This : in out Value_Input; - To : in Boolean); +function Is_Soft + (This : in Value_Input) + return Boolean; </pre></td> </tr> <tr> <td><pre> -char soft() const; +void soft(char s); </pre></td> <td><pre> -function Is_Soft - (This : in Value_Input) - return Boolean; +procedure Set_Soft + (This : in out Value_Input; + To : in Boolean); </pre></td> </tr> @@ -233,6 +255,23 @@ procedure Set_Text_Size </table> + +<table class="function"> + <tr><th colspan="2">Protected Functions and Procedures</th></tr> + + <tr> +<td><pre> +void draw(); +</pre></td> +<td><pre> +procedure Draw + (This : in out Value_Input); +</pre></td> + </tr> + +</table> + + </body> </html> diff --git a/doc/fl_value_output.html b/doc/fl_value_output.html index 3924e14..5a1bf12 100644 --- a/doc/fl_value_output.html +++ b/doc/fl_value_output.html @@ -1,4 +1,3 @@ - <!DOCTYPE html> <html lang="en"> @@ -14,6 +13,9 @@ <h2>Fl_Value_Output Binding Map</h2> +<a href="index.html">Back to Index</a> + + <table class="package"> <tr><th colspan="2">Package name</th></tr> @@ -44,7 +46,7 @@ <table class="function"> - <tr><th colspan="2">Functions and Procedures</th></tr> + <tr><th colspan="2">Constructors</th></tr> <tr> <td><pre> @@ -53,21 +55,30 @@ Fl_Value_Output(int x, int y, int w, int h, const char *l=0); <td><pre> function Create (X, Y, W, H : in Integer; - Text : in String) + Text : in String := "") return Value_Output; </pre></td> </tr> <tr> +<td>Rely on the automatic use of begin when a group is created, or use begin/end +explicitly, or add each widget to its intended parent group manually.</td> <td><pre> -void draw(); -</pre></td> -<td><pre> -procedure Draw - (This : in out Value_Output); +function Create + (Parent : in out FLTK.Widgets.Groups.Group'Class; + X, Y, W, H : in Integer; + Text : in String := "") + return Value_Output; </pre></td> </tr> +</table> + + + +<table class="function"> + <tr><th colspan="2">Functions and Procedures</th></tr> + <tr> <td><pre> int handle(int); @@ -82,23 +93,23 @@ function Handle <tr> <td><pre> -void soft(char s); +char soft() const; </pre></td> <td><pre> -procedure Set_Soft - (This : in out Value_Output; - To : in Boolean); +function Is_Soft + (This : in Value_Output) + return Boolean; </pre></td> </tr> <tr> <td><pre> -char soft() const; +void soft(char s); </pre></td> <td><pre> -function Is_Soft - (This : in Value_Output) - return Boolean; +procedure Set_Soft + (This : in out Value_Output; + To : in Boolean); </pre></td> </tr> @@ -171,6 +182,23 @@ procedure Set_Text_Size </table> + +<table class="function"> + <tr><th colspan="2">Protected Functions and Procedures</th></tr> + + <tr> +<td><pre> +void draw(); +</pre></td> +<td><pre> +procedure Draw + (This : in out Value_Output); +</pre></td> + </tr> + +</table> + + </body> </html> diff --git a/doc/fl_value_slider.html b/doc/fl_value_slider.html index 54bae4e..b96e4a2 100644 --- a/doc/fl_value_slider.html +++ b/doc/fl_value_slider.html @@ -1,4 +1,3 @@ - <!DOCTYPE html> <html lang="en"> @@ -14,6 +13,9 @@ <h2>Fl_Value_Slider Binding Map</h2> +<a href="index.html">Back to Index</a> + + <table class="package"> <tr><th colspan="2">Package name</th></tr> @@ -44,7 +46,7 @@ <table class="function"> - <tr><th colspan="2">Functions and Procedures</th></tr> + <tr><th colspan="2">Constructors</th></tr> <tr> <td><pre> @@ -53,21 +55,30 @@ Fl_Value_Slider(int x, int y, int w, int h, const char *l=0); <td><pre> function Create (X, Y, W, H : in Integer; - Text : in String) + Text : in String := "") return Value_Slider; </pre></td> </tr> <tr> +<td>Rely on the automatic use of begin when a group is created, or use begin/end +explicitly, or add each widget to its intended parent group manually.</td> <td><pre> -void draw(); -</pre></td> -<td><pre> -procedure Draw - (This : in out Value_Slider); +function Create + (Parent : in out FLTK.Widgets.Groups.Group'Class; + X, Y, W, H : in Integer; + Text : in String := "") + return Value_Slider; </pre></td> </tr> +</table> + + + +<table class="function"> + <tr><th colspan="2">Functions and Procedures</th></tr> + <tr> <td><pre> int handle(int); @@ -149,6 +160,23 @@ procedure Set_Text_Size </table> + +<table class="function"> + <tr><th colspan="2">Protected Functions and Procedures</th></tr> + + <tr> +<td><pre> +void draw(); +</pre></td> +<td><pre> +procedure Draw + (This : in out Value_Slider); +</pre></td> + </tr> + +</table> + + </body> </html> diff --git a/doc/fl_widget.html b/doc/fl_widget.html index 762591b..0552325 100644 --- a/doc/fl_widget.html +++ b/doc/fl_widget.html @@ -1,4 +1,3 @@ - <!DOCTYPE html> <html lang="en"> @@ -14,6 +13,9 @@ <h2>Fl_Widget Binding Map</h2> +<a href="index.html">Back to Index</a> + + <table class="package"> <tr><th colspan="2">Package name</th></tr> @@ -44,17 +46,12 @@ <td>Widget_Callback</td> </tr> - <tr> - <td>Fl_When</td> - <td>Callback_Flag</td> - </tr> - </table> <table class="function"> - <tr><th colspan="2">Functions and Procedures</th></tr> + <tr><th colspan="2">Constructors</th></tr> <tr> <td><pre> @@ -63,23 +60,73 @@ Fl_Widget(int x, int y, int w, int h, const char *label=0L); <td><pre> function Create (X, Y, W, H : in Integer; - Text : in String) + Text : in String := "") return Widget; </pre></td> </tr> <tr> +<td>Rely on the automatic use of begin when a group is created, or use begin/end +explicitly, or add each widget to its intended parent group manually.</td> +<td><pre> +function Create + (Parent : in out FLTK.Widgets.Groups.Group'Class; + X, Y, W, H : in Integer; + Text : in String := "") + return Widget; +</pre></td> + </tr> + +</table> + + + +<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> </td> +<td>Marked as internal use only.</td> </tr> <tr> <td><pre> void _set_fullscreen(); </pre></td> -<td> </td> +<td>Marked as internal use only.</td> </tr> <tr> @@ -140,35 +187,35 @@ procedure Set_Alignment <td><pre> long argument() const; </pre></td> -<td> </td> +<td>Intentionally left unbound.</td> </tr> <tr> <td><pre> void argument(long v); </pre></td> -<td> </td> +<td>Intentionally left unbound.</td> </tr> <tr> <td><pre> virtual class Fl_Gl_Window * as_gl_window(); </pre></td> -<td> </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> @@ -208,12 +255,13 @@ function Get_Callback <td><pre> void callback(Fl_Callback *cb, void *p); </pre></td> -<td> </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> @@ -227,7 +275,7 @@ procedure Set_Callback <td><pre> void callback(Fl_Callback1 *cb, long p=0); </pre></td> -<td> </td> +<td>Use callback(Fl_Callback *cb) / Set_Callback instead.</td> </tr> <tr> @@ -246,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> @@ -257,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> @@ -267,7 +313,11 @@ procedure Set_Changed <td><pre> void clear_damage(uchar c=0); </pre></td> -<td> </td> +<td><pre> +procedure Clear_Damage + (This : in out Widget; + Mask : in Damage_Mask := Damage_None); +</pre></td> </tr> <tr> @@ -275,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> @@ -286,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> @@ -297,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> @@ -329,21 +376,25 @@ procedure Set_Background_Color <td><pre> void color(Fl_Color bg, Fl_Color sel); </pre></td> -<td> </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> </td> +<td>Deprecated, use selection_color / Get_Selection_Color instead.</td> </tr> <tr> <td><pre> void color2(unsigned a); </pre></td> -<td> </td> +<td>Deprecated, use selection_color / Set_Selection_Color instead.</td> </tr> <tr> @@ -388,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> @@ -396,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> @@ -407,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> @@ -418,7 +473,7 @@ procedure Set_Damaged <td><pre> int damage_resize(int, int, int, int); </pre></td> -<td> </td> +<td>Marked as internal use only.</td> </tr> <tr> @@ -434,6 +489,7 @@ procedure Deactivate <tr> <td><pre> Fl_Image * deimage(); + const Fl_Image * deimage() const; </pre></td> <td><pre> @@ -446,6 +502,7 @@ function Get_Inactive_Image <tr> <td><pre> void deimage(Fl_Image *img); + void deimage(Fl_Image &img); </pre></td> <td><pre> @@ -468,15 +525,14 @@ procedure Do_Callback <tr> <td><pre> void do_callback(Fl_Widget *o, long arg); -</pre></td> -<td> </td> - </tr> - <tr> -<td><pre> void do_callback(Fl_Widget *o, void *arg=0); </pre></td> -<td> </td> +<td><pre> +procedure Do_Callback + (This : in Widget; + Using : in out Widget); +</pre></td> </tr> <tr> @@ -485,7 +541,7 @@ virtual void draw()=0; </pre></td> <td><pre> procedure Draw - (This : in out Widget) is null; + (This : in out Widget); </pre></td> </tr> @@ -495,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> @@ -528,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> @@ -546,6 +606,7 @@ function Get_Image <tr> <td><pre> void image(Fl_Image *img); + void image(Fl_Image &img); </pre></td> <td><pre> @@ -571,7 +632,8 @@ function Inside <td><pre> int is_label_copied() const; </pre></td> -<td> </td> +<td>Due to the marshalling between String and char * this +would always return true, so left unbound.</td> </tr> <tr> @@ -589,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> </td> +<td><pre> +procedure Set_Label + (This : in out Widget; + Kind : in Label_Kind; + Text : in String); +</pre></td> </tr> <tr> @@ -670,7 +739,7 @@ procedure Set_Label_Size Fl_Labeltype labeltype() const; </pre></td> <td><pre> -function Get_Label_Type +function Get_Label_Kind (This : in Widget) return Label_Kind; </pre></td> @@ -681,7 +750,7 @@ function Get_Label_Type void labeltype(Fl_Labeltype a); </pre></td> <td><pre> -procedure Set_Label_Type +procedure Set_Label_Kind (This : in out Widget; Label : in Label_Kind); </pre></td> @@ -724,7 +793,7 @@ function Parent <td><pre> void parent(Fl_Group *p); </pre></td> -<td> </td> +<td>Marked as internal use only.</td> </tr> <tr> @@ -762,7 +831,11 @@ procedure Redraw_Label <td><pre> virtual void resize(int x, int y, int w, int h); </pre></td> -<td> </td> +<td><pre> +procedure Resize + (This : in out Widget; + X, Y, W, H : in Integer); +</pre></td> </tr> <tr> @@ -791,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> </td> +<td><pre> +procedure Show + (This : in out Widget); +</pre></td> </tr> <tr> @@ -866,7 +957,7 @@ function Takes_Events <td><pre> int test_shortcut(); </pre></td> -<td> </td> +<td>Marked as internal use only.</td> </tr> <tr> @@ -884,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> @@ -904,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> @@ -914,35 +1007,41 @@ function Top_Window_Offset <td><pre> uchar type() const; </pre></td> -<td> </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> </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> </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> </td> +<td>Used internally by the binding.</td> </tr> <tr> <td><pre> void user_data(void *v); </pre></td> -<td> </td> +<td>Used internally by the binding.</td> </tr> <tr> @@ -960,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> @@ -1054,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 a1a5bb8..4f246b3 100644 --- a/doc/fl_window.html +++ b/doc/fl_window.html @@ -1,4 +1,3 @@ - <!DOCTYPE html> <html lang="en"> @@ -14,6 +13,9 @@ <h2>Fl_Window Binding Map</h2> +<a href="index.html">Back to Index</a> + + <table class="package"> <tr><th colspan="2">Package name</th></tr> @@ -41,17 +43,35 @@ <tr> <td> </td> - <td>Border_State</td> + <td>Modal_State</td> </tr> +</table> + + + +<table class="function"> + <tr><th colspan="2">Static Protected Attributes</th></tr> + <tr> - <td> </td> - <td>Modal_State</td> +<td><pre> +static Fl_Window * current_; +</pre></td> +<td>Intentionally left unbound.</td> </tr> +</table> + + + +<table class="function"> + <tr><th colspan="2">Protected Attributes</th></tr> + <tr> - <td> </td> - <td>Cursor</td> +<td><pre> +shape_data_type * shape_data_; +</pre></td> +<td>Intentionally left unbound.</td> </tr> </table> @@ -59,7 +79,7 @@ <table class="function"> - <tr><th colspan="2">Functions and Procedures</th></tr> + <tr><th colspan="2">Constructors</th></tr> <tr> <td><pre> @@ -68,7 +88,19 @@ Fl_Window(int w, int h, const char *title=0); <td><pre> function Create (W, H : in Integer; - Text : in String) + Text : in String := "") + return Window; +</pre></td> + </tr> + + <tr> +<td>Rely on the automatic use of begin when a group is created, or use begin/end +explicitly, or add each widget to its intended parent group manually.</td> +<td><pre> +function Create + (Parent : in out Groups.Group'Class; + W, H : in Integer; + Text : in String := "") return Window; </pre></td> </tr> @@ -80,72 +112,153 @@ Fl_Window(int x, int y, int w, int h, const char *title=0); <td><pre> function Create (X, Y, W, H : in Integer; - Text : in String) + Text : in String := "") return Window; </pre></td> </tr> <tr> +<td>Rely on the automatic use of begin when a group is created, or use begin/end +explicitly, or add each widget to its intended parent group manually.</td> <td><pre> -virtual Fl_Window * as_window(); +function Create + (Parent : in out Groups.Group'Class; + X, Y, W, H : in Integer; + Text : in String := "") + return Window; </pre></td> -<td>Use view conversion and tag membership tests instead</td> </tr> +</table> + + + +<table class="function"> + <tr><th colspan="2">Static Functions and Procedures</th></tr> + <tr> <td><pre> -void border(int b); +static Fl_Window * current(); </pre></td> <td><pre> -procedure Set_Border_State - (This : in out Window; - To : in Border_State); +function Last_Made_Current + return access Window'Class; </pre></td> </tr> <tr> <td><pre> +static void default_callback(Fl_Window *, void *v); +</pre></td> +<td>Back compatibility only, see default_atclose / Default_Window_Close in FLTK.</td> + </tr> + + <tr> +<td><pre> +static void default_icon(const Fl_RGB_Image *); +</pre></td> +<td><pre> +procedure Set_Default_Icon + (Pic : in FLTK.Images.RGB.RGB_Image'Class); +</pre></td> + </tr> + + <tr> +<td><pre> +static void default_icons(const Fl_RGB_Image *[], int); +</pre></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><pre> +function Get_Default_X_Class + return String; +</pre></td> + </tr> + + <tr> +<td><pre> +static void default_xclass(const char *); +</pre></td> +<td><pre> +procedure Set_Default_X_Class + (Value : in String); +</pre></td> + </tr> + +</table> + + + +<table class="function"> + <tr><th colspan="2">Functions and Procedures</th></tr> + + <tr> +<td><pre> +virtual Fl_Window * as_window(); +</pre></td> +<td>Use view conversion and tag membership tests instead.</td> + </tr> + + <tr> +<td><pre> unsigned int border() const; </pre></td> <td><pre> -function Get_Border_State +function Has_Border (This : in Window) - return Border_State; + return Boolean; </pre></td> </tr> <tr> <td><pre> -void clear_border(); +void border(int b); +</pre></td> +<td><pre> +procedure Set_Border + (This : in out Window; + Value : in Boolean := True); </pre></td> -<td> </td> </tr> <tr> <td><pre> -void clear_modal_states(); +void clear_border(); </pre></td> <td><pre> -procedure Set_Modal_State - (This : in out Window; - To : in Modal_State); +procedure Clear_Border + (This : in out Window); </pre></td> </tr> <tr> <td><pre> -void copy_label(const char *a); +void clear_modal_states(); +</pre></td> +<td><pre> +procedure Clear_Modal_State + (This : in out Window); </pre></td> -<td> </td> </tr> <tr> <td><pre> -static Fl_Window * current(); +void copy_label(const char *a); </pre></td> <td><pre> -function Last_Made_Current - return access Window'Class; +procedure Set_Label + (This : in out Window; + Text : in String); </pre></td> </tr> @@ -156,7 +269,7 @@ void cursor(Fl_Cursor); <td><pre> procedure Set_Cursor (This : in out Window; - To : in Cursor); + To : in Mouse_Cursor); </pre></td> </tr> @@ -167,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> @@ -176,7 +289,7 @@ procedure Set_Cursor <td><pre> void cursor(Fl_Cursor c, Fl_Color, Fl_Color=FL_WHITE); </pre></td> -<td> </td> +<td>Use cursor(Fl_Cursor) / Set_Cursor instead.</td> </tr> <tr> @@ -208,7 +321,7 @@ void default_cursor(Fl_Cursor); <td><pre> procedure Set_Default_Cursor (This : in out Window; - To : in Cursor); + To : in Mouse_Cursor); </pre></td> </tr> @@ -216,37 +329,14 @@ procedure Set_Default_Cursor <td><pre> void default_cursor(Fl_Cursor c, Fl_Color, Fl_Color=FL_WHITE); </pre></td> -<td> </td> - </tr> - - <tr> -<td><pre> -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); -</pre></td> - </tr> - - <tr> -<td><pre> -virtual void draw(); -</pre></td> -<td><pre> -procedure Draw - (This : in out Window); -</pre></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> @@ -339,6 +429,7 @@ procedure Hotspot <tr> <td><pre> void hotspot(const Fl_Widget *, int offscreen=0); + void hotspot(const Fl_Widget &p, int offscreen=0); </pre></td> <td><pre> @@ -356,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> @@ -364,14 +455,14 @@ procedure Set_Icon <td><pre> const void * icon() const; </pre></td> -<td> </td> +<td>Marked as deprecated.</td> </tr> <tr> <td><pre> void icon(const void *ic); </pre></td> -<td> </td> +<td>Marked as deprecated.</td> </tr> <tr> @@ -410,7 +501,14 @@ procedure Set_Icon_Label <td><pre> void icons(const Fl_RGB_Image *[], int); </pre></td> -<td> </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> @@ -428,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> </td> +<td><pre> +procedure Set_Labels + (This : in out Window; + Text, Icon_Text : in String); +</pre></td> </tr> <tr> @@ -456,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> @@ -464,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; @@ -474,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> @@ -492,28 +609,47 @@ function Is_Override <td><pre> virtual void resize(int X, int Y, int W, int H); </pre></td> -<td> </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> </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> @@ -530,18 +666,19 @@ procedure Set_Override <td><pre> void set_tooltip_window(); </pre></td> -<td> </td> +<td>Intended for internal use only.</td> </tr> <tr> <td><pre> void shape(const Fl_Image *img); + void shape(const Fl_Image &b); </pre></td> <td><pre> procedure Shape (This : in out Window; - Pic : in out FLTK.Images.Image'Class); + Pic : in FLTK.Images.Image'Class); </pre></td> </tr> @@ -559,7 +696,10 @@ procedure Show <td><pre> void show(int argc, char **argv); </pre></td> -<td> </td> +<td><pre> +procedure Show_With_Args + (This : in out Window); +</pre></td> </tr> <tr> @@ -575,7 +715,8 @@ function Is_Shown <tr> <td><pre> -void size_range(int minw, int minh, int maxw=0, int maxh=0, int dw=0, int dh=0, int aspect=0); +void size_range(int minw, int minh, int maxw=0, int maxh=0, + int dw=0, int dh=0, int aspect=0); </pre></td> <td><pre> procedure Set_Size_Range @@ -590,7 +731,11 @@ procedure Set_Size_Range <td><pre> unsigned int tooltip_window() const; </pre></td> -<td> </td> +<td><pre> +function Is_Tooltip_Window + (This : in Window) + return Boolean; +</pre></td> </tr> <tr> @@ -618,14 +763,22 @@ function Get_X_Root <td><pre> const char * xclass() const; </pre></td> -<td> </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> </td> +<td><pre> +procedure Set_X_Class + (This : in out Window; + Value : in String); +</pre></td> </tr> <tr> @@ -642,6 +795,62 @@ function Get_Y_Root </table> + +<table class="function"> + <tr><th colspan="2">Protected Functions and Procedures</th></tr> + + <tr> +<td><pre> +virtual void draw(); +</pre></td> +<td><pre> +procedure Draw + (This : in out Window); +</pre></td> + </tr> + + <tr> +<td><pre> +virtual void flush(); +</pre></td> +<td><pre> +procedure Flush + (This : in out Window); +</pre></td> + </tr> + + <tr> +<td><pre> +int force_position() const; +</pre></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><pre> +procedure Force_Position + (This : in out Window; + State : in Boolean := True); +</pre></td> + </tr> + + <tr> +<td><pre> +void free_icons(); +</pre></td> +<td>Intentionally left unbound.</td> + </tr> + +</table> + + </body> </html> diff --git a/doc/fl_wizard.html b/doc/fl_wizard.html index 313924a..c7295fd 100644 --- a/doc/fl_wizard.html +++ b/doc/fl_wizard.html @@ -1,4 +1,3 @@ - <!DOCTYPE html> <html lang="en"> @@ -14,6 +13,9 @@ <h2>Fl_Wizard Binding Map</h2> +<a href="index.html">Back to Index</a> + + <table class="package"> <tr><th colspan="2">Package name</th></tr> @@ -44,7 +46,7 @@ <table class="function"> - <tr><th colspan="2">Functions and Procedures</th></tr> + <tr><th colspan="2">Constructors</th></tr> <tr> <td><pre> @@ -53,28 +55,29 @@ Fl_Wizard(int, int, int, int, const char *=0); <td><pre> function Create (X, Y, W, H : in Integer; - Text : in String) + Text : in String := "") return Wizard; </pre></td> </tr> <tr> -<td> </td> +<td>Rely on the automatic use of begin when a group is created, or use begin/end +explicitly, or add each widget to its intended parent group manually.</td> <td><pre> -procedure Draw - (This : in out Wizard); +function Create + (Parent : in out Groups.Group'Class; + X, Y, W, H : in Integer; + Text : in String := "") + return Wizard; </pre></td> </tr> - <tr> -<td> </td> -<td><pre> -function Handle - (This : in out Wizard; - Event : in Event_Kind) - return Event_Outcome; -</pre></td> - </tr> +</table> + + + +<table class="function"> + <tr><th colspan="2">Functions and Procedures</th></tr> <tr> <td><pre> @@ -121,6 +124,23 @@ procedure Set_Visible </table> + +<table class="function"> + <tr><th colspan="2">Protected Functions and Procedures</th></tr> + + <tr> +<td><pre> +void draw(); +</pre>(Actually private in 1.3)</td> +<td><pre> +procedure Draw + (This : in out Wizard); +</pre></td> + </tr> + +</table> + + </body> </html> diff --git a/doc/fl_xbm_image.html b/doc/fl_xbm_image.html index cfa3b68..406f4a9 100644 --- a/doc/fl_xbm_image.html +++ b/doc/fl_xbm_image.html @@ -1,4 +1,3 @@ - <!DOCTYPE html> <html lang="en"> @@ -14,6 +13,9 @@ <h2>Fl_XBM_Image Binding Map</h2> +<a href="index.html">Back to Index</a> + + <table class="package"> <tr><th colspan="2">Package name</th></tr> @@ -44,7 +46,7 @@ <table class="function"> - <tr><th colspan="2">Functions and Procedures</th></tr> + <tr><th colspan="2">Constructors</th></tr> <tr> <td><pre> diff --git a/doc/fl_xpm_image.html b/doc/fl_xpm_image.html index 72e95b4..827fa89 100644 --- a/doc/fl_xpm_image.html +++ b/doc/fl_xpm_image.html @@ -1,4 +1,3 @@ - <!DOCTYPE html> <html lang="en"> @@ -14,6 +13,9 @@ <h2>Fl_XPM_Image Binding Map</h2> +<a href="index.html">Back to Index</a> + + <table class="package"> <tr><th colspan="2">Package name</th></tr> @@ -44,7 +46,7 @@ <table class="function"> - <tr><th colspan="2">Functions and Procedures</th></tr> + <tr><th colspan="2">Constructors</th></tr> <tr> <td><pre> diff --git a/doc/index.html b/doc/index.html index e3c4f0a..af2faf1 100644 --- a/doc/index.html +++ b/doc/index.html @@ -1,34 +1,39 @@ - <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> - <title>Binding Map Index</title> + <title>FLTK Ada Binding Map Index</title> <link href="map.css" rel="stylesheet"> </head> <body> -<h2>Binding Map Index</h2> +<h2>FLTK Ada Binding Map Index</h2> -<h4>List of C++ classes</h4> +<h4>List of C++ headers</h4> <ul> + <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="common_dialogs.html">Fl_Ask</a></li> + <li><a href="fl_ask.html">Fl_Ask</a></li> <li><a href="fl_bitmap.html">Fl_Bitmap</a></li> <li><a href="fl_bmp_image.html">Fl_BMP_Image</a></li> <li><a href="fl_box.html">Fl_Box</a></li> - <li>Fl_Browser</li> - <li>Fl_Browser_</li> + <li><a href="fl_browser.html">Fl_Browser</a></li> + <li><a href="fl_browser_.html">Fl_Browser_</a></li> <li><a href="fl_button.html">Fl_Button</a></li> - <li>Fl_Cairo_Window</li> + <li><a href="fl_cairo_window.html">Fl_Cairo_Window</a></li> <li><a href="fl_chart.html">Fl_Chart</a></li> - <li>Fl_Check_Browser</li> + <li><a href="fl_check_browser.html">Fl_Check_Browser</a></li> <li><a href="fl_check_button.html">Fl_Check_Button</a></li> <li><a href="fl_choice.html">Fl_Choice</a></li> <li><a href="fl_clock.html">Fl_Clock</a></li> @@ -38,22 +43,25 @@ <li><a href="fl_counter.html">Fl_Counter</a></li> <li><a href="fl_device.html">Fl_Device</a></li> <li><a href="fl_dial.html">Fl_Dial</a></li> - <li>Fl_Display_Device</li> + <li><a href="fl_display_device.html">Fl_Display_Device</a></li> <li><a href="fl_double_window.html">Fl_Double_Window</a></li> - <li>Fl_File_Browser</li> - <li>Fl_File_Chooser</li> + <li><a href="fl_draw.html">Fl_Draw</a></li> + <li><a href="fl_file_browser.html">Fl_File_Browser</a></li> + <li><a href="fl_file_chooser.html">Fl_File_Chooser</a></li> <li><a href="fl_file_input.html">Fl_File_Input</a></li> <li><a href="fl_fill_dial.html">Fl_Fill_Dial</a></li> <li><a href="fl_fill_slider.html">Fl_Fill_Slider</a></li> <li><a href="fl_float_input.html">Fl_Float_Input</a></li> + <li>Fl_GDI_Graphics_Driver</li> + <li>Fl_GDI_Printer_Graphics_Driver</li> <li><a href="fl_gif_image.html">Fl_GIF_Image</a></li> - <li>Fl_Gl_Window</li> + <li><a href="fl_gl_window.html">Fl_Gl_Window</a></li> <li>Fl_Glut_Window</li> <li><a href="fl_graphics_driver.html">Fl_Graphics_Driver</a></li> <li><a href="fl_group.html">Fl_Group</a></li> - <li>Fl_Help_Dialog</li> - <li>Fl_Help_View</li> - <li>Fl_Hold_Browser</li> + <li><a href="fl_help_dialog.html">Fl_Help_Dialog</a></li> + <li><a href="fl_help_view.html">Fl_Help_View</a></li> + <li><a href="fl_hold_browser.html">Fl_Hold_Browser</a></li> <li><a href="fl_hor_fill_slider.html">Fl_Hor_Fill_Slider</a></li> <li><a href="fl_hor_nice_slider.html">Fl_Hor_Nice_Slider</a></li> <li><a href="fl_hor_slider.html">Fl_Hor_Slider</a></li> @@ -61,11 +69,11 @@ <li><a href="fl_image.html">Fl_Image</a></li> <li><a href="fl_image_surface.html">Fl_Image_Surface</a></li> <li><a href="fl_input.html">Fl_Input</a></li> - <li><a href="fl_input.html">Fl_Input_</a></li> + <li><a href="fl_input_.html">Fl_Input_</a></li> <li><a href="fl_input_choice.html">Fl_Input_Choice</a></li> <li><a href="fl_int_input.html">Fl_Int_Input</a></li> <li><a href="fl_jpeg_image.html">Fl_JPEG_Image</a></li> - <li>Fl_Label</li> + <li><a href="fl_label.html">Fl_Label</a></li> <li><a href="fl_light_button.html">Fl_Light_Button</a></li> <li><a href="fl_line_dial.html">Fl_Line_Dial</a></li> <li><a href="fl_menu_.html">Fl_Menu_</a></li> @@ -73,21 +81,24 @@ <li><a href="fl_menu_button.html">Fl_Menu_Button</a></li> <li><a href="fl_menu_item.html">Fl_Menu_Item</a></li> <li><a href="fl_menu_window.html">Fl_Menu_Window</a></li> - <li>Fl_Multi_Browser</li> + <li><a href="fl_multi_browser.html">Fl_Multi_Browser</a></li> <li><a href="fl_multiline_input.html">Fl_Multiline_Input</a></li> <li><a href="fl_multiline_output.html">Fl_Multiline_Output</a></li> <li><a href="fl_nice_slider.html">Fl_Nice_Slider</a></li> <li><a href="fl_output.html">Fl_Output</a></li> - <li>Fl_Overlay_Window</li> + <li><a href="fl_overlay_window.html">Fl_Overlay_Window</a></li> <li><a href="fl_pack.html">Fl_Pack</a></li> <li><a href="fl_paged_device.html">Fl_Paged_Device</a></li> <li><a href="fl_pixmap.html">Fl_Pixmap</a></li> <li><a href="fl_png_image.html">Fl_PNG_Image</a></li> <li><a href="fl_pnm_image.html">Fl_PNM_Image</a></li> - <li>Fl_Postscript_File_Device</li> + <li><a href="fl_positioner.html">Fl_Positioner</a></li> + <li><a href="fl_postscript_file_device.html">Fl_PostScript_File_Device</a></li> + <li>Fl_PostScript_Graphics_Driver</li> <li><a href="fl_preferences.html">Fl_Preferences</a></li> <li><a href="fl_printer.html">Fl_Printer</a></li> <li><a href="fl_progress.html">Fl_Progress</a></li> + <li>Fl_Quartz_Graphics_Driver</li> <li><a href="fl_radio_button.html">Fl_Radio_Button</a></li> <li><a href="fl_radio_light_button.html">Fl_Radio_Light_Button</a></li> <li><a href="fl_radio_round_button.html">Fl_Radio_Round_Button</a></li> @@ -100,21 +111,22 @@ <li><a href="fl_scroll.html">Fl_Scroll</a></li> <li><a href="fl_scrollbar.html">Fl_Scrollbar</a></li> <li><a href="fl_secret_input.html">Fl_Secret_Input</a></li> - <li>Fl_Select_Browser</li> + <li><a href="fl_select_browser.html">Fl_Select_Browser</a></li> <li><a href="fl_shared_image.html">Fl_Shared_Image</a></li> <li><a href="fl_simple_counter.html">Fl_Simple_Counter</a></li> <li><a href="fl_single_window.html">Fl_Single_Window</a></li> <li><a href="fl_slider.html">Fl_Slider</a></li> <li><a href="fl_spinner.html">Fl_Spinner</a></li> <li><a href="fl_surface_device.html">Fl_Surface_Device</a></li> - <li>Fl_Table</li> - <li>Fl_Table_Row</li> + <li><a href="fl_sys_menu_bar.html">Fl_Sys_Menu_Bar</a></li> + <li><a href="fl_table.html">Fl_Table</a></li> + <li><a href="fl_table_row.html">Fl_Table_Row</a></li> <li><a href="fl_tabs.html">Fl_Tabs</a></li> <li><a href="fl_text_buffer.html">Fl_Text_Buffer</a></li> <li><a href="fl_text_display.html">Fl_Text_Display</a></li> <li><a href="fl_text_editor.html">Fl_Text_Editor</a></li> <li><a href="fl_tile.html">Fl_Tile</a></li> - <li>Fl_Tiled_Image</li> + <li><a href="fl_tiled_image.html">Fl_Tiled_Image</a></li> <li><a href="fl_toggle_button.html">Fl_Toggle_Button</a></li> <li><a href="fl_tooltip.html">Fl_Tooltip</a></li> <li>Fl_Tree</li> @@ -126,6 +138,7 @@ <li><a href="fl_window.html">Fl_Window</a></li> <li><a href="fl_wizard.html">Fl_Wizard</a></li> <li><a href="fl_xbm_image.html">Fl_XBM_Image</a></li> + <li>Fl_Xlib_Graphics_Driver</li> <li><a href="fl_xpm_image.html">Fl_XPM_Image</a></li> </ul> @@ -134,16 +147,24 @@ <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> - <li><a href="fl_surface_device.html">FLTK.Devices.Surfaces</a></li> - <li><a href="fl_copy_surface.html">FLTK.Devices.Surfaces.Copy</a></li> - <li><a href="fl_image_surface.html">FLTK.Devices.Surfaces.Image</a></li> - <li><a href="fl_paged_device.html">FLTK.Devices.Surfaces.Paged</a></li> - <li><a href="fl_printer.html">FLTK.Devices.Surfaces.Paged.Printers</a></li> - <li><a href="common_dialogs.html">FLTK.Dialogs</a></li> + <li><a href="fl_surface_device.html">FLTK.Devices.Surface</a></li> + <li><a href="fl_copy_surface.html">FLTK.Devices.Surface.Copy</a></li> + <li><a href="fl_display_device.html">FLTK.Devices.Surface.Display</a></li> + <li><a href="fl_image_surface.html">FLTK.Devices.Surface.Image</a></li> + <li><a href="fl_paged_device.html">FLTK.Devices.Surface.Paged</a></li> + <li><a href="fl_postscript_file_device.html">FLTK.Devices.Surface.Paged.Postscript</a></li> + <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.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> <li><a href="fl_image.html">FLTK.Images</a></li> <li><a href="fl_bitmap.html">FLTK.Images.Bitmaps</a></li> <li><a href="fl_xbm_image.html">FLTK.Images.Bitmaps.XBM</a></li> @@ -156,9 +177,11 @@ <li><a href="fl_png_image.html">FLTK.Images.RGB.PNG</a></li> <li><a href="fl_pnm_image.html">FLTK.Images.RGB.PNM</a></li> <li><a href="fl_shared_image.html">FLTK.Images.Shared</a></li> + <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> @@ -178,32 +201,48 @@ <li><a href="fl_clock.html">FLTK.Widgets.Clocks.Updated</a></li> <li><a href="fl_round_clock.html">FLTK.Widgets.Clocks.Updated.Round</a></li> <li><a href="fl_group.html">FLTK.Widgets.Groups</a></li> + <li><a href="fl_browser_.html">FLTK.Widgets.Groups.Browsers</a></li> + <li><a href="fl_check_browser.html">FLTK.Widgets.Groups.Browsers.Check</a></li> + <li><a href="fl_browser.html">FLTK.Widgets.Groups.Browsers.Textline</a></li> + <li><a href="fl_select_browser.html">FLTK.Widgets.Groups.Browsers.Textline.Choice</a></li> + <li><a href="fl_file_browser.html">FLTK.Widgets.Groups.Browsers.Textline.File</a></li> + <li><a href="fl_hold_browser.html">FLTK.Widgets.Groups.Browsers.Textline.Hold</a></li> + <li><a href="fl_multi_browser.html">FLTK.Widgets.Groups.Browsers.Textline.Multi</a></li> <li><a href="fl_color_chooser.html">FLTK.Widgets.Groups.Color_Choosers</a></li> + <li><a href="fl_help_view.html">FLTK.Widgets.Groups.Help_Views</a></li> <li><a href="fl_input_choice.html">FLTK.Widgets.Groups.Input_Choices</a></li> <li><a href="fl_pack.html">FLTK.Widgets.Groups.Packed</a></li> <li><a href="fl_scroll.html">FLTK.Widgets.Groups.Scrolls</a></li> <li><a href="fl_spinner.html">FLTK.Widgets.Groups.Spinners</a></li> <li><a href="fl_tabs.html">FLTK.Widgets.Groups.Tabbed</a></li> + <li><a href="fl_table.html">FLTK.Widgets.Groups.Tables</a></li> + <li><a href="fl_table_row.html">FLTK.Widgets.Groups.Tables.Row</a></li> <li><a href="fl_text_display.html">FLTK.Widgets.Groups.Text_Displays</a></li> <li><a href="fl_text_editor.html">FLTK.Widgets.Groups.Text_Displays.Text_Editors</a></li> <li><a href="fl_tile.html">FLTK.Widgets.Groups.Tiled</a></li> <li><a href="fl_window.html">FLTK.Widgets.Groups.Windows</a></li> <li><a href="fl_double_window.html">FLTK.Widgets.Groups.Windows.Double</a></li> + <li><a href="fl_cairo_window.html">FLTK.Widgets.Groups.Windows.Double.Cairo</a></li> + <li><a href="fl_overlay_window.html">FLTK.Widgets.Groups.Windows.Double.Overlay</a></li> + <li><a href="fl_gl_window.html">FLTK.Widgets.Groups.Windows.OpenGL</a></li> <li><a href="fl_single_window.html">FLTK.Widgets.Groups.Windows.Single</a></li> <li><a href="fl_menu_window.html">FLTK.Widgets.Groups.Windows.Single.Menu</a></li> <li><a href="fl_wizard.html">FLTK.Widgets.Groups.Wizards</a></li> - <li><a href="fl_input.html">FLTK.Widgets.Inputs</a></li> - <li><a href="fl_file_input.html">FLTK.Widgets.Inputs.File</a></li> - <li><a href="fl_float_input.html">FLTK.Widgets.Inputs.Float</a></li> - <li><a href="fl_int_input.html">FLTK.Widgets.Inputs.Integer</a></li> - <li><a href="fl_multiline_input.html">FLTK.Widgets.Inputs.Multiline</a></li> - <li><a href="fl_output.html">FLTK.Widgets.Inputs.Outputs</a></li> - <li><a href="fl_multiline_output.html">FLTK.Widgets.Inputs.Outputs.Multiline</a></li> - <li><a href="fl_secret_input.html">FLTK.Widgets.Inputs.Secret</a></li> + <li><a href="fl_input_.html">FLTK.Widgets.Inputs</a></li> + <li><a href="fl_input.html">FLTK.Widgets.Inputs.Text</a></li> + <li><a href="fl_file_input.html">FLTK.Widgets.Inputs.Text.File</a></li> + <li><a href="fl_float_input.html">FLTK.Widgets.Inputs.Text.Floating_Point</a></li> + <li><a href="fl_multiline_input.html">FLTK.Widgets.Inputs.Text.Multiline</a></li> + <li><a href="fl_output.html">FLTK.Widgets.Inputs.Text.Outputs</a></li> + <li><a href="fl_multiline_output.html">FLTK.Widgets.Inputs.Text.Outputs.Multiline</a></li> + <li><a href="fl_secret_input.html">FLTK.Widgets.Inputs.Text.Secret</a></li> + <li><a href="fl_int_input.html">FLTK.Widgets.Inputs.Text.Whole_Number</a></li> <li><a href="fl_menu_.html">FLTK.Widgets.Menus</a></li> <li><a href="fl_choice.html">FLTK.Widgets.Menus.Choices</a></li> <li><a href="fl_menu_bar.html">FLTK.Widgets.Menus.Menu_Bars</a></li> + <li><a href="fl_sys_menu_bar.html">FLTK.Widgets.Menus.Menu_Bars.Systemwide</a></li> <li><a href="fl_menu_button.html">FLTK.Widgets.Menus.Menu_Buttons</a></li> + <li><a href="fl_positioner.html">FLTK.Widgets.Positioners</a></li> <li><a href="fl_progress.html">FLTK.Widgets.Progress_Bars</a></li> <li><a href="fl_valuator.html">FLTK.Widgets.Valuators</a></li> <li><a href="fl_adjuster.html">FLTK.Widgets.Valuators.Adjusters</a></li> @@ -215,9 +254,9 @@ <li><a href="fl_roller.html">FLTK.Widgets.Valuators.Rollers</a></li> <li><a href="fl_slider.html">FLTK.Widgets.Valuators.Sliders</a></li> <li><a href="fl_fill_slider.html">FLTK.Widgets.Valuators.Sliders.Fill</a></li> - <li><a href="fl_hor_fill_slider.html">FLTK.Widgets.Valuators.Sliders.Hor_Fill</a></li> - <li><a href="fl_hor_nice_slider.html">FLTK.Widgets.Valuators.Sliders.Hor_Nice</a></li> <li><a href="fl_hor_slider.html">FLTK.Widgets.Valuators.Sliders.Horizontal</a></li> + <li><a href="fl_hor_fill_slider.html">FLTK.Widgets.Valuators.Sliders.Horizontal_Fill</a></li> + <li><a href="fl_hor_nice_slider.html">FLTK.Widgets.Valuators.Sliders.Horizontal_Nice</a></li> <li><a href="fl_nice_slider.html">FLTK.Widgets.Valuators.Sliders.Nice</a></li> <li><a href="fl_scrollbar.html">FLTK.Widgets.Valuators.Sliders.Scrollbars</a></li> <li><a href="fl_value_slider.html">FLTK.Widgets.Valuators.Sliders.Value</a></li> |