summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2002-11-15 02:06:57 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2002-11-15 02:06:57 +0000
commitb579acc9b3ad84e3b1766338cb55001aafe2570f (patch)
tree3c7375545dbb9b8966a6505cd7108559d9a51a2a /src
parent9c557a3b874b21209eceb8d17bc4cdc018c32532 (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/fl_show_colormap.cxx6
1 files changed, 3 insertions, 3 deletions
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 $".
//