summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2015-03-02PostScript output: various cosmetic changes to easy readability of output code.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10601 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-03-02PostScript output: : use ASCII85 encoding also for character strings.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10599 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-03-01Improve Fl_Tiled_Image drawing, scheme background setup, and documentation.Albrecht Schlosser
Fl::scheme("plastic") now correctly sets the background image width and height to 0, which causes the background image to fill the whole window. Fl_Tiled_Image drawing was partly broken. Offsets (cx, cy) were not used correctly, and some other inconsistencies with arguments were possible. Drawing has been optimized to draw only those tiles that are not clipped. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10598 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-03-01PostScript output of images: use now RunLengthEncode followed by ↵Manolo Gouy
ASCII85Encode filters. This is what Mac OS X does for its PostScript output, so there must be some good in that. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10597 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-02-28Slightly improved implementation of the convert85() function.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10596 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-02-27Improved PostScript output of images: they use now the ASCII85Encode filter Manolo Gouy
instead of the ASCIIHexEncode filter used before, resulting in quite smaller output files. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10595 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-02-26Fix compiler warning with gcc 4.8.3 under Windows/Cygwin (STR #3199).Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10593 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-02-261) More detailed Doxygen documentation for classes Fl_Printer, ↵Manolo Gouy
Fl_Surface_Device, Fl_Display_Device and Fl_Graphics_Driver. 2) Support call of Fl_Printer::start_job(pagecount) with pagecount=0 when the number of pages is unavailable. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10592 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-02-24[CMake] Improve handling of ldl and X11 libraries (STR #3196).Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10590 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-02-23WN32: Fl_Pixmap::draw(X,Y,W,H,cx,cy) did not print well when cx or cy was ↵Manolo Gouy
not null. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10589 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-02-22Fix undefined reference XGetUtf8FontAndGlyph (STR #3191).Albrecht Schlosser
XGetUtf8FontAndGlyph was referenced in libfltk_gl if configured w/o xft and defined in libfltk, but not exported (regression since 1.3.3). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10588 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-02-20Fix potential keyboard hangup (STR #3192).Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10587 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-02-18Mac OS: Fixed issue where the system object supporting a window created ↵Manolo Gouy
before the event loop started could not be deallocated. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10586 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-02-17Restore window background image drawing (STR #3059).Albrecht Schlosser
This was a regression since FLTK 1.3.0, because the window's label was not drawn anymore. However, the label drawing code is also responsible for drawing a background image. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10584 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-02-15It is preferable to use a complete initializer for a class instance.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10579 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-02-13Mac OS: fixed order of preference of data type when pasting graphical data.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10578 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-02-13Mac OS: made function Fl_Graphics_Driver::clip_box() more accurate for ↵Manolo Gouy
retina displays git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10576 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-02-13Removed redundant code.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10575 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-02-13Mac OS: more accurate way to determine the screen where the paste operation ↵Manolo Gouy
occurs. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10574 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-02-11Fixed change made at r.10560 that breaks compilation with old SDKsManolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10572 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-02-11Fixed error introduced at r.10568 that prevented non-Apple compilation.Manolo Gouy
Also, replaced __APPLE_QUARTZ__ by __APPLE__ git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10571 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-02-11Fix window icon when set before Fl_Window::show() - Windows only.Albrecht Schlosser
The window icon was reset during show() if it was set before show(), because Fl_X::make() didn't check the new RGB image icons. Hence the previously set Fl_RGB_Image icon was ignored and replaced by the default Windows application icon. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10570 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-02-10Added doxygen docs to clarify:Greg Ercolano
o fl_ask() is deprecated (since compiler warns about its use) o fl_choice() includes example code for various usage forms git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10569 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-02-10Mac OS: more parsimonious memory usage when drawing Fl_RGB_Image. The image ↵Manolo Gouy
data are no longer duplicated when printing an image with alloc_array = 1. Duplication remains when printing with alloc_array = 0. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10568 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-02-09Comments: doxygen docs and comments to emphasize platform dependencies.Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10566 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-02-09Mac OS: correct window redraws after a window was created in iconized form.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10564 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-02-08Fix for STR#3131 : .xbm images were not previewedManolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10561 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-02-08Allow compilation with -std=c++11 on Mac OS XManolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10560 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-02-07Modified Fl_Quartz_Graphics_Driver::draw(Fl_RGB_Image *img,...) to accept ↵Manolo Gouy
worst case scenario for memory usage: while printing, delete the printed image before completing the printed page. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10559 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-02-07Fixed reading of .pbm image files: the black & white pixels were reversed,Manolo Gouy
and P4-formatted files of width a multiple of 8 were handled incorrectly. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10558 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-02-03Fixed crash when resizing a not yet shown() Fl_Gl_Window.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10551 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-02-02Fix Linux/Unix potential program hang when dialog pops up while a menu is ↵Albrecht Schlosser
open (STR #3179). This patch does not fix all issues though. The hang does not happen anymore, but with some WM's the dialog can show up underneath the menu. This needs more investigation, but this fixes the more important issue. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10550 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-02-02Removed small memory leak.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10549 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-02-02Replace gl_xxx() function names by new member functions of the Fl_X class to ↵Manolo Gouy
avoid collisions with user-defined symbols. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10548 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-01-31Improved Mac OS X Fl_Gl_Window resizing: the GL scene was drawn twice at ↵Manolo Gouy
each resize operation. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10545 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-01-31Fix potential buffer overflow (Windows: BEX64 error) and home dir (STR 3166).Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10544 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-01-31Fix gleam boxtypes (STR #3183).Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10543 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-01-29Use Fl::is_scheme() where appropriate.Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10542 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-01-29Remove superfluous #include <string.h> - strcmp() is not used anymore.Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10541 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-01-29Use Fl::is_scheme() in src/Fl_Tree_Prefs.cxx.Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10540 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-01-29Add missing gleam boxtype definitions from Dmitrij's oxy patch (STR #2675).Albrecht Schlosser
I don't know if there's a better source, but this does at least fill the gap. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10539 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-01-29Fix comments, trailing white space, and trailing commas in comments.Albrecht Schlosser
Note: there are no code changes in this commit. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10538 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-01-28Stop using dynamic_cast when performing text drag (Mac OS only).Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10536 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-01-24Restore compilability with Mac OS X SDK 10.4uManolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10534 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-01-24Simpler coding of the half-pixel offset necessary when clipping to a rectangle.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10533 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-01-23It is necessary to call fl_cgrectmake_cocoa() when building the clipping ↵Manolo Gouy
rectangle for a sub-window, as for any clipping rectangle. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10532 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-01-22A few comment changes.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10531 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-01-22Make sure subwindows don't leak out of their parent windows.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10530 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-01-21Have Fl_Paged_Device::print_window() print window title bars with rounded ↵Manolo Gouy
angles under Yosemite also. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10529 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2015-01-19Avoid potential crash if Fl::focus() returns NULL.Manolo Gouy
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10527 ea41ed52-d2ee-0310-a9c1-e6b18d33e121