summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2023-12-06Solve issue 856: manolo's parameter namesGreg Ercolano
2023-12-05Wayland: much lighter but partial implementation of the "GTK Shell" protocolManoloFLTK
Only the middle-button click gesture is implemented which avoids interference with what libdecor does with right-click and double-click.
2023-12-05#856: FLUID: improved Declaration dialogMatthias Melcher
Also makes enum comment in Fl_File_Chooser.fl manageable. Not backward compatible: don't try to recreate the File Chooser with older FLUID versions.
2023-12-05Wayland+CMake: use set_source_files_properties() for libdecor - cont'dManoloFLTK
2023-12-05Wayland+CMake: use set_source_files_properties() for libdecorManoloFLTK
2023-12-04Fix issue 854 - append_ansi() len fixGreg Ercolano
2023-12-04Fix compiler warningsAlbrecht Schlosser
fluid/code.cxx: unused variable src/drivers/Xlib/Fl_Xlib_Graphics_Driver_font_x.cxx: function may return address of local variable [-Wreturn-local-addr]
2023-12-04New member function Fl_Image_Surface::mask(Fl_RGB_Image*)ManoloFLTK
2023-12-03Solves issue #856: improve Fl_File_Chooser enum docsGreg Ercolano
2023-12-02Improve contrast of check marks and radio buttons (#443)Albrecht Schlosser
- add fl_draw_radio(...) to standardize radio button drawing - src/Fl_Light_Button.cxx: use fl_contrast() to determine color of radio button and check (light) button check marks, and use new fl_draw_radio() method - src/Fl_Menu.cxx: same as src/Fl_Light_Button.cxx and use fl_draw_check() instead of "manually" drawing the check mark (forgotten in an earlier update)
2023-12-02Wayland: make OPTION_USE_SYSTEM_LIBDECOR ON by defaultManoloFLTK
This commit makes the default FLTK build setting use libdecor as packaged in Linux when the build system contains packages libdecor-0-dev and libdecor-0-plugin-1-gtk in version ≥ 0.2.0. Otherwise, FLTK uses the bundled version of libdecor. This includes situations where package libdecor-0-dev is present in an earlier version.
2023-12-01Adds some possible NULL references and small fixesMatthias Melcher
2023-12-01Fixes name conflict in X11 GL swap_intervalMatthias Melcher
2023-11-30Wayland: use GTK Shell also with system libdecorManoloFLTK
2023-11-30Fixes anonymous union intialisation for C++98Matthias Melcher
2023-11-29solve issue 853: make scrollbar publicGreg Ercolano
2023-11-29Add commandline conversion for Windows (no-op on other platforms)Albrecht Schlosser
- add Fl::args_to_utf8() to convert commandline arguments to UTF-8 This new function closes the gap that previously only Visual Studio applications converted their commandlines to UTF-8. Tested with MinGW, MSYS2/MinGW-w64, and Visual Studio (2019).
2023-11-29Adds OpenGL swap interval documentation.Matthias Melcher
2023-11-29Merge branch 'master' of https://github.com/fltk/fltkMatthiasWM
2023-11-29Implements swap_interval for MSWindows.MatthiasWM
2023-11-28Adds OpenGL swap_interval for Wayland and X11.Matthias Melcher
2023-11-28Rearrange PostScript graphics driver code redundant with Cairo driverManoloFLTK
2023-11-28Remove PostScript graphics driver code redundant with Cairo driverManoloFLTK
2023-11-27Fix compiler warning, dependencies, and trailing whitespaceAlbrecht Schlosser
The benign warning was: ‘Fl_Browser_::hscrollbar’ will be initialized after [-Wreorder] ‘int Fl_Browser_::linespacing_’ ...
2023-11-27Cairo graphics driver: Improve drawing of Fl_Pixmap and Fl_BitmapManoloFLTK
2023-11-27Cairo graphics driver: Improve drawing of Fl_Pixmap and Fl_BitmapManoloFLTK
2023-11-26Adds GL swap control for X11Matthias Melcher
2023-11-26STR 1373: adds vsync control to OpenGL contexts on macOSMatthias Melcher
Windows and X11 to follow, no idea about Wayland.
2023-11-26Restores mouse pointer before popping up cut/copy/paste menuMatthias Melcher
on Fl_Input and Fl_Text_Display Also adds – to Help View
2023-11-25Adds pulldown menu to Fl_Text_Display and ..._EditorMatthias Melcher
2023-11-25Cleans up Fl_Input right mouse button menuMatthias Melcher
2023-11-25STR 749: Adds cut/copy/paste popup menu to Fl_InputMatthias Melcher
2023-11-25Fix and improve fl_call_main.cAlbrecht Schlosser
- add missing NULL pointer at end of argv - fix #if condition for compilation Todo: another update will follow soon, using a standardized FLTK interface for argument conversion to UTF-8 for non-MSVC builds.
2023-11-25Adds `linespacing()` to `Fl_Browser_` and all derived widgetsMatthias Melcher
2023-11-25Fl_Terminal better name for flags -> charflagsGreg Ercolano
2023-11-25Cairo graphics driver: Improve drawing of Fl_Pixmap and Fl_BitmapManoloFLTK
Previously, these objects were drawn slightly blurred on HighDPI. This commit has them resized to the pixel size of the area where they are being drawn and then drawn.
2023-11-23Stabilizes Fl_Tile size_range mode.Matthias Melcher
- improved documentation - new tile resize strategy - robust against zero sized children
2023-11-23Added safety when calling Text_Display methodsMatthias Melcher
- before assigning a buffer (Github #845) - also fixed a warning form unused arg in Fl_Terminal
2023-11-23Adds zero size check in Fl_Tile::on_moveMatthias Melcher
2023-11-22Fixes warning in Fl_Tile by DoxygenMatthias Melcher
2023-11-22Fixes warning and errors.Matthias Melcher
2023-11-22Adding size range settings to Fl_Tile, initial commit.Matthias Melcher
- some documentation missing - Fl_Tile::resize() not satisfying yet - minimums work, maximums currently ignored - 0 size children may make program hang
2023-11-21Fl_Terminal docs: Added some tablesGreg Ercolano
2023-11-21Added output_translate(): controls lf -> crlf translationGreg Ercolano
2023-11-20Fl::check() docs fix: example indentedGreg Ercolano
2023-11-20Change Fl_Terminal default color() 0x0 -> FL_BLACKGreg Ercolano
2023-11-20Solve issue 837, doc some protected methods.Greg Ercolano
2023-11-20Fix Fl_Wayland_Image_Surface_Driver c'torManoloFLTK
2023-11-19Doc all pub/prot members, remove unused, add todoGreg Ercolano
- Made sure all public+protected members are documented. - Reclassified some private -> protected: > vscroll_width() - Removed signatures for unimplemented (non-existant) methods: > u8c_cursor(void) > history_use(int,bool) > cursor_h() - Reclassified some protected -> private: > x_to_glob_col() > xy_to_glob_rowcol() > is_hist_ring_row() > is_disp_ring_row() > handle_ctrl() > is_printable() > is_ctrl() ..etc.. > handle_selection_autoscroll() > handle_selection() > is_redraw_style - Add todo for ESC 7 and ESC 8 - Small code formatting mods - Small typos
2023-11-19Windows/MSVC: Fix wide char commandline handling (#840)Albrecht Schlosser
Windows programs (subsystem:windows, not Windows console programs) compiled with Visual Studio need a WinMain entry point. The commandline arguments handled by this function are now properly converted to UTF-8 before the standard main() entry point is called. This applies only to Visual Studio! Note that some build systems like MinGW and/or MSYS2 may still have issues with some Unicode (non-ASCII) commandline arguments.