From ac18bf760907d148490594a1a38dfa311978fcef Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Thu, 17 May 2007 15:52:15 +0000 Subject: Replaced '>' with '>' in the documentation where appropriate (STR# 1682, 1684, 1685) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@5838 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- documentation/Fl.html | 10 ++--- documentation/Fl_File_Browser.html | 2 +- documentation/Fl_File_Chooser.html | 2 +- documentation/Fl_File_Icon.html | 2 +- documentation/Fl_Group.html | 2 +- documentation/basics.html | 2 +- documentation/common.html | 6 +-- documentation/drawing.html | 4 +- documentation/editor.html | 90 +++++++++++++++++++------------------- documentation/enumerations.html | 2 +- documentation/fluid.html | 2 +- documentation/migration.html | 6 +-- documentation/osissues.html | 2 +- 13 files changed, 66 insertions(+), 66 deletions(-) (limited to 'documentation') diff --git a/documentation/Fl.html b/documentation/Fl.html index 30bc498a0..f7f64e81b 100644 --- a/documentation/Fl.html +++ b/documentation/Fl.html @@ -169,7 +169,7 @@ void callback(void*) { if (!state_changed) return; state_changed = false; do_expensive_calculation(); - widget->redraw(); + widget->redraw(); } main() { @@ -472,10 +472,10 @@ respectively.

An example to compute the area inside a widget's box():

-      int X = yourwidget->x() + Fl::box_dx(yourwidget->box());
-      int Y = yourwidget->y() + Fl::box_dy(yourwidget->box());
-      int W = yourwidget->w() - Fl::box_dw(yourwidget->box());
-      int H = yourwidget->h() - Fl::box_dh(yourwidget->box());
+      int X = yourwidget->x() + Fl::box_dx(yourwidget->box());
+      int Y = yourwidget->y() + Fl::box_dy(yourwidget->box());
+      int W = yourwidget->w() - Fl::box_dw(yourwidget->box());
+      int H = yourwidget->h() - Fl::box_dh(yourwidget->box());
 

These functions are mainly useful in the draw() code for deriving custom widgets, where one wants to avoid drawing diff --git a/documentation/Fl_File_Browser.html b/documentation/Fl_File_Browser.html index b23c6cf87..c53352d4d 100644 --- a/documentation/Fl_File_Browser.html +++ b/documentation/Fl_File_Browser.html @@ -20,7 +20,7 @@

Include Files

Description

diff --git a/documentation/Fl_File_Chooser.html b/documentation/Fl_File_Chooser.html index 62f648a2b..1b0e09d44 100644 --- a/documentation/Fl_File_Chooser.html +++ b/documentation/Fl_File_Chooser.html @@ -18,7 +18,7 @@

Include Files

Description

diff --git a/documentation/Fl_File_Icon.html b/documentation/Fl_File_Icon.html index 132200eb2..53b7ff8f6 100644 --- a/documentation/Fl_File_Icon.html +++ b/documentation/Fl_File_Icon.html @@ -18,7 +18,7 @@

Include Files

Description

diff --git a/documentation/Fl_Group.html b/documentation/Fl_Group.html index 14a0aedc2..ac19bb771 100644 --- a/documentation/Fl_Group.html +++ b/documentation/Fl_Group.html @@ -128,7 +128,7 @@ memory.

static Fl_Group *Fl_Group::current()
static void Fl_Group::current(Fl_Group *w)

current() returns the currently active group. The Fl_Widget - constructor automatically does current()->add(widget) if this is not null. + constructor automatically does current()->add(widget) if this is not null. To prevent new widgets from being added to a group, call Fl_Group::current(0).

void Fl_Group::begin()

begin() sets the current group so you can build the widget diff --git a/documentation/basics.html b/documentation/basics.html index e1e0d7453..94d0c2031 100644 --- a/documentation/basics.html +++ b/documentation/basics.html @@ -111,7 +111,7 @@ the widget. You can learn more about boxtypes in Chapter 3.

You could examine the boxtype in by doing -box->box(). FLTK uses method name overloading to make +box->box(). FLTK uses method name overloading to make short names for get/set methods. A "set" method is always of the form "void name(type)", and a "get" method is always of the form "type name() const".

diff --git a/documentation/common.html b/documentation/common.html index 18fbc22c5..6462bc24f 100644 --- a/documentation/common.html +++ b/documentation/common.html @@ -406,7 +406,7 @@ sign. Figure 3-4 shows the available symbols.

Thus, to show a very large arrow pointing downward you would use the -label string "@+92->". +label string "@+92->".

align()

@@ -635,13 +635,13 @@ button->when(FL_WHEN_CHANGED | FL_WHEN_NOT_CHANGED);
 class Foo {
   void my_callback(Fl_Widget *w);
-  static void my_static_callback(Fl_Widget *w, void *f) { ((Foo *)f)->my_callback(w); }
+  static void my_static_callback(Fl_Widget *w, void *f) { ((Foo *)f)->my_callback(w); }
   ...
 }
 
 ...
 
-w->callback(my_static_callback, (void *)this);
+w->callback(my_static_callback, (void *)this);
 
diff --git a/documentation/drawing.html b/documentation/drawing.html index f734ce34a..f003e5a43 100644 --- a/documentation/drawing.html +++ b/documentation/drawing.html @@ -659,7 +659,7 @@ Without the conversion call, the label on OS X would read Fahrvergn¸gen with a deformed umlaut u.
   btn = new Fl_Button(10, 10, 300, 25);
-  btn->copy_label(fl_latin1_to_local("Fahrvergnügen"));
+  btn->copy_label(fl_latin1_to_local("Fahrvergnügen"));
 

If your application uses characters that are not part of both @@ -933,7 +933,7 @@ image, and this area is left unchanged.

void draw(int x, int y)

Draws the image with the upper-left corner at x,y. -This is the same as doing draw(x,y,img->w(),img->h(),0,0). +This is the same as doing draw(x,y,img->w(),img->h(),0,0).

Offscreen Drawing

diff --git a/documentation/editor.html b/documentation/editor.html index 587c4cda6..c2dc39ad3 100644 --- a/documentation/editor.html +++ b/documentation/editor.html @@ -123,22 +123,22 @@ m->copy(menuitems); widget to edit the text:

So that we can keep track of changes to the file, we also want to add a "modify" callback:

Finally, we want to use a mono-spaced font like FL_COURIER:

The Replace Dialog

@@ -181,7 +181,7 @@ void changed_cb(int, int nInserted, int nDeleted,int, const char*, void* v) { if ((nInserted || nDeleted) && !loading) changed = 1; EditorWindow *w = (EditorWindow *)v; set_title(w); - if (loading) w->editor->show_insert_position(); + if (loading) w->editor->show_insert_position(); } @@ -199,7 +199,7 @@ to copy the currently selected text to the clipboard:

@@ -212,7 +212,7 @@ to cut the currently selected text to the clipboard:

@@ -224,7 +224,7 @@ to delete the currently selected text to the clipboard:

@@ -240,10 +240,10 @@ void find_cb(Fl_Widget* w, void* v) { EditorWindow* e = (EditorWindow*)v; const char *val; - val = fl_input("Search String:", e->search); + val = fl_input("Search String:", e->search); if (val != NULL) { // User entered a string - go find it! - strcpy(e->search, val); + strcpy(e->search, val); find2_cb(w, v); } @@ -257,21 +257,21 @@ search dialog: @@ -289,10 +289,10 @@ void new_cb(Fl_Widget*, void*) { if (!check_save()) return; filename[0] = '\0'; - textbuf->select(0, textbuf->length()); - textbuf->remove_selection(); + textbuf->select(0, textbuf->length()); + textbuf->remove_selection(); changed = 0; - textbuf->call_modify_callbacks(); + textbuf->call_modify_callbacks(); } @@ -323,7 +323,7 @@ to paste the clipboard at the current position:

@@ -569,7 +569,7 @@ void set_title(Fl_Window* w) { if (changed) strcat(title, " (modified)"); - w->label(title); + w->label(title); } @@ -587,9 +587,9 @@ int main(int argc, char **argv) { Fl_Window* window = new_view(); - window->show(1, argv); + window->show(1, argv); - if (argc > 1) load_file(argv[1], -1); + if (argc > 1) load_file(argv[1], -1); return Fl::run(); } @@ -642,7 +642,7 @@ size of the text that is drawn.

Styles are defined using the Fl_Text_Display::Style_Table_Entry structure -defined in <FL/Fl_Text_Display.H>: +defined in <FL/Fl_Text_Display.H>:

diff --git a/documentation/fluid.html b/documentation/fluid.html index 2b0aa708c..2cb7a2508 100644 --- a/documentation/fluid.html +++ b/documentation/fluid.html @@ -427,7 +427,7 @@ field of the widget panel. For example, the callback for the ypan slider is: diff --git a/documentation/migration.html b/documentation/migration.html index a74347c08..1f940044e 100644 --- a/documentation/migration.html +++ b/documentation/migration.html @@ -54,9 +54,9 @@ symbol on the command-line when you compile

The following table shows the old and new function names:

diff --git a/documentation/osissues.html b/documentation/osissues.html index a838b7a87..79c385a86 100644 --- a/documentation/osissues.html +++ b/documentation/osissues.html @@ -705,7 +705,7 @@ applications will NOT copy any resource forks! For copying and moving use CpMac and MvMac respectively. For creating a tar archive, all executables need to be stripped from their Resource Fork before -packing, e.g. "DeRez fluid >fluid.r". After unpacking the +packing, e.g. "DeRez fluid > fluid.r". After unpacking the Resource Fork needs to be reattached, e.g. "Rez fluid.r -o fluid". -- cgit v1.2.3