From e4731d3f1a81a363faff89792064438efce05d1e Mon Sep 17 00:00:00 2001
From: Michael R Sweet After including the required header files, the program then creates a
window:Methods
-
-
-
+Fl_Text_Buffer
- ~Fl_Text_Buffer
- add_modify_callback
- append
- appendfile
- call_modify_callbacks
- character
- character_width
- clear_rectangular
- copy
- count_displayed_characters
- count_lines
- expand_character
- findchar_backward
- findchar_forward
- findchars_backward
- findchars_forward
- highlight
- highlight_position
- highlight_rectangular
- highlight_selection
- highlight_text
- insert_column
- insertfile
- insert
- length
- line_end
- line_start
- line_text
- loadfile
- null_substitution_character
- outputfile
- overlay_rectangular
- primary_selection
- remove_modify_callback
- remove_rectangular
- remove
- remove_secondary_selection
- remove_selection
- replace_rectangular
- replace
- replace_secondary_selection
- replace_selection
- rewind_lines
- savefile
- search_backward
- search_forward
- secondary_selection_position
- secondary_selection
- secondary_selection_text
- secondary_select_rectangular
- secondary_select
- secondary_unselect
- selected
- selection_position
- selection_text
- select_rectangular
- select
- skip_displayed_characters
- skip_lines
- substitute_null_characters
- tab_distance
- text_in_rectangle
- text_range
- text
- unhighlight
- unselect
- unsubstitute_null_characters
- word_end
- word_start
-
-Fl_Text_Buffer(int requestedSize = 0);
diff --git a/documentation/Fl_Text_Display.html b/documentation/Fl_Text_Display.html
index 8d17db109..d16677583 100644
--- a/documentation/Fl_Text_Display.html
+++ b/documentation/Fl_Text_Display.html
@@ -37,7 +37,8 @@ class.
Methods
-
+
+
+
+
+
+Fl_Text_Display(int X, int Y, int W, int H, const char *l = 0);
diff --git a/documentation/Fl_Text_Editor.html b/documentation/Fl_Text_Editor.html
index a5060e972..fce4915f5 100644
--- a/documentation/Fl_Text_Editor.html
+++ b/documentation/Fl_Text_Editor.html
@@ -35,7 +35,8 @@ class.
Methods
-
+
+
+
+
+
+
+Fl_Text_Editor(int X, int Y, int W, int H, const char* l = 0);
diff --git a/documentation/basics.html b/documentation/basics.html
index 10a6b58d0..7958cc113 100644
--- a/documentation/basics.html
+++ b/documentation/basics.html
@@ -33,6 +33,8 @@ int main(int argc, char **argv) {
}
Almost all of the set/get pairs are very fast, short inline -functions and thus very efficient. However, the "set" -methods do not call redraw() - you have to call it -yourself. This greatly reduces code size and execution time. -The only common exception is value() which calls -redraw() if necessary.
+functions and thus very efficient. However, the "set" methods +do not call redraw() - you have to call it +yourself. This greatly reduces code size and execution time. The +only common exceptions are value() which calls +redraw() and label() which calls +redraw_label() if necessary.The forms, GL, and images libraries are included with the "--use-foo" +options, as follows: + +
+CC ... `fltk-config --use-forms --ldflags` +CC ... `fltk-config --use-gl --ldflags` +CC ... `fltk-config --use-images --ldflags` +CC ... `fltk-config --use-forms --use-gl --use-images --ldflags` ++
Finally, you can use the fltk-config script to compile a single source file as a FLTK program:
fltk-config --compile filename.cpp +fltk-config --use-forms --compile filename.cpp +fltk-config --use-gl --compile filename.cpp +fltk-config --use-images --compile filename.cpp +fltk-config --use-forms --use-gl --use-images --compile filename.cpp-
This will create an executable named filename. +
Any of these will create an executable named filename.
The proper way to include FLTK header files is:
@@ -296,16 +317,24 @@ better and can be used with the "optimized for speed" setting. #include <FL/Fl_xyz.H> -Microsoft Windows developers please note: case *is* -significant under other operating systems, and the C standard -uses the forward slash (/) to separate directories. Do not -use any of the following include lines:
+| Note:
+
+ Case is significant on many operating systems, + and the C standard uses the forward slash (/) to + separate directories. Do not use any of the following + include lines: --#include <FL\Fl_xyz.H> -#include <fl/fl_xyz.h> -#include <Fl/fl_xyz.h> -+ + #include <FL\Fl_xyz.H> + #include <fl/fl_xyz.h> + #include <Fl/fl_xyz.h> ++ + |
+