summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2020-05-07Add (x,y) positioning mode to common dialogsairbrett
Add new function to set (x,y) position. Reset to previous mode after innards is called by fl_* function. Use magic number for preferred position state. Note: several commits squashed and commit messages edited by AlbrechtS.
2020-05-04Support case when window is fullscreen - continuedManoloFLTK
2020-05-04Support case when captured window is fullscreen: no titlebar.ManoloFLTK
2020-04-29Reformat src/cmap.cxx and regen src/fl_cmap.hAlbrecht Schlosser
- remove obsolete code / comments (see Git for history) - add copyright to generated file src/fl_cmap.h - generate copyright year in src/fl_cmap.h automatically - add color indices as comments to color values - remove $Id header - replace $Id trailer with a more useful comment
2020-04-29Minor readability doc change.ManoloFLTK
2020-04-28Update dependencies and .gitignoreAlbrecht Schlosser
2020-04-24Misc doc improvements.ManoloFLTK
2020-04-24Doc change with intent to make it clearer.ManoloFLTK
2020-04-23Update © year.ManoloFLTK
2020-04-23Check for success of the FormatMessageW() call.ManoloFLTK
2020-04-22Match variable type (DWORD) and format specifierManoloFLTK
2020-04-22Add optional argument to Fl_Printer::begin_job() to inform caller when an ↵ManoloFLTK
error occurs. This solves an issue raised in fltk.general : Fl_Printer errors - how can I interpret them? https://www.fltk.org/newsgroups.php?s38419+gfltk.general+v38427
2020-04-21Slightly improve drawing of window titlebars.ManoloFLTK
2020-04-21Avoid useless multiplication by 1 operations.ManoloFLTK
2020-04-14Make sure output file name extension is visible.ManoloFLTK
2020-04-12MacOS: show print chooser panel as a sheet.ManoloFLTK
2020-04-10Give example of use of Fl_Native_File_Chooser::USE_FILTER_EXT option.ManoloFLTK
2020-04-10Fix regression in Fl_Native_File_Chooser under macOS when USE_FILTER_EXT is ON.ManoloFLTK
2020-04-07Move Fl_Image_Reader.cxx to libfltk_images where it belongs.ManoloFLTK
2020-04-05Update standard file headersManoloFLTK
2020-04-03Fix Fl_X11_Window_Driver::capture_titlebar_and_borders() for resizable window.ManoloFLTK
2020-03-26Update documentation, fix typosAlbrecht Schlosser
2020-03-25Fix for issue #65: FLTK breaks when resize request is deniedManoloFLTK
Under Windows, window resize requests sent by the program are now ignored, which is what happens under X11 and macOS. Previously, the window would become frozen.
2020-03-20Fix a typoAlbrecht Schlosser
2020-03-20Rewrite Fl_Xlib_Graphics_Driver::get_font_name() with less lines of code.ManoloFLTK
2020-03-20Fix Fl::get_font_name() under X11+Xft-PangoManoloFLTK
2020-03-15Minor rewriting for more readable code.ManoloFLTK
2020-03-12Fix when using Fl_Scroll inside Fl_Overlay_WindowManoloFLTK
2020-03-11Remove CodeWarrior "support"Albrecht Schlosser
Metrowerks CodeWarrior was an ancient macOS compiler (discontinued since 2005) that defined the macro __MWERKS__. Code using this macro and several comments have been removed.
2020-03-10Complete fix for "[fltk.general] scroll and overlay window" dated 7 march 2020.ManoloFLTK
2020-03-08Improve use of fl_scroll within Fl_Overlay_Window on macOS.ManoloFLTK
This is a partial fix for "[fltk.general] scroll and overlay window" dated 7 march 2020. Mixing of Fl_Scroll and Fl_Overlay_Window is now OK also on a retina display, but there are still problems when the window is scaled.
2020-03-08Update Fl_Text_Display documentationAlbrecht Schlosser
No code changes except minor formatting and trailing whitespace.
2020-03-03Merge remote-tracking branch 'refs/remotes/origin/master'ManoloFLTK
2020-03-03Fix for STR#3534 to draw correctly Fl_Tiled_Image's on non-display surfaces.ManoloFLTK
2020-03-03Clarify documentation of Fl_PackAlbrecht Schlosser
2020-03-02Clarify Fl_File_Chooser documentationAlbrecht Schlosser
2020-02-28Fl_Sys_Menu_Bar: make it strict equivalent of Fl_Menu_Bar outside macOSManoloFLTK
2020-02-22Fix the Fl_RGB_Image(Fl_Pixmap *pxm) c'tor when pxm is scaled.ManoloFLTK
2020-02-11Fix static analyzer issues in Fl_Text_DisplayAlbrecht Schlosser
Remove unused variables and unused code to silence warnings.
2020-02-11Fix static analyzer errors and warningsAlbrecht Schlosser
Fix several bugs found by scan-build (more to come). https://clang-analyzer.llvm.org/scan-build.html See also current travis-ci build log with static analyzer, e.g. https://travis-ci.com/fltk/fltk/jobs/285426415 (link may become invalid in the future).
2020-02-10X11: Fix X Input Methods (XIM) (STR 3502, 3192)Albrecht Schlosser
Revert commit 958d912ffcdb using 'XSetLocaleModifiers("@im=");' which was incorrect (STR 3192). Apply fix for STR 3502, using 'XSetLocaleModifiers("");' which appears to be the correct solution for using X Input Methods (XIM). This has also been backported to FLTK 1.3.6 in branch-1.3, see commit 219ae5e455e7943ffb35fdd5edbe13dcc6955423.
2020-02-10Implement fl_putenv() as cross-platform putenv()Albrecht Schlosser
2020-02-09Remove empty file from compilationAlbrecht Schlosser
2020-02-09Eliminate -Wunknown-pragmas and -Wsign-compare warnings on GCCdarealshinji
2020-02-09Restore macOS capacity to turn window fullscreen encompassing several screens.ManoloFLTK
2020-02-07Fix Fl_Cocoa_Window_Driver::resize when called before the window is show()'n.ManoloFLTK
2020-02-07Fix state of visible() flag after Fl_Window(x, y, w, h, t).ManoloFLTK
The doc states: "Top-level windows initially have visible() set to 0 and parent() set to NULL. Subwindows initially have visible() set to 1 and parent() set to the parent window pointer." The first statement was not satisfied when a window was constructed with the Fl_Window(x, y, w, h, t) constructor.
2020-02-06Fix computation of Fl_Window::decorated_h() on macOS when screen is scaled.ManoloFLTK
2020-02-03Move fl_font(face, size) to fl_draw.cxxAlbrecht Schlosser
I believe this is a better place. Also: add FL_EXPORT since it's no longer inline.
2020-02-03Fix regression calling fl_font() w/o draw contextAlbrecht Schlosser
According to the documentation fl_font(face, size) may be called "outside a draw context if necessary to call fl_width()". This worked in 1.3.5 but did not in 1.4 (so far). I reworded the docs to make clear that other measurement functions can be called as well and refactored the code to make sure that fl_font(face, size) will open the display if necessary.