summaryrefslogtreecommitdiff
path: root/src/Fl_File_Icon2.cxx
AgeCommit message (Collapse)Author
44 hourswipmaxim nikonov
2023-01-01FLUID refactor and macOS warnings removed (#623)Matthias Melcher
P renamed to g_project class Project renamed to class Fluid_Project fixes macOS type cast warnings
2021-02-21Remove VS compilation warnings about implicit type conversions.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-29Fix remaining compiler warnings of (STR 3529)Albrecht Schlosser
src/Fl_File_Chooser2.cxx src/Fl_File_Icon2.cxx src/Fl_Help_View.cxx The only known warnings are now in src/Fl_x.cxx as mentioned in comment #1.
2017-10-13Replace remaining calls to getenv() with fl_getenv().Albrecht Schlosser
... except in driver code that uses Fl_System_Driver::getenv(). Todo: Check if all remaining calls of getenv() in driver code are correct or might use ::getenv() to avoid one calling level for optimization. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12492 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-10-14Fix inconsistent interpretation of ld() in image handling (STR #3308).Albrecht Schlosser
Documentation has been fixed and clarified, and ld() handling is now consistent in Fl_(RGB_)Image, their subclasses and fl_draw_image() and similar functions. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@12029 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-10Remove platform-dependent code from Fl_File_Icon2.cxxManolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11576 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2016-04-06Remove unused #define directivesManolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11540 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-05-01Fix STR#3044 (cont'd).Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10140 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2014-05-01Fix for STR #3044, part 2. (final)Ian MacArthur
Fix DEBUG statement near line 572 of Fl_File_Icon2.cxx git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10139 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-19Changed all fixed filename buffers (that I could find) to use FL_PATH_MX ↵Matthias Melcher
instead. Raised FL_PATH_MX from skipy 256 characters to 2048, which corresponds with modern file systems. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8063 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-18Fixed file access code to use UTF-8 strings (STR #2440)Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7874 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-10-04added doxygen comments for undocumented features of Fl_File_Iconengelsman
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6371 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-19Updating fl_utf8.h references. Fixing copyright date in .fl files.Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6311 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-15Doxygen documentation. Completed Fl class, added a todo related to recent Fl ↵Fabien Costantini
API to document. Matt?. More cosmetics have been done, replaced *all* <pre> </pre> tags by \code \endcode sequences. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6260 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-14Doxygen Documentation WP4 Done. Has all documentation content but should be ↵Fabien Costantini
completed in increment 2. Registered for WP5. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6239 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2008-09-10Merging the UTF8 patch, consisting of O'ksi'd s original 1.1.6 patch and ↵Matthias Melcher
additions by Ian. PLEASE BE AWARE that the patch in its current incarnation is a regression in many aspects and further work is required before we can announce Unicode support. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6212 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-11-27VC++ 2005 Support, drop old files, add icons for SudokuMichael R Sweet
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4660 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-03-25Fl_File_Chooser no longer resets the type() when choosing aMichael R Sweet
single file, and it now works when selecting multiple directories (STR #747) Fl_File_Icon::load_system_icons() now only loads 16x16 and 32x32 icon images to improve startup performance. Fixed an error dialog message in FLUID. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4189 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-02-29Support KDE 3.x icons.Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3213 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-11-19Get rid of some valid compiler warnings with CodeWarrior that were reportedMichael R Sweet
by Paul Chambers. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2845 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-10-03Fix the filename pattern in FLUID for images.Michael R Sweet
Better KDE installation directory detection at run-time. Fix Fl_Preferences::entryExists(). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2646 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-06-28Separate the extra image functions into fltk_images.Michael R Sweet
Add new fl_register_images() function to register the extra file formats with Fl_Shared_Image. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2329 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-05-10Use 16x16 KDE icon images by default.Michael R Sweet
Tweek plastic boxtypes (didn't draw to the edge of the bounding box) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2205 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-03-25Rename all remaining functions that don't start with fl_ toMichael R Sweet
fl_foo. (filename_xyz becomes fl_filename_xyz, down becomes fl_down, define_FL_PLASTIC_BOX becomes fl_define_FL_PLASTIC_BOX, etc.) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@2026 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-01-06Add Fl_BMP_Image class and docos.Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1914 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2002-01-02Oopsie - fix debug code: p(int)rintf -> printf...Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1904 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
2002-01-01Use rint() for some more rounding of vertices.Michael R Sweet
Add fl_parse_color() to X11 version, too, and use it instead of XParseColor in the image handling code. Move the default color stuff in the plastic scheme to the MacOS get_system_colors(), and apply the background color to the tile image. More fixes for test makefile. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1901 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-12-17Fl_Help_View now ignores links when the link callback returns NULL, andMichael R Sweet
displays a sensible error message when the URI scheme isn't handled. Fl_File_Icon no longer tries to load icon files that don't exist. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1860 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-12-05Missing declaration of "newch"...Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1811 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-12-05Add support for 2-byte XPM files.Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1810 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-12-05Segfault fixes...Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1809 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-11-25Add flstring.h header file to include string functions, strcasecmpMichael R Sweet
definitions, and (v)snprintf function declarations... Fix Fl_File_Chooser so it always checks for an empty directory_ (so that is doesn't add the leading slash to drive letters and mount points) Make Fl_File_Icon use Fl_Shared_Image, and look in all KDE icon directories. Fl::error() no longer exits by default; only Fl::fatal() does... Wasn't doing callbacks in Fl_Tabs when the current tab was changed via the keyboard. FLUID wasn't writing the tooltips in message files, and didn't count tooltips when computing the message number for catgets. Update dependencies. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1729 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-11-17Add fl_beep() function.Michael R Sweet
Don't allow non-int/float text to be pasted into an Fl_Int_Input or Fl_Float_Input widget. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1690 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-11-17Pass pointers to pp and info when calling the newMichael R Sweet
png_destroy_read_struct() function. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1689 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2001-11-17Don't use -lsupc++ with gcc 2.96; just tried it on RH 7.2 and thatMichael R Sweet
library isn't present or needed. PNG image support updates for Fl_Help_View and Fl_File_Icon; didn't handle transparency properly. Support KDE 2.x icons. Separate image/load_system_icons code from main Fl_File_Icon sources, so that apps that don't use load_system_icons() won't need the image libraries... git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1687 ea41ed52-d2ee-0310-a9c1-e6b18d33e121