- May need a better method name.
- This makes the gap between the image in a label and
the label text user settable.
- Can be tested using test/label app
- add some more missing quotes
- use `eval` to execute the compile/build command.
Tested with both configure/Make and CMake (Ninja) after installing
in a path that contains spaces (Linux only so far).
Fix regression: commit b83a6abe01 broke
`fltk-config --compile` even in the build folder and in folders not
containing spaces.
This commit partially reverts the above mentioned commit so
`fltk-config` works as before.
To do: fltk-config does not work if installed in a directory that
contains spaces, check if this can be fixed.
This commit consists of two parts:
1. CMake/resources.cmake: remove the old variable OPENGL_GLU_INCLUDE_DIR
from the CMake cache if possible, otherwise enforce a clean build.
2. src/CMakeLists.txt, CMake/options.cmake: use the new variable name
FLTK_OPENGL_GLU_INCLUDE_DIR.
For details please see GitHub Issue #1001.
Pressing Home would go to hard newline character, even in
line wrap mode. It now stops at the soft newline, as expected.
Same for End which now findes the wrapped line break
instaead of the next '\n' character.
... w/o editing a file. The default font is "Liberation Mono".
Just set environment variable FLTK_USING_WINE=1 to enable this feature.
Rationale: on /my/ current test system the font chosen by `wine` for
FL_COURIER is a proportional font whereas the display in Fl_Terminal
requires a fixed font for correct output. Font "Liberation Mono"
solves this long standing issue for me w/o having to change source code
but other Linux systems may require a different font.
- append underscores to private varaibles per CMP
- add public Fl_Help_View::copy() and Fl_Help_View::text_selected()
- add public Fl_Help_View::copy_menu_text
- fixes some of the focus handling
- add pulldown menu to copy selected text
Language wrappers can have major issues with FLTK auto deleting
all children of a group if a group is deleted. This event gives individual
widget the opportunity to override auto delete.