From 7e8ba419c6283797fd19f15de90fb0064b2c5cf5 Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Wed, 29 Jul 2009 16:29:26 +0000 Subject: [PATCH] Fixed a few typos. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6837 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- documentation/src/osissues.dox | 2 +- documentation/src/subclassing.dox | 10 ++++------ 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/documentation/src/osissues.dox b/documentation/src/osissues.dox index 0527661ed..287a88442 100644 --- a/documentation/src/osissues.dox +++ b/documentation/src/osissues.dox @@ -274,7 +274,7 @@ An example: void MyWindow::show() { if (shown()) {Fl_Window::show(); return;} // you must do this! fl_open_display(); // necessary if this is first window - // we only calcualte the necessary visual colormap once: + // we only calculate the necessary visual colormap once: static XVisualInfo *visual; static Colormap colormap; if (!visual) { diff --git a/documentation/src/subclassing.dox b/documentation/src/subclassing.dox index 1a81d2363..d2e208809 100644 --- a/documentation/src/subclassing.dox +++ b/documentation/src/subclassing.dox @@ -14,11 +14,10 @@ typically Fl_Widget for controls and Fl_Group for composite widgets. A control widget typically interacts with the user to receive and/or display a value of some sort. -A composite widget widget holds a list of child widgets and handles moving, -sizing, showing, or hiding them as needed. Fl_Group is the -main composite widget widget class in FLTK, and all of the other composite -widgets (Fl_Pack, Fl_Scroll, Fl_Tabs, -Fl_Tile, and Fl_Window) are subclasses of it. +A composite widget holds a list of child widgets and handles moving, +sizing, showing, or hiding them as needed. Fl_Group is the main +composite widget class in FLTK, and all of the other composite widgets +(Fl_Pack, Fl_Scroll, Fl_Tabs, Fl_Tile, and Fl_Window) are subclasses of it. You can also subclass other existing widgets to provide a different look or user-interface. For example, the button widgets are all @@ -518,7 +517,6 @@ differences: -# Fl_Window is a subclass of Fl_Group so make sure your constructor calls \p end() unless you actually want children added to your window. - -# When handling events and drawing, the upper-left corner is at 0,0, not x(),y() as in other Fl_Widget's. For instance, to draw a box around the widget, call