From b579acc9b3ad84e3b1766338cb55001aafe2570f Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Fri, 15 Nov 2002 02:06:57 +0000 Subject: Fix fl_show_colormap() documentation. Show color chooser window before grabbing it. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2842 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/fl_show_colormap.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/fl_show_colormap.cxx b/src/fl_show_colormap.cxx index 8cf0ac448..ef1cd4c98 100644 --- a/src/fl_show_colormap.cxx +++ b/src/fl_show_colormap.cxx @@ -1,5 +1,5 @@ // -// "$Id: fl_show_colormap.cxx,v 1.5.2.4.2.2 2002/08/09 03:17:30 easysw Exp $" +// "$Id: fl_show_colormap.cxx,v 1.5.2.4.2.3 2002/11/15 02:06:57 easysw Exp $" // // Colormap color selection dialog for the Fast Light Tool Kit (FLTK). // @@ -136,8 +136,8 @@ Fl_Color ColorMenu::run() { position(Fl::event_x_root()-(initial%8)*BOXSIZE-BOXSIZE/2-BORDER, Fl::event_y_root()-(initial/8)*BOXSIZE-BOXSIZE/2-BORDER); } - Fl::grab(*this); show(); + Fl::grab(*this); done = 0; while (!done) Fl::wait(); Fl::release(); @@ -150,5 +150,5 @@ Fl_Color fl_show_colormap(Fl_Color oldcol) { } // -// End of "$Id: fl_show_colormap.cxx,v 1.5.2.4.2.2 2002/08/09 03:17:30 easysw Exp $". +// End of "$Id: fl_show_colormap.cxx,v 1.5.2.4.2.3 2002/11/15 02:06:57 easysw Exp $". // -- cgit v1.2.3