summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2024-08-18Ducumentation fix for previous commitMatthias Melcher
2024-08-18Fix fl_overlay_rect smearing on macOS (#735)Matthias Melcher
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-14Fix Doxygen typos in fl_draw() documentationManoloFLTK
2024-08-14Adding image support for angraved and shadow label typesMatthias Melcher
2024-08-14Adding Fl_Widget::label_image_spacing() (#1039)Matthias Melcher
- 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-14Adding gap parameter to fl_draw(...)Matthias Melcher
This allows the user to define the spacing between a possible imge and the text.
2024-08-13Improved documentation for fl_draw()Matthias Melcher
There are no code changes in this commit, only added documentation and improved formatting.
2024-08-12Small doc fixes (\See -> \see)Greg Ercolano
2024-08-12Improve handling of malformed ANSI. (#950)Greg Ercolano
2024-08-12Further accelerating Fl_Text_Display (#596)Matthias Melcher
This commit adds lazy evaluation for the wrapped line calculation, making scrolling much more interactive.
2024-08-11Adding Fl_Input comments.Matthias Melcher
2024-08-10Remove "struct Fl_XColor" from list of documented classesManoloFLTK
2024-08-10Fix tabs, trailing spaces, and update dependenciesAlbrecht Schlosser
2024-08-10Configure/make: Quote variables that may contain spacesmid-kid
This allows installing FLTK to directories that contain spaces.
2024-08-08CMake: fix usage of OPENGL_GLU_INCLUDE_DIR (#1001)Albrecht Schlosser
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-04Fixes Fl_Text_Editor Home and End keys in line wrap modeMatthias Melcher
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-04Fix testing of multi-label alt shortcuts (#974)dannye
* find_shortcut(): fix testing of multi-label alt shortcuts * Use static function instead of macro
2024-08-04Optimize Fl_Text_Display scrolling speed (#596).Matthias Melcher
2024-08-03Pulldown button size in Fl_Tag configurable with OV_BORDER now.Matthias Melcher
2024-08-03Fix indenting, add comments for clarityAlbrecht Schlosser
no operative code changes in this commit
2024-08-03Remove obsolete statement (#1033)Albrecht Schlosser
Thanks to @xuyun018 for finding this.
2024-08-03Improve visibility of selected tab in Fl_Tabs (#1032).Matthias Melcher
2024-08-03Fixes Fl_Tags close button and pulldown button color.Matthias Melcher
2024-08-03Better Fl_Tabs callback handling.Matthias Melcher
2024-08-02Fix Fl_Tabs callback in Overflow mode (#1031).Matthias Melcher
2024-07-29Add RMB pulldown menu to Fl_Help_View, #75Matthias Melcher
- 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
2024-07-28GDI: fix StretchBlt mode settingCyprinus Carpio
2024-07-28 Crash in macOS when switching fullscreen window between displays (#1022)ManoloFLTK
2024-07-28Remove useless #include directive from Fl_Window_Driver.HManoloFLTK
2024-07-28Remove FL_AUTO_DELETE_EVENT featureMatthias Melcher
It's not ripe for release yet and possibly not even needed according to pyFLTK maintainers. Added: 8cffbd694106a2371d297caa008f2290185fed2f
2024-07-28Wayland: restore support of Fl_Tile with subwindow widget - cont'dManoloFLTK
2024-07-26Adds the FL_AUTO_DELETE_EVENT to suppress auto delete.Matthias Melcher
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.
2024-07-26Wayland: restore support of Fl_Tile with subwindow widgetManoloFLTK
2024-07-24Fix Fl_Scalable_Graphics_Driver::rect(x,y,w,h) (#1017)ManoloFLTK
2024-07-24Comment only: add Fl_GDIplus_Graphics_Driver to Fl_Graphics_Driver hierarchyManoloFLTK
2024-07-23Fix "line_style_doc program under X11: join type wrong" - cont'd (#1017)ManoloFLTK
2024-07-23Fix "line_style_doc program under X11: join type wrong" (#1017)ManoloFLTK
2024-07-21Fix slowness due to not clipping (#1014)Greg Ercolano
2024-07-19Remove unused function after commit 325004fManoloFLTK
2024-07-19Fix border case of use of fl_end_loop under Windows with USE_GDIPLUS=1ManoloFLTK
2024-07-19Fix warnings during 'make html'Greg Ercolano
This fix solves these warnings: $ make html [100%] Generating HTML documentation /usr/local/src/fltk-1.4.x.git/src/Fl.cxx:2275: warning: explicit link request to 'include' could not be resolved /usr/local/src/fltk-1.4.x.git/src/Fl.cxx:2263: warning: explicit link request to 'include' could not be resolved
2024-07-18Remove duplicated commentManoloFLTK
The remaining instance is in Fl_Gl_Window_Driver.cxx
2024-07-17Fix Fl_Tree related -Wall warningsGreg Ercolano
2024-07-17Added is_visible_r() for consistency w/is_visible()Greg Ercolano
2024-07-17Fix last_visible_item() to check parents (#1012)Greg Ercolano
2024-07-17Simplify creation of OpenGL contexts under X11 platform (#1005)ManoloFLTK
The previous approach FLTK used to create OpenGL contexts under the X11 platform followed a different code path to create contexts for OpenGL version 3 and above than to create contexts for OpenGL versions 1 or 2. The FLTK code followed exactly "Tutorial: OpenGL 3.0 Context Creation (GLX)" of the official OpenGL wiki, see: https://www.khronos.org/opengl/wiki/Tutorial:_OpenGL_3.0_Context_Creation_(GLX) That code worked OK with Debian 11 and with any tested Linux configurations in a VM running on Apple hardware. However, it failed with Debian 12 and later on native Linux boxes to create GL3 contexts with the FL_DOUBLE flag. That's what issue #1005 reports. A first attempt to fix #1005 followed instructions given at: https://registry.khronos.org/OpenGL-Refpages/gl2.1/xhtml/glXIntro.xml which supposedly describe how to create OpenGL contexts with GLX. That had no effect on issue #1005. This commit erases all attempts to use OpenGL3-specific calls or even the more modern glXCreateNewContext() function that appears with GLX version 1.3. The committed code uses only OpenGL 1-age functions to create OpenGL contexts for X11 windows. Created contexts follow the "Compatibility Profile" which means they are compatible with both modern OpenGL3-style and legacy OpenGL1/2-style. This appears to fix issue #1005.
2024-07-14Wayland: support move/resize of subwindow independently from parent (#1003)ManoloFLTK
2024-07-12Fix typo in comment referring to github issueManoloFLTK
2024-07-12gl_draw: fix drawing of text outside of viewportCyprinus Carpio
2024-07-09Fix warning (#1008)Greg Ercolano