summaryrefslogtreecommitdiff
path: root/src/Fl_Color_Chooser.cxx
AgeCommit message (Collapse)Author
46 hourswipmaxim nikonov
3 dayswipmaxim nikonov
2026-01-04Add C++11 Fl_Valuator::format API.Matthias Melcher
This is helpful for writing language wrapper, in this particular case for PyFLTK.
2023-07-13Clamp input values of Fl_Color_Chooser (#749)Albrecht Schlosser
Note: this may be somewhat confusing if the user enters out-of-range values manually because they are overwritten immediately with valid input but the effects seen in issue #749 are IMHO worse.
2023-01-05Add close buttons for individual tabs in Fl_Tabs (#628)Matthias Melcher
Add close buttons for Fl_Tabs Introducing callback reasons FLUID shows all FL_WHEN_... options Adding Fl_Tabs overflow types Improved test/tabs to show new features
2022-12-30Use `FL_OVERRIDE` for all overridden virtual methods (#611)Matthias Melcher
FL_OVERRIDE is defined as `override` for C++11 and higher FL_OVERRIDE is defined as `override` for VisualC 2015 and newer Don't interfere with Fl_Widget::override()
2022-09-26Replace all calls to sprintf() by calls to snprintf().ManoloFLTK
2022-08-29Make hybrid Wayland/X11 platform.ManoloFLTK
2020-07-06Remove $Id$ tags, update URL's, and moreAlbrecht Schlosser
- remove obsolete svn '$Id$' tags from all source files - update .fl files and generated files accordingly - replace 'http://www.fltk.org' URL's with 'https://...' - replace bug report URL 'str.php' with 'bugs.php' - remove trailing whitespace - fix other whitespace errors flagged by Git - add and/or fix missing or wrong standard headers - convert tabs to spaces in all source files The only relevant code changes are in the fluid/ folder where some .fl files and other source files were used to generate the '$Id' headers and footers.
2019-08-12Support copy function in Fl_Color_ChooserAlbrecht Schlosser
Users can press ctrl-c (or ctrl-x) while using the fl_color_chooser() function or the Fl_Color_Chooser widget to copy the current color selection to the clipboard.
2019-02-04Fixed crash for very small Fl_Color_Chooser (STR #3490).Matthias Melcher
2014-08-21Sprinkle some more const on internal arrays. STR #3110Lauri Kasanen
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10234 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2012-08-18Silence compiler warning: "... may be used uninitialized ..."Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9673 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2011-07-19Modifications to all LGPL headers for STR #2685.Greg Ercolano
(to clarify static exception LGPL by changing license references) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8864 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-08As per thread on fltk.development: "RFC: Docs - getting rid of .eps files"Greg Ercolano
Summary: Get rid of eps files, change all doxygen '\image latex' references to eps files to png/jpeg instead, convert doxygen images from gif -> png (to support html+latex). Actual operations: 1) svn remove *.eps 2) convert all gifs -> png 3) svn remove *.gif 4) svn add *.png 5) For jpeg/png images, change all \image latex foo.eps .. -> \image latex foo.[jpg,png] .. 6) For gif images, change all \image html foo.gif .. -> \image html foo.png and (harder to do): change \image latex foo.eps .. -> \image latex foo.png .. 7) Remove EPSFILES macro from documentation/Makefile and remove eps related dependencies that were added recently git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7981 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-12-01Doxygen changes to indicate what to #include for functions documented in ↵Manolo Gouy
modules. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7932 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-28Fixed Copyright to 2010.Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7903 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-11-01Fixed docs for fl_color_chooser() function's optional 'm' flag (renamed ↵Greg Ercolano
'cmode' for clarity). to prevent doxygen errors. Solves engelsman's comments at bottom of STR#2226. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7790 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-10-30Added interface to set color chooser mode (STR #2407)Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7781 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-03-27Replaced Fl::readqueue() in fl_color_chooser() by real callbacks.Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7347 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2010-02-26Adding FALLTHROUGH label to a buch of case fallthroughs in order to make ↵Matthias Melcher
lint happy. STR #2285 git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7162 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-01-01Changed Copyright in 'src' directoryMatthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6616 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-12-06Replaced all occurrences of the deprecated fl_clip() function byAlbrecht Schlosser
fl_push_clip(). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6551 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-15Doxygen PDF Documentation: Added image latex tags, added missing eps ↵Fabien Costantini
corresponding images (most of them in B/W) for the widget classes. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6437 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-04Added return comments to rgb and hsv color chooser methods.Fabien Costantini
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6370 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-04Doxygen documentation: more paranoid fixes and complements in common ↵Fabien Costantini
dialogs. Added new test cases in the ask demo now featuring fl_message() and fl_password() API, made fl_choice() more specific about its return value tests in caller (also added a third button). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6369 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-10-03Fixed bad comments in fl_color_chooser, r g b param are in/out params and ↵Fabien Costantini
not in. Added param and return dox commands to these functions. Added a new Common Dialogs Module containing all fl_ask,fl,fl_color,fl_file dialogs. Fixed the fl_old_shortcut appearing in Fl_Button. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6367 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-21added #ifndef FL_DOXYGEN around Flcc_*::methods() to avoid warnings.engelsman
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6335 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-21doxygen comments for undocumented features of Fl_Color_Browserengelsman
added comment for mode() and enum {M_RGB, ...} but now I can't find the latter on the genrated pages. What have I done wrong? Also added #ifndef FL_DOXYGEN around the Flcc_* helper classes so they won't appear in the docs, or cause undocumented warnings from doxygen. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6331 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-19Simplified the doxygen comment strategy for fl_color_command()engelsman
Too many \defgroup, \ingroup and \relatesalso and doxygen gets confused! Simplified down to a single \relatesalso, and moved the extra function documentation into the class comments. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6313 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-18Doxygen documentationFabien Costantini
+ Added new \relatesalso dox command to attach fl_file_chooser(), fl_color_chooser() to their respective related classes + corrected copyright date and added lgpl with exceptions in preface + restored undocumented warnings, changed QUIET mode to yes, this way we get all warnings/errors and not the long verbose list treated files. Seems to be a bit faster to run too. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6297 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-16added doxygen comments for fl_color_chooser() function.engelsman
By creating a doxygen group in the .cxx file with the implementation, I've achieved a separate fl_color_chooser() module in the generated documentation, with a Referenced by link that doesn't [yet] work. Is there a way to also make this appear in the Fl_Color_Chooser.H page? git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6270 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-16applied Duncan Gibson's documentation patch (WP3).Albrecht Schlosser
Docs look good, compiles okay. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6264 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-04-16Update source file headers with STR web page.Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4288 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-02-24Copyright updates.Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4052 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-07-27More doco updates.Michael R Sweet
All of the core widgets now consistently set changed() before calling the callback function for a change in value; this allows programs to check the changed() state in a callback to see why they are being called (STR #475) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3713 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2004-04-11Copyright updates and prep for 1.1.5rc1.Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3391 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2003-01-30Copyright update for 1.1.3 release (not quite yet, but soon...)Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2936 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-08-09Move the rest of the image file formats (except for XBM and XPM) toMichael R Sweet
the fltk_images library; saves about 16k in the FLTK core library on my Intel system. Fix a memory leak bug in most of the fl_set_fonts*.cxx implementations; as a result, the Fl_Fontdesc structure now has a fontname member to old the human-readable font name. Lots of fixes for shadowed variables, etc. Use snprintf, strlcpy, and strlcat in more places. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2566 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-04-11Redefine FL_ color values to use the color cube.Michael R Sweet
Add FL_BACKGROUND_COLOR, FL_BACKGROUND2_COLOR, and FL_FOREGROUND_COLOR, and use them instead of FL_GRAY, FL_WHITE, and FL_BLACK, respectively. (FL_GRAY defined to FL_BACKGROUND_COLOR for back-compatibility) Add fl_rgb_color(uchar g) inline method to map 8-bit grayscale to 24-bit RGB color. Doco updates for all of this... git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2072 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-01-01Copyright updates...Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1903 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-12-16Fix other widgets to use Fl::focus() instead of take_focus().Michael R Sweet
Add keyboard nav to Fl_Color_Chooser. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1853 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-12-12Update documentation screenshots (still have some to go...)Michael R Sweet
Cleanup some demos and the color chooser. Restore code in Fl_Window::hotspot() to keep the window on the screen. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1837 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-01-22Copyright 2001.Michael R Sweet
FLTK 1.0.11. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1356 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2000-06-05OK, now version 1.0.9Michael R Sweet
Updated email addresses to point to fltk.org domain... Updated README and CHANGES files accordingly. Updated makeinclude and Makefile files to put -L../lib before the LDFLAGS/GLDFLAGS to avoid problem reported by Alexander. documentation/Makefile wasn't including makeinclude. Updated FLUID about window to show version 1.0.9. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1168 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2000-04-25Updated copyright notices for all of the 1.0.x files.Michael R Sweet
Updated the configure script for *BSD and GCC 2.95 (-fno-exceptions) Added install rule to documentation directory. Dumped old packages directory; added traditional RPM spec file and EPM list file (that replace all of the packages stuff) The FLUID man page is now "fluid.1" for the formatted page and "fluid.man" for the non-formatted page, since only IRIX uses pack'd formatted man pages. Whew! git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1090 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2000-04-14Some more size adjustments so smaller fonts look betterBill Spitzak
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@1068 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-03-07Contributed code for more accurate item_height() in Fl_Browser.Bill Spitzak
Fixed display of Fl_Choice yet again Tried to remove warning egcs warning messages from Fl_Color_Chooser Fl_Value_Input updates without user having to type Enter git-svn-id: file:///fltk/svn/fltk/trunk@374 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-01-13Fixes from Bill:Michael R Sweet
- Fixed redraw bug in fl_color_chooser(). - Fl_Value_Input will now accept hexadecimal numbers. git-svn-id: file:///fltk/svn/fltk/trunk@210 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
1999-01-07Yay, change all copyright notices to be 1998-1999.Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/trunk@201 ea41ed52-d2ee-0310-a9c1-e6b18d33e121