Shorter implementation based on Fl_Graphics_Driver::draw_scaled(Fl_Image *,...).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10616 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Useful for printing, PostScript or PDF output, or retina displays.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10615 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Note to devs: if I missed something, please mark follow-up commits with
[Version 1.3.4] so we can find the necessary commits for version updates.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10612 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This option opens a fluid ('.fl') file and saves it overwriting the old
file with the current syntax and library version number.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10611 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
configure is used to set all needed version numbers in makeinclude.
makeinclude is included in Makefile's and the version numbers are used
to build the correct shared libs.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10609 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
There was a regression since svn r10598 because the background image width
and height were set to 0. The label drawing code erroneously used this
for positioning the label text inside the window which could be seen for
instance in test/valuators. Now the label (text) is not drawn at all.
PS: this should be fixed with a better scheme setup w/o manipulating
the window's label, labeltype, and image in a later version.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10607 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
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
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
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
Although this is probably not the application's fault and this
was found with gcc 4.5.3 using Windows 64-bit cross-compiling only.
windowfocus.cxx:25:18: error: 'Fl_Input* inp' redeclared as different kind of symbol
/usr/x86_64-w64-mingw32/sys-root/mingw/include/intrin.h:347:5: error: previous declaration of 'int inp(short unsigned int)'
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10594 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
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
The extension '.lib' is used for Microsoft shared library stubs created in
directory lib/, so it is usefule to ignore *.lib (but not the README file).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10591 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
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
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
Experimental. Thanks to Greg for finding this option.
If this option is supported by the linker, it is used when linking shared
libraries like libfltk_gl.so. With this option linking of the shared library
fails instead of postponing failure to linking programs with this library,
if any undefined references exist in this library. See STR #3191.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10582 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This was a regression introduced in svn r 10573 that affects new builds,
when the target directory for test files (bin/examples) doesn't exist yet.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10577 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
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
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