1998-10-20 01:39:29 +04:00
|
|
|
//
|
|
|
|
// Colormap picker header file for the Fast Light Tool Kit (FLTK).
|
|
|
|
//
|
2010-11-29 00:06:39 +03:00
|
|
|
// Copyright 1998-2010 by Bill Spitzak and others.
|
1998-10-20 01:39:29 +04:00
|
|
|
//
|
2011-07-19 08:49:30 +04:00
|
|
|
// This library is free software. Distribution and use rights are outlined in
|
|
|
|
// the file "COPYING" which should have been included with this file. If this
|
|
|
|
// file is missing or damaged, see the license at:
|
|
|
|
//
|
2020-07-01 19:03:10 +03:00
|
|
|
// https://www.fltk.org/COPYING.php
|
1998-10-20 01:39:29 +04:00
|
|
|
//
|
2020-07-01 19:03:10 +03:00
|
|
|
// Please see the following page on how to report bugs and issues:
|
2005-04-16 04:13:17 +04:00
|
|
|
//
|
2020-07-01 19:03:10 +03:00
|
|
|
// https://www.fltk.org/bugs.php
|
1998-10-20 01:39:29 +04:00
|
|
|
//
|
1998-10-06 22:21:25 +04:00
|
|
|
|
2010-10-30 02:14:59 +04:00
|
|
|
/** \file
|
|
|
|
The fl_show_colormap() function hides the implementation classes used
|
|
|
|
to provide the popup window and color selection mechanism.
|
|
|
|
*/
|
|
|
|
|
1998-10-06 22:21:25 +04:00
|
|
|
#ifndef fl_show_colormap_H
|
|
|
|
#define fl_show_colormap_H
|
|
|
|
|
2010-10-30 02:14:59 +04:00
|
|
|
/* doxygen comment here to avoid exposing ColorMenu in fl_show_colormap.cxx
|
|
|
|
*/
|
2010-10-31 21:00:37 +03:00
|
|
|
|
|
|
|
/** \addtogroup fl_attributes
|
|
|
|
@{ */
|
|
|
|
|
2010-10-30 02:14:59 +04:00
|
|
|
/**
|
2011-04-23 19:46:30 +04:00
|
|
|
\brief Pops up a window to let the user pick a colormap entry.
|
|
|
|
\image html fl_show_colormap.png
|
|
|
|
\image latex fl_show_colormap.png "fl_show_colormap" height=10cm
|
2010-10-30 02:14:59 +04:00
|
|
|
\param[in] oldcol color to be highlighted when grid is shown.
|
|
|
|
\retval Fl_Color value of the chosen colormap entry.
|
2011-04-23 19:46:30 +04:00
|
|
|
\see Fl_Color_Chooser
|
2010-10-30 02:14:59 +04:00
|
|
|
*/
|
1999-02-17 01:00:04 +03:00
|
|
|
FL_EXPORT Fl_Color fl_show_colormap(Fl_Color oldcol);
|
1998-10-06 22:21:25 +04:00
|
|
|
|
2010-10-31 21:00:37 +03:00
|
|
|
/** @} */
|
|
|
|
|
1998-10-06 22:21:25 +04:00
|
|
|
#endif
|