1998-10-19 21:39:29 +00:00
|
|
|
//
|
|
|
|
|
// Colormap picker header file for the Fast Light Tool Kit (FLTK).
|
|
|
|
|
//
|
2010-11-28 21:06:39 +00:00
|
|
|
// Copyright 1998-2010 by Bill Spitzak and others.
|
1998-10-19 21:39:29 +00:00
|
|
|
//
|
2011-07-19 04:49:30 +00: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 16:03:10 +00:00
|
|
|
// https://www.fltk.org/COPYING.php
|
1998-10-19 21:39:29 +00:00
|
|
|
//
|
2020-07-01 16:03:10 +00:00
|
|
|
// Please see the following page on how to report bugs and issues:
|
2005-04-16 00:13:17 +00:00
|
|
|
//
|
2020-07-01 16:03:10 +00:00
|
|
|
// https://www.fltk.org/bugs.php
|
1998-10-19 21:39:29 +00:00
|
|
|
//
|
1998-10-06 18:21:25 +00:00
|
|
|
|
2010-10-29 22:14:59 +00:00
|
|
|
/** \file
|
|
|
|
|
The fl_show_colormap() function hides the implementation classes used
|
|
|
|
|
to provide the popup window and color selection mechanism.
|
|
|
|
|
*/
|
|
|
|
|
|
1998-10-06 18:21:25 +00:00
|
|
|
#ifndef fl_show_colormap_H
|
|
|
|
|
#define fl_show_colormap_H
|
|
|
|
|
|
2010-10-29 22:14:59 +00:00
|
|
|
/* doxygen comment here to avoid exposing ColorMenu in fl_show_colormap.cxx
|
|
|
|
|
*/
|
2010-10-31 18:00:37 +00:00
|
|
|
|
|
|
|
|
/** \addtogroup fl_attributes
|
|
|
|
|
@{ */
|
|
|
|
|
|
2010-10-29 22:14:59 +00:00
|
|
|
/**
|
2011-04-23 15:46:30 +00: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-29 22:14:59 +00:00
|
|
|
\param[in] oldcol color to be highlighted when grid is shown.
|
|
|
|
|
\retval Fl_Color value of the chosen colormap entry.
|
2011-04-23 15:46:30 +00:00
|
|
|
\see Fl_Color_Chooser
|
2010-10-29 22:14:59 +00:00
|
|
|
*/
|
1999-02-16 22:00:04 +00:00
|
|
|
FL_EXPORT Fl_Color fl_show_colormap(Fl_Color oldcol);
|
1998-10-06 18:21:25 +00:00
|
|
|
|
2010-10-31 18:00:37 +00:00
|
|
|
/** @} */
|
|
|
|
|
|
1998-10-06 18:21:25 +00:00
|
|
|
#endif
|