fl_show_colormap.H 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. //
  2. // "$Id: fl_show_colormap.H 8864 2011-07-19 04:49:30Z greg.ercolano $"
  3. //
  4. // Colormap picker header file for the Fast Light Tool Kit (FLTK).
  5. //
  6. // Copyright 1998-2010 by Bill Spitzak and others.
  7. //
  8. // This library is free software. Distribution and use rights are outlined in
  9. // the file "COPYING" which should have been included with this file. If this
  10. // file is missing or damaged, see the license at:
  11. //
  12. // http://www.fltk.org/COPYING.php
  13. //
  14. // Please report all bugs and problems on the following page:
  15. //
  16. // http://www.fltk.org/str.php
  17. //
  18. /** \file
  19. The fl_show_colormap() function hides the implementation classes used
  20. to provide the popup window and color selection mechanism.
  21. */
  22. #ifndef fl_show_colormap_H
  23. #define fl_show_colormap_H
  24. /* doxygen comment here to avoid exposing ColorMenu in fl_show_colormap.cxx
  25. */
  26. /** \addtogroup fl_attributes
  27. @{ */
  28. /**
  29. \brief Pops up a window to let the user pick a colormap entry.
  30. \image html fl_show_colormap.png
  31. \image latex fl_show_colormap.png "fl_show_colormap" height=10cm
  32. \param[in] oldcol color to be highlighted when grid is shown.
  33. \retval Fl_Color value of the chosen colormap entry.
  34. \see Fl_Color_Chooser
  35. */
  36. FL_EXPORT Fl_Color fl_show_colormap(Fl_Color oldcol);
  37. /** @} */
  38. #endif
  39. //
  40. // End of "$Id: fl_show_colormap.H 8864 2011-07-19 04:49:30Z greg.ercolano $".
  41. //