summaryrefslogtreecommitdiff
path: root/documentation
diff options
context:
space:
mode:
Diffstat (limited to 'documentation')
-rw-r--r--documentation/Fl_Double_Window.html6
-rw-r--r--documentation/Fl_Window.html38
-rw-r--r--documentation/Makefile58
3 files changed, 57 insertions, 45 deletions
diff --git a/documentation/Fl_Double_Window.html b/documentation/Fl_Double_Window.html
index bfc5ad5c8..eb3997c59 100644
--- a/documentation/Fl_Double_Window.html
+++ b/documentation/Fl_Double_Window.html
@@ -36,10 +36,12 @@ does not exist for every visual.
<LI><A href=#Fl_Double_Window.~Fl_Double_Window>~Fl_Double_Window</A></LI>
</UL>
<H4><A name=Fl_Double_Window.Fl_Double_Window>
+Fl_Double_Window::Fl_Double_Window(int w, int h, const
+char *label = 0)<br>
Fl_Double_Window::Fl_Double_Window(int x, int y, int w, int h, const
char *label = 0)</A></H4>
- Creates a new <TT>Fl_Double_Window</TT> widget using the given
-position, size, and label (title) string.
+<p>Creates a new <TT>Fl_Double_Window</TT> widget using the given
+position, size, and label (title) string.</p>
<H4><A name=Fl_Double_Window.~Fl_Double_Window>virtual
Fl_Double_Window::~Fl_Double_Window()</A></H4>
The destructor <I>also deletes all the children</I>. This allows a
diff --git a/documentation/Fl_Window.html b/documentation/Fl_Window.html
index 183939527..cb4590cb7 100644
--- a/documentation/Fl_Window.html
+++ b/documentation/Fl_Window.html
@@ -79,25 +79,33 @@ Fl::modal()</TT></A> is zero or equal to the window. <TT>Fl_Window</TT>
</TD></TR>
</TABLE>
</CENTER>
-<H4><A name=Fl_Window.Fl_Window>Fl_Window::Fl_Window(int w, int h, const char *title = 0)</A></H4>
+<H4><A name=Fl_Window.Fl_Window>Fl_Window::Fl_Window(int w, int h, const char *title = 0)<br>
+Fl_Window::Fl_Window(int x, int y, int w, int h, const char *title = 0)</A></H4>
-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
-<tt>visible()</tt> to false and <tt>parent()</tt> to <tt>NULL</tt>.
-By not specifying the position of the window, the window system will pick a
-place to show the window or allow the user to pick a location. If you want to
-force a position you should call <tt>position(x,y)</tt> or <tt>hotspot()</tt>
-before calling <tt>show()</tt>.
+<p>Creates a new window. If <a
+href='Fl_Group.html#Fl_Group.current'><tt>Fl_Group::current()</tt></a>
+is not <tt>NULL</tt>, the window is created as a subwindow of
+the parent window.</p>
-<P><TT>Fl_Widget::box()</TT> is set to <TT>FL_FLAT_BOX</TT>. If you
-plan to completely fill the window with children widgets you should
-change this to <TT>FL_NO_BOX</TT>. If you turn the window border off
-you may want to change this to <TT>FL_UP_BOX</TT>. </P>
+<p>The first form of the constructor creates a top-level window
+and tells the window manager to position the window. The second
+form of the constructor either creates a subwindow or a
+top-level window at the specified location, subject to window
+manager configuration. If you do not specify the position of the
+window, the window manager will pick a place to show the window
+or allow the user to pick a location. Use <tt>position(x,y)</tt>
+or <tt>hotspot()</tt> before calling <tt>show()</tt> to force a
+position on the screen.</p>
-<h4>Fl_Window::Fl_Window(int x, int y, int w, int h, const char *title = 0)</H4>
+<p>Top-level windows initially have <tt>visible()</tt> set to 0
+and <tt>parent()</tt> set to <tt>NULL</tt>. Subwindows initially
+have <tt>visible()</tt> set to 1 and <tt>parent()</tt> set to
+the parent window pointer.</p>
-<P>The second form of the constructor is for creating child windows. It
-leaves <tt>visible()</tt> set to true.
+<P><TT>Fl_Widget::box()</TT> defaults to <TT>FL_FLAT_BOX</TT>. If you
+plan to completely fill the window with children widgets you should
+change this to <TT>FL_NO_BOX</TT>. If you turn the window border off
+you may want to change this to <TT>FL_UP_BOX</TT>.</P>
<H4><A name=Fl_Window.~Fl_Window>virtual Fl_Window::~Fl_Window()</A></H4>
The destructor <I>also deletes all the children</I>. This allows a
diff --git a/documentation/Makefile b/documentation/Makefile
index 6836445f3..ad2de0ca0 100644
--- a/documentation/Makefile
+++ b/documentation/Makefile
@@ -1,5 +1,5 @@
#
-# "$Id: Makefile,v 1.9.2.10.2.22 2004/04/11 04:38:55 easysw Exp $"
+# "$Id: Makefile,v 1.9.2.10.2.23 2004/10/18 20:22:22 easysw Exp $"
#
# Documentation makefile for the Fast Light Tool Kit (FLTK).
#
@@ -225,35 +225,37 @@ depend:
docdir = $(datadir)/doc/fltk
install: $(MANPAGES)
- echo "Installing documentation files in $(docdir)..."
- -$(MKDIR) $(docdir)
- $(CP) $(HTMLFILES) *.gif *.jpg index.html $(docdir)
- $(CHMOD) 644 $(docdir)/*
- echo "Installing man pages in $(mandir)..."
- -$(MKDIR) $(mandir)/cat1
- $(CP) fluid.$(CAT1EXT) $(mandir)/cat1
- $(CHMOD) 644 $(mandir)/cat1/fluid.$(CAT1EXT)
- $(CP) fltk-config.$(CAT1EXT) $(mandir)/cat1
- $(CHMOD) 644 $(mandir)/cat1/fltk-config.$(CAT1EXT)
- -$(MKDIR) $(mandir)/cat3
- $(CP) fltk.$(CAT3EXT) $(mandir)/cat3
- $(CHMOD) 644 $(mandir)/cat3/fltk.$(CAT3EXT)
- -$(MKDIR) $(mandir)/man1
- $(CP) fluid.man $(mandir)/man1/fluid.1
- $(CHMOD) 644 $(mandir)/man1/fluid.1
- $(CP) fltk-config.man $(mandir)/man1/fltk-config.1
- $(CHMOD) 644 $(mandir)/man1/fltk-config.1
- -$(MKDIR) $(mandir)/man3
- $(CP) fltk.man $(mandir)/man3/fltk.3
- $(CHMOD) 644 $(mandir)/man3/fltk.3
+ echo "Installing documentation files in $(DESTDIR)$(docdir)..."
+ -$(MKDIR) $(DESTDIR)$(docdir)
+ $(CP) $(HTMLFILES) *.gif *.jpg index.html $(DESTDIR)$(docdir)
+ $(CHMOD) 644 $(DESTDIR)$(docdir)/*
+ echo "Installing man pages in $(DESTDIR)$(mandir)..."
+ -$(MKDIR) $(DESTDIR)$(mandir)/cat1
+ $(CP) fluid.$(CAT1EXT) $(DESTDIR)$(mandir)/cat1
+ $(CHMOD) 644 $(DESTDIR)$(mandir)/cat1/fluid.$(CAT1EXT)
+ $(CP) fltk-config.$(CAT1EXT) $(DESTDIR)$(mandir)/cat1
+ $(CHMOD) 644 $(DESTDIR)$(mandir)/cat1/fltk-config.$(CAT1EXT)
+ -$(MKDIR) $(DESTDIR)$(mandir)/cat3
+ $(CP) fltk.$(CAT3EXT) $(DESTDIR)$(mandir)/cat3
+ $(CHMOD) 644 $(DESTDIR)$(mandir)/cat3/fltk.$(CAT3EXT)
+ -$(MKDIR) $(DESTDIR)$(mandir)/man1
+ $(CP) fluid.man $(DESTDIR)$(mandir)/man1/fluid.1
+ $(CHMOD) 644 $(DESTDIR)$(mandir)/man1/fluid.1
+ $(CP) fltk-config.man $(DESTDIR)$(mandir)/man1/fltk-config.1
+ $(CHMOD) 644 $(DESTDIR)$(mandir)/man1/fltk-config.1
+ -$(MKDIR) $(DESTDIR)$(mandir)/man3
+ $(CP) fltk.man $(DESTDIR)$(mandir)/man3/fltk.3
+ $(CHMOD) 644 $(DESTDIR)$(mandir)/man3/fltk.3
uninstall:
- $(RMDIR) $(docdir)
- $(RM) $(mandir)/cat1/fluid.$(CAT1EXT)
- $(RM) $(mandir)/man1/fluid.1
- $(RM) $(mandir)/cat3/fltk.$(CAT3EXT)
- $(RM) $(mandir)/man3/fltk.3
+ $(RMDIR) $(DESTDIR)$(docdir)
+ $(RM) $(DESTDIR)$(mandir)/cat1/fluid.$(CAT1EXT)
+ $(RM) $(DESTDIR)$(mandir)/man1/fluid.1
+ $(RM) $(DESTDIR)$(mandir)/cat1/fltk-config.$(CAT1EXT)
+ $(RM) $(DESTDIR)$(mandir)/man1/fltk-config.1
+ $(RM) $(DESTDIR)$(mandir)/cat3/fltk.$(CAT3EXT)
+ $(RM) $(DESTDIR)$(mandir)/man3/fltk.3
# Base html files are now the readable ones, so this target is not make by
@@ -275,5 +277,5 @@ fltk.pdf: $(HTMLFILES) $(IMAGEFILES)
-$(HTMLDOC) --verbose --batch fltk.book $(MEDIA) -f fltk.pdf
#
-# End of "$Id: Makefile,v 1.9.2.10.2.22 2004/04/11 04:38:55 easysw Exp $".
+# End of "$Id: Makefile,v 1.9.2.10.2.23 2004/10/18 20:22:22 easysw Exp $".
#