summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2015-06-27Fix button label clipping (STR #3237).Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10775 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-06-27Prevent sending (FL_SHORTCUT) events to inactive widgets (STR #3216).Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10774 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-06-23Fixes STR 3234Greg Ercolano
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10773 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-06-22Indentation fix.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10772 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-06-21Fix Fl_Pixmap (background) drawing to respect the clip region (STR #3206).Albrecht Schlosser
STR title: (Re-)drawing artefacts with scheme plastic after STR 3059. It turned out that drawing a pixmap could enlarge the clip region if the intersection of the clip region and the pixmap was not a single rectangle. Hence drawing the background pixmap would draw outside the clip region and leave artefacts when a widget was drawn on top of it. See STR #3206. Thanks to Manolo who had the idea and provided a patch to draw into the individual rectangles of a multi-rectangle clip region. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10771 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-06-17Fix and adjust documentation, remove trailing white space.Albrecht Schlosser
This is a comment/white space only commit to prepare for following code changes in a later commit. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10767 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-06-16Rework of fl_utf8 to fix up some build issues on Win32.Ian MacArthur
Also take a stab at progressing the documentation of the UTF8 helper methods, as started by Albrecht. Hope the stuff I have added makes sense! git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10761 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-06-15Fix code indenting, remove dead code, improve documentation.Albrecht Schlosser
There was still old (dead) code that had been deactivated by '#if 0'. This code had been obsoleted by other functions, so it was time to remove the dead parts of the code. Many functions were not documented at all. I tried to add documentation, but I ran out of time. Todo: there are still some undocumented functions in src/fl_utf8.cxx. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10760 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-06-15Fix spelling errors and improve documentation.Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10759 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-06-15Fix documentation. Make links an enumeration so they are displayed correctly.Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10758 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-06-15Fixed non-ASCII characters in Doxygen comment so they are UTF-8 encoded.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10756 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-06-15Fix fl_nonspacing(), explain what non-spacing characters are (STR #3159).Albrecht Schlosser
I also edited the mentioned README file to eliminate the most obvious error(s). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10754 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-06-15Fix documentation and make platform specific code better distinguishable.Albrecht Schlosser
This commit doesn't change any code (comments only). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10753 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-06-14Minor documentation fixes.Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10751 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-06-12Mac OS: computing a method's address once is enough.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10750 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-06-11Fixed Doxygen doc of Fl_Native_File_Chooser::USE_FILTER_EXT option.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10749 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-06-11Removed Doxygen warning.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10748 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-06-10Mac OS: remove 5 compilation warnings of this kind:Manolo Gouy
warning: comparison of function 'CGDataConsumerCreateWithCFData' not equal to a null pointer is always true note: prefix with the address-of operator to silence this warning git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10747 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-06-08Fixed typo in Doxygen doc of Fl_RGB_Image constructor.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10744 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-06-07Fixed typos in the constructors of Fl_JPEG_Image.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10743 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-06-07Fixed typos in doc of Fl_JPEG_Image constructors.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10742 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-06-07Fixed the doc of the Fl_JPEG_Image constructors mentioning the purpose of ↵Manolo Gouy
Fl_Image::fail(). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10741 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-05-30Mac OS: allow using fl_color(r,g,b) without drawing context.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10739 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-05-24Moved docs for fail() from prototype in Fl_Image.H -> implementation in ↵Greg Ercolano
Fl_Image.cxx. Also added coded example to assist app programmers in usage. (Matt: feel free to modify the example code as needed) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10734 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-05-23STR #2873: new function Fl_Image::fail() that returns 0, ERR_NO_IMAGE, ↵Matthias Melcher
ERR_FORMAT, or ERR_FILE_ACCESS to make life easier when loading images. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10732 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-05-18Add support for Fl::copy(..clipboard = 2..)Lauri Kasanen
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10731 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-05-16Fl::delete_widget() was changed in 1.3.4 to immediately hide the widget,Manolo Gouy
but the case of an iconified window (visible() is false and shown() is true) was forgotten. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10730 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-05-04Removed deprecation and implicit cast warnings.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10729 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-04-29Removed unneeded include statements.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10728 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-04-29Simpler writing of Fl_X::get_carbon_function().Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10727 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-04-28Restored the possibility to call Fl::set_font()Manolo Gouy
in a global initializer (before main() starts). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10726 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-04-28Doc clarifications for Fl_Image methods:Greg Ercolano
> inactive() > desaturate() > color_average() git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10725 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-04-28Fl_Tree: improved draw() behavior when deactivated;Greg Ercolano
icons draw deactivated now. test/tree: Added 'deactivate tree' button to test deactivating entire widget. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10723 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-04-28Changed the fonts used for the FL_COURIER font family on the Mac.Manolo Gouy
It used to be 'Courier New' that was judged too thin. 'Courier' will be used now. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10722 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-04-24Fixed small typo, added some elipsis to clarify docsGreg Ercolano
when copy/pasting into email/forum posts as clear text. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10715 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-04-23WIN32 specific fix for (or at least work around to) STR #3143.Ian MacArthur
In testing, this resolves the reported issue, but I'd be happy if we could find a solution that resolved the underlying issue of us missing PostThreadMessage() messages passed from the worker thread to the main thread, whilst the main window is unresponsive (i.e. moving or dragging.) This also puts in place an amendment to the way the awake callback ring-buffer indices are tested, when the buffer is wrapping over or near to full. This was identified by Albrecht in STR #3223 (item #1 on that STR, though there are a few other issues identified there.) In my testing, this appears to be correct and robust. Further testing would not go amiss, however. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10714 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-04-22Fix for STR #3221: restore the correct state of mouse buttons and keyboard ↵Manolo Gouy
modifier keys after closing a non-FLTK window (file or printer dialogs). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10713 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-04-21Fix box sizes (box_dx() etc.) of scheme gleam.Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10711 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-04-20Make sure we set WM_CLIENT_MACHINE, WM_LOCALE_NAME and _NET_WM_PID onPierre Ossman
X11 windows as window manager need these to map windows to processes and we might lose functionality without them. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10710 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-04-20We cannot resize the selection buffer without also storing the newPierre Ossman
length or we may get buffer overflows the next time we copy something. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10709 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-04-19Rename static int send(..) to send_event() in src/Fl.cxx.Albrecht Schlosser
Also: remove unnecessary '#include <stdio.h>' (needed only for debugging). Rationale: search for 'send' within the file has too many false positive hits. The function is 'static' and hence local to this file. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10708 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-04-15Replaced incorrect use of abs() with floating point argument by fabs().Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10707 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-04-14Fixes STR #3219, deactivate colors issue with Fl_Text_Display/Editor.Greg Ercolano
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10705 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-04-14Fix compilation warning [-Wsign-compare].Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10704 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-04-14Fix compilation warnings: "... may be used uninitialized".Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10703 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-04-13Small doc fixes as recommended by Albrecht, Greg Ercolano
who is currently proofreading the Fl_Tree docs/code. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10700 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-04-13Fix return value test, as pointed out by Albrecht.Greg Ercolano
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10699 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-04-13Fix problem with fl_contrast() affecting text color unnecessarilyGreg Ercolano
when drawing normal (unselected) text. (See thread on fltk.coredev started 04/07/2015, "RFC: Fl_Text_Display style buffer color weirdness") git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10698 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-04-13Fix for STR#3165, as solved by OP.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10697 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-04-07Fix for STR#3167 where a window would decrease in size after each close/open ↵Manolo Gouy
(MSWindows-only). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10680 ea41ed52-d2ee-0310-a9c1-e6b18d33e121