ManoloFLTK
01f687e26a
Document that Fl::add_system_handler() is not implemented under Wayland
9 months ago
Albrecht Schlosser
67e0547bf9
CMake: replace check_function_exists() for trunc() ( #1049 )
...
Part 1: replace the check for trunc() with check_symbol_exists().
Part 2 (to be done): replace all occurrences of the macro
check_function_exists() with check_symbol_exists() if possible.
9 months ago
ManoloFLTK
fc57a51836
Fix Fl_Wayland_Screen_Driver::compose() to handle the FL_Alt_Gr key
9 months ago
Albrecht Schlosser
9e35b0216f
CMake: remove cache consistency check ( #1046 )
...
The attempted consistency check to remove FLTK's obsolete cache
variable OPENGL_GLU_INCLUDE_DIR which is used by CMake 3.29+ could
cause false positives, at least on macOS, as reported on issue #1046 .
This modified code removes OPENGL_GLU_INCLUDE_DIR if it is defined
but FLTK_OPENGL_GLU_INCLUDE_DIR is not (yet) defined which indicates
the first configure execution with the new code.
10 months ago
Albrecht Schlosser
d6ddc62b33
Fix CTRL/META state display in test/handle_keys.cxx (macOS)
...
This changes only the display of the mentioned state bits in the test
program, and only on macOS.
Thanks to Manolo for finding and reporting this.
10 months ago
ManoloFLTK
a0a91d4854
More detailed documentation of how Fl::event_state() differs between platforms
10 months ago
Matthias Melcher
1ae43956e2
Quick fix for Window Ctrl charcter handling.
...
This is needed to allow platform compatibel e_text and e_length, but a lot more work ist needed to unify keyboard
handling
10 months ago
Matthias Melcher
f151ecb87b
Changing test/editor Shortcut Key Ctrl-i.
...
The original choice for split screen editing, Ctrl-2, did not
work well on some platforms.
10 months ago
Albrecht Schlosser
7cb33ea802
Clean up main (root) .gitignore file
...
- remove obsolete comments
- remove "duplicates": '/out' includes '/out/*' etc.
- reorder so files are correctly categorized to simplify maintenance.
10 months ago
MatthiasWM
c74948f65a
Keep VisualStudio 2022 generated fiels out of Git repo
10 months ago
Matthias Melcher
47bf422e42
Ducumentation fix for previous commit
10 months ago
Matthias Melcher
5ad07b7b4b
Fix fl_overlay_rect smearing on macOS ( #735 )
...
If fl_overlay_rect crosses window bounds, reading the
window contents would fail and restoring the contents
would fail, generating a smear effect.
10 months ago
ManoloFLTK
afc2072878
Fix Doxygen typos in fl_draw() documentation
10 months ago
Matthias Melcher
05c91b287f
FLUID: fixing compiler warning
10 months ago
Matthias Melcher
1badb48e71
FLUID: fixing unintialised widget
10 months ago
Matthias Melcher
ede61089be
FLUID: add image spacing control
10 months ago
Matthias Melcher
a9e989cc2d
Adding image support for angraved and shadow label types
10 months ago
Matthias Melcher
cfc54a3b19
Adding Fl_Widget::label_image_spacing() ( #1039 )
...
- 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
10 months ago
Matthias Melcher
325ac336c7
Adding gap parameter to fl_draw(...)
...
This allows the user to define the spacing between a
possible imge and the text.
10 months ago
Matthias Melcher
9f04497d6e
Improved documentation for fl_draw()
...
There are no code changes in this commit, only added
documentation and improved formatting.
10 months ago
Greg Ercolano
85d1d904ec
Small doc fixes (\See -> \see)
10 months ago
Greg Ercolano
f825fca43c
Improve handling of malformed ANSI. ( #950 )
10 months ago
Albrecht Schlosser
f74f66e507
Re-enable quoting in fltk-config(.in) [fix PR #17 ]
...
- 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).
10 months ago
Matthias Melcher
3922ef67c1
Further accelerating Fl_Text_Display ( #596 )
...
This commit adds lazy evaluation for the wrapped line calculation,
making scrolling much more interactive.
10 months ago
Matthias Melcher
2013c4fd67
Adding Fl_Input comments.
10 months ago
ManoloFLTK
48303cd295
Add DnD problem under KWin to list of known limitations ( #997 )
10 months ago
ManoloFLTK
419ec5269c
Remove "struct Fl_XColor" from list of documented classes
10 months ago
ManoloFLTK
eaf62a99dc
Documentation: improve description of how to use drawing surfaces
10 months ago
Albrecht Schlosser
666bbda70e
Fix tabs, trailing spaces, and update dependencies
10 months ago
Albrecht Schlosser
4077dfa629
Revert quoting variables in fltk-config.in partially
...
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.
10 months ago
Albrecht Schlosser
85e08b981e
Merge pull request #17 from mid-kid/patch-1
...
Quote variables that may contain spaces (#17 )
10 months ago
Albrecht Schlosser
ac8724502f
Quote variables that may contain spaces in fltk-options/Makefile
10 months ago
mid-kid
b83a6abe01
Configure/make: Quote variables that may contain spaces
...
This allows installing FLTK to directories that contain spaces.
10 months ago
Matthias Melcher
02a208b928
Fixed warning in Sudoku (unused variable)
10 months ago
Albrecht Schlosser
fe7560fe61
CMake: add FLTKConfigVersion.cmake
...
This file enables consumers to search for a particular FLTK version.
10 months ago
Albrecht Schlosser
b7fc02e523
Simplify test/handle_keys.cxx and remove comments
10 months ago
Albrecht Schlosser
60330a6d6f
CMake: remove debug statements
10 months ago
Albrecht Schlosser
e65681c9ac
CMake: fix usage of OPENGL_GLU_INCLUDE_DIR ( #1001 )
...
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 .
10 months ago
ManoloFLTK
713f0b0f64
Add -lwinspool necessary for new class Fl_PDF_File_Surface
10 months ago
Matthias Melcher
44a8508ffe
Add Sudoku undo and redo.
10 months ago
Matthias Melcher
fad1a67734
Sudoku formatting, hint updates.
10 months ago
Matthias Melcher
cee2af13b3
Fix Sudoku's use of Fl_Sys_Menu->parent().
10 months ago
Matthias Melcher
72ee34d1cb
Fixes Fl_Text_Editor Home and End keys in line wrap mode
...
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.
10 months ago
dannye
46dd1b33cc
Fix testing of multi-label alt shortcuts ( #974 )
...
* find_shortcut(): fix testing of multi-label alt shortcuts
* Use static function instead of macro
10 months ago
Matthias Melcher
9bb9cb3f96
Optimize Fl_Text_Display scrolling speed ( #596 ).
10 months ago
Matthias Melcher
bc73580366
Pulldown button size in Fl_Tag configurable with OV_BORDER now.
10 months ago
Matthias Melcher
803ad5ace9
Fixes missing default argument in Fl_Fill_Dial constructor.
10 months ago
Albrecht Schlosser
7d90a3b373
Fix indenting, add comments for clarity
...
no operative code changes in this commit
10 months ago
Albrecht Schlosser
fd691b6173
Remove obsolete statement ( #1033 )
...
Thanks to @xuyun018 for finding this.
10 months ago
Matthias Melcher
68f437b63e
Improve visibility of selected tab in Fl_Tabs ( #1032 ).
10 months ago