From 59c96f54635aed579fcb40a1980ff3694af46bd8 Mon Sep 17 00:00:00 2001
From: Bill Spitzak
Date: Wed, 27 Jan 1999 08:45:11 +0000
Subject: Fixes to documentation. Restored the lines drawn around symbols, it
uses fl_color_average to pick a dark line color that is still deactivatable.
Requested by CE.
git-svn-id: file:///fltk/svn/fltk/trunk@249 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
---
documentation/Fl_Window.html | 20 ++++++++++++--------
1 file changed, 12 insertions(+), 8 deletions(-)
(limited to 'documentation/Fl_Window.html')
diff --git a/documentation/Fl_Window.html b/documentation/Fl_Window.html
index f78fee9f3..568dd8d4c 100644
--- a/documentation/Fl_Window.html
+++ b/documentation/Fl_Window.html
@@ -81,8 +81,7 @@ exit(0) if this is the last top-level window.
-
+
The first form of the constructor should be used for a "top-level" window
(that is, one that is not inside another window). It correctly sets
@@ -92,14 +91,16 @@ place to show the window or allow the user to pick a location. If you want to
force a position you should call position(x,y) or hotspot()
before calling show().
-The second form of the constructor is for creating child windows. It
-leaves visible() set to true.
-
Fl_Widget::box() is set to FL_FLAT_BOX. If you
plan to completely fill the window with children widgets you should
change this to FL_NO_BOX. If you turn the window border off
you may want to change this to FL_UP_BOX.
+Fl_Window::Fl_Window(int x, int y, int w, int h, const char *title = 0)
+
+The second form of the constructor is for creating child windows. It
+leaves visible() set to true.
+
The destructor also deletes all the children. This allows a
whole tree to be deleted at once, without having to keep a pointer to
@@ -121,10 +122,11 @@ that direction such that the window will fill the screen.
dw and dh are size increments. The window will
be constrained to widths of minw + N * dw, where N
is any non-negative integer. If these are less or equal to 1 they
-are ignored.
+are ignored. (this is ignored on WIN32)
aspect is a flag that indicates that the window should
preserve it's aspect ratio. This only works if both the maximum and
- minimum have the same aspect ratio.
+ minimum have the same aspect ratio. (ignored on WIN32 and by many X
+ window managers)
If this function is not called, FLTK tries to figure out the range
from the setting of resizeable()
@@ -250,7 +252,9 @@ non-alphanumeric character and capitalizing the first character, and
the second one if the first is 'x'. Thus "foo" turns into "foo, Foo",
and "xprog.1" turns into "xprog, XProg". This only works if called
before calling show().
-This method has no effect under Microsoft Windows.
+Under Microsoft Windows this string is used as the name of the
+WNDCLASS structure, though it is not clear if this can have any
+visible effect.
make_current() sets things up so that the drawing functions in <FL/fl_draw.H> will go into this
--
cgit v1.2.3