Commit Graph

7212 Commits

Author SHA1 Message Date
ManoloFLTK
382d6b2fbd Bypass Mutter bug for menubar in fullscreen window (see #1061) 2024-09-14 15:08:03 +02:00
ManoloFLTK
bb917628ff Fix "Wayland crash on mapping windows at startup" (#1072) 2024-09-13 11:47:08 +02:00
ManoloFLTK
6aa5b70307 Fix problems introduced at commits 9b777cc and d70c79b 2024-09-13 11:39:08 +02:00
ManoloFLTK
31f4a44054 Fix typo in Doxygen text: unod --> undo 2024-09-12 14:14:18 +02:00
ManoloFLTK
5cc9845f2f Fix "fl_read_image() missing right and bottom pixel line" (#1066) 2024-09-11 22:17:07 +02:00
ManoloFLTK
9b777cc011 Wayland + Mutter: fix issue with menubar on fullscreen window (#1061) 2024-09-10 07:50:40 +02:00
ManoloFLTK
d70c79b8bc Wayland: one more fix yet for interactive move of subwindow inside parent 2024-09-09 10:27:04 +02:00
ManoloFLTK
2a87244ae3 Add support of GL with Wayland for Linux on Apple hardware 2024-09-07 16:50:14 +02:00
ManoloFLTK
17cebc851b Add pointer to Fl_Image::scale() to documentation of Fl_Image::copy(int, int) 2024-09-07 11:49:05 +02:00
Matthias Melcher
d8eb45531e Fixes menu scrolling for secondary screens (#1060)
- huge menus would scroll down when the mouse pointer hit
position 0, but for some secondary screens, the top edge is
not at y==0, so now we check for a range a the top border of
the working space of the screen showing the menu.
2024-09-04 16:06:29 +02:00
Matthias Melcher
2b1f15084d Fixes menubar glitch when mouse is at y==0 (#1060) 2024-09-04 15:23:22 +02:00
Matthias Melcher
2834213815 Reverting false Ctrl Key fix on Windows
- 1ae43956e2
2024-09-02 11:59:36 +02:00
Matthias Melcher
aa6ce6b9f1 Cairo image drawing improvements 2024-09-01 16:11:31 +02:00
Matthias Melcher
634ce805e5 Fixing set_font and image overflow for Cairo. 2024-08-31 23:20:27 +02:00
Matthias Melcher
885dbc4198 Removing wrongfully commited code. 2024-08-28 18:43:34 +02:00
ManoloFLTK
b124ac9066 Fix return values of Fl_Printer::begin_job() with GTK dialogs 2024-08-28 17:56:54 +02:00
ManoloFLTK
b95a7eccd9 Fix Doxygen problems with fl_draw() functions. 2024-08-28 10:05:17 +02:00
ManoloFLTK
c7417f793f Restore building with option FLTK_USE_POLL 2024-08-27 18:32:47 +02:00
ManoloFLTK
5fae7b36bb Fix Fl_GDI_Graphics_Driver::rect_unscaled() (#1052) 2024-08-27 16:52:20 +02:00
Matthias Melcher
ec05f78d98 Adding horiizonatl and vertical label margin
- sizeof(Fl_Widget) not increased
- label positions can be adjusted
- try it out in test/label app
- full support in FLUD
2024-08-27 15:13:32 +02:00
Matthias Melcher
5879e7fae7 Update comment. 2024-08-27 13:20:04 +02:00
ManoloFLTK
008d71f5b7 Fix for artefact in X11 1-pixel thick rect drawing with some drivers (#156, #1052) 2024-08-26 22:56:27 +02:00
ManoloFLTK
13f1911624 Implement and document Fl::add_system_handler() for Wayland 2024-08-26 09:38:57 +02:00
ManoloFLTK
6d04ef2caa Fix Fl_GDI_Graphics_Driver::rect_unscaled() (#1052) 2024-08-26 09:22:04 +02:00
ManoloFLTK
01f687e26a Document that Fl::add_system_handler() is not implemented under Wayland 2024-08-25 23:36:48 +02:00
ManoloFLTK
fc57a51836 Fix Fl_Wayland_Screen_Driver::compose() to handle the FL_Alt_Gr key 2024-08-25 12:06:59 +02:00
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
2024-08-23 12:43:21 +02:00
Matthias Melcher
47bf422e42 Ducumentation fix for previous commit 2024-08-18 14:42:21 +02:00
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.
2024-08-18 14:42:21 +02:00
ManoloFLTK
afc2072878 Fix Doxygen typos in fl_draw() documentation 2024-08-14 18:27:35 +02:00
Matthias Melcher
a9e989cc2d Adding image support for angraved and shadow label types 2024-08-14 01:52:37 +02:00
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
2024-08-14 01:52:37 +02:00
Matthias Melcher
325ac336c7 Adding gap parameter to fl_draw(...)
This allows the user to define the spacing between a
possible imge and the text.
2024-08-14 00:35:55 +02:00
Matthias Melcher
9f04497d6e Improved documentation for fl_draw()
There are no code changes in this commit, only added
documentation and improved formatting.
2024-08-13 20:58:35 +02:00
Greg Ercolano
85d1d904ec Small doc fixes (\See -> \see) 2024-08-12 18:31:05 -07:00
Greg Ercolano
f825fca43c Improve handling of malformed ANSI. (#950) 2024-08-12 18:00:54 -07:00
Matthias Melcher
3922ef67c1 Further accelerating Fl_Text_Display (#596)
This commit adds lazy evaluation for the wrapped line calculation,
making scrolling much more interactive.
2024-08-12 12:22:25 +02:00
Matthias Melcher
2013c4fd67 Adding Fl_Input comments. 2024-08-11 12:11:35 +02:00
ManoloFLTK
419ec5269c Remove "struct Fl_XColor" from list of documented classes 2024-08-10 23:14:56 +02:00
Albrecht Schlosser
666bbda70e Fix tabs, trailing spaces, and update dependencies 2024-08-10 20:32:19 +02:00
mid-kid
b83a6abe01 Configure/make: Quote variables that may contain spaces
This allows installing FLTK to directories that contain spaces.
2024-08-10 16:28:37 +02:00
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.
2024-08-08 14:49:34 +02:00
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.
2024-08-04 15:59:44 +02:00
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
2024-08-04 11:53:35 +02:00
Matthias Melcher
9bb9cb3f96 Optimize Fl_Text_Display scrolling speed (#596). 2024-08-04 00:32:11 +02:00
Matthias Melcher
bc73580366 Pulldown button size in Fl_Tag configurable with OV_BORDER now. 2024-08-03 21:39:22 +02:00
Albrecht Schlosser
7d90a3b373 Fix indenting, add comments for clarity
no operative code changes in this commit
2024-08-03 18:09:58 +02:00
Albrecht Schlosser
fd691b6173 Remove obsolete statement (#1033)
Thanks to @xuyun018 for finding this.
2024-08-03 18:07:05 +02:00
Matthias Melcher
68f437b63e Improve visibility of selected tab in Fl_Tabs (#1032). 2024-08-03 15:26:03 +02:00
Matthias Melcher
0654da9d4a Fixes Fl_Tags close button and pulldown button color. 2024-08-03 14:18:04 +02:00