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
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
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
This program can be used to verify that the FLTK runtime system
(ABI version) is binary compatible with the compiled and linked program.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10712 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
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
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
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
The new script make_pdf can be used in the Makefile and in the CMake
PDF generation process. CMake update will follow in a later step.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10702 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Note: this is for better comparability - preparing new generator for CMake.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10701 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
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
Added a "hint" to tell the user what the buttons are good for.
The hint also exercises fl_contrast(). Whenever the background color
is changed the hint's labelcolor is set with fl_contrast().
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10694 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
the makefiles generator but not with the Xcode generator. Stepping back one commit.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10689 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
FLTKConfig.cmake and others have been installed in arch dependent LIBDIR,
but should be in arch independent DATADIR. The result is that you can
always find FLTKConfig.cmake in <prefix>/share/fltk.
This is where "/path/to/fltk" should point to when FLTK is used in external
projects (see README.CMake.txt).
Todo: test if find_package works w/o defining FLTK_DIR when installed
in a standard location.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10682 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
The new constants are the API and ABI versions in int format, resp.
The new static methods return the compiled-in API and ABI versions, resp.
FLTK_ABI_VERSION is deprecated, but still defined (same as FL_ABI_VERSION).
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10673 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This cast broke Windows 64-bit compilation with a hard error.
$ x86_64-w64-mingw32-g++ --version
x86_64-w64-mingw32-g++ (GCC) 4.8.3
Error message:
widget_panel.cxx:82:41: error: cast from ‘void*’ to ‘long int’ loses precision [-fpermissive]
wCallback->do_callback(wCallback, (long)v);
^
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10668 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Thanks to Csaba for the patch.
Also fixed copyright and a few indenting issues.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10667 ea41ed52-d2ee-0310-a9c1-e6b18d33e121