| Age | Commit message (Collapse) | Author |
|
Fix sending bogus events if CONSOLIDATE_MOTION is on.
|
|
test/handle_events.cxx can optionally be built with an Fl_Gl_Window,
but this doesn't work if OpenGL support (libfltk_gl) is disabled.
|
|
Since FL/platform.H defines USE_X11 for the X11 platform, it's better to target
the X11 platform by
#include <FL/platform.H>
#if USE_X11
rather than by
#if !defined(_WIN32) && !defined(__APPLE__) && !defined(__ANDROID__)
that would have to grow with future platforms.
|
|
|
|
|
|
Add missing declaration, update more declarations.
|
|
|
|
Replace svn instructions by git instructions
|
|
Fix copy paste error.
|
|
Only install header files to the FL/ include directory.
|
|
|
|
- MACOSX_BUNDLE_BUNDLE_NAME: CFBundleName
- MACOSX_BUNDLE_GUI_IDENTIFIER: CFBundleIdentifier
test/demo.cxx: Remove confusing quotes from demo variable output.
|
|
... as requested in this comment:
https://github.com/fltk/fltk/issues/211#issuecomment-814235771
|
|
PR #203 "Multithread fix for PNG loading" includes a suggested fix
that moves the variable fp to the Fl_PNG_Image structure.
This commit fixes the threading issue by allocating the variable fp
with new, avoiding the [-Wclobbered] warning w/o using a static var.
The same issue is now also fixed in Fl_JPEG_Image.
|
|
|
|
Thanks to K.R. for the fix.
|
|
See GitHub Issue #209: https://github.com/fltk/fltk/issues/209
Warning was: "Gtk-CRITICAL **: ... gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed
Close #209
|
|
|
|
Fl_Posix_System_Driver::probe_for_GTK()
|
|
|
|
Similarly move dlopen_or_dlsym().
This move is because GTK is not X11-specific.
|
|
|
|
|
|
Albrecht caught a problem with my strncat use (see comments for 12d8da9c).
I noticed we have fl_strlcpy() and fl_strlcat() which is what was really
needed here.
|
|
|
|
As per erco's comments on fltk.coredev, Mar 21 2021
in thread Subject: Re: 1.4 build failing on OSX for me
|
|
Cairo is not used in this file, math.h is not necessary, and stdio.h
is only required if USE_PANGO is false.
|
|
FL_BLACK changed to FL_FOREGROUND_COLOR as per docs.
|
|
This file was included (in math.h or elsewhere) on Linux and latest
macOS versions but maybe not in earlier macOS versions or with other
configuration options.
|
|
- convert filename from UTF-8 to "Windows wide chars"
- use GetFileAttributesW() instead of _stat()
|
|
|
|
Use window->hide() in quit callback instead.
|
|
Add includes of system headers in the implementation files
where necessary.
|
|
Applied vsnprintf_v2.patch from STR#3413 which documents
the previously undocumented function, so that it shows up
here in the doxygen docs:
Files -> File List -> vsnprintf.c -> fl_vsnprintf()
This commit does not solve STR #3413, just adds the recommended documentation
for fl_vsnprintf(). Other functions in src/vsnprintf.c could use docs too.
See the bottom of comment #5 in the STR for recommendations to fully solve.
|
|
This example demonstrates how to build an entire program using fluid
and how to add static and virtual class methods as callbacks.
|
|
|
|
|
|
This fixes the inconsistency created by the possibility to change img->w() and img->h()
values. The fix is to use img->data_w() and img->data_h() that have constant values.
|
|
|
|
That class is extracted from inside Fl_PostScript_Graphics_Driver and might
become handy in the future.
|
|
USE_PANGO
|
|
|
|
* Cache single unicode character widths under Xft+Pango
|
|
Fl_Scalable_Graphics_Driver
Most coordinate calculations are done with the new inline function
int Fl_Scalable_Graphics_Driver::floor(int coord)
that is used by both the Windows and X11 platforms.
|
|
- add DOCTYPE, <head> and <body> statements
- make the file more standards conformant
- update OL tests, add nested OL/UL test
- add 'alt' tags to image refs
Note: the 'NAME' tag is obsolete and should be replaced with 'ID'
but Fl_Help_View does not parse 'ID' tags (yet).
|
|
configure didn't export HAVE_PNG_H and HAVE_LIBPNG_H to config.h
|
|
|
|
|
|
|
|
|