From bf910884ccd3b3fb0655799feee83adcbc35a3a9 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Mon, 18 Oct 2004 20:22:25 +0000 Subject: Documentation updates (STR #570) Added DESTDIR support and now remove all man pages for the "uninstall" target (STR #545) Fix PNG drawing on buggy WIN32 graphics cards (STR #548) The configure script didn't propagate the CPPFLAGS environment variable (STR #549) The numpad keys didn't work properly on WIN32 (STR #502) fl_input() and friends now set the input focus to the text field when the dialog is shown (STR #553) Fixed background color mixup when drawing Fl_Choice menus (STR #544) Fixed MingW makefiles (STR #550) More VC++ project file tweaking (STR #559) Fl_PNG_Image didn't use the png_set_trns_to_alpha function when available (STR #547) The FL_UNFOCUS event wasn't always sent when switching tabs (STR #558) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3868 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- documentation/Fl_Double_Window.html | 6 ++-- documentation/Fl_Window.html | 38 ++++++++++++++---------- documentation/Makefile | 58 +++++++++++++++++++------------------ 3 files changed, 57 insertions(+), 45 deletions(-) (limited to 'documentation') 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.
  • ~Fl_Double_Window
  • +Fl_Double_Window::Fl_Double_Window(int w, int h, const +char *label = 0)
    Fl_Double_Window::Fl_Double_Window(int x, int y, int w, int h, const char *label = 0)

    - Creates a new Fl_Double_Window widget using the given -position, size, and label (title) string. +

    Creates a new Fl_Double_Window widget using the given +position, size, and label (title) string.

    virtual Fl_Double_Window::~Fl_Double_Window()

    The destructor also deletes all the children. 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() is zero or equal to the window. Fl_Window -

    Fl_Window::Fl_Window(int w, int h, const char *title = 0)

    +

    Fl_Window::Fl_Window(int w, int h, const char *title = 0)
    +Fl_Window::Fl_Window(int x, int y, int w, int h, const char *title = 0)

    -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 -visible() to false and parent() to NULL. -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 position(x,y) or hotspot() -before calling show(). +

    Creates a new window. If Fl_Group::current() +is not NULL, the window is created as a subwindow of +the parent window.

    -

    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.

    +

    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 position(x,y) +or hotspot() before calling show() to force a +position on the screen.

    -

    Fl_Window::Fl_Window(int x, int y, int w, int h, const char *title = 0)

    +

    Top-level windows initially have visible() set to 0 +and parent() set to NULL. Subwindows initially +have visible() set to 1 and parent() set to +the parent window pointer.

    -

    The second form of the constructor is for creating child windows. It -leaves visible() set to true. +

    Fl_Widget::box() defaults 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.

    virtual Fl_Window::~Fl_Window()

    The destructor also deletes all the children. 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 $". # -- cgit v1.2.3