summaryrefslogtreecommitdiff
path: root/src/drivers/WinAPI
AgeCommit message (Collapse)Author
2025-12-21Win32: removed debugger messagesMatthiasWM
2025-12-21Win32: first commit for Pen driver (#1330)MatthiasWM
2025-12-21Win32: mergeMatthiasWM
2025-12-21Win32: Basic Pen driver setupMatthiasWM
2025-12-19Add Fl_Gl_Window 32 bit depth buffer option.Matthias Melcher
2025-12-13Same change for all other platforms.Matthias Melcher
2025-11-27Fix typo for all but macOSMatthias Melcher
2025-11-27Refactor pen interface into driver system.Matthias Melcher
2025-11-01Fix UTF-8 documentation'Matthias Melcher
Fix Unicode buffer allocation
2025-11-01Improve docs for UTF-8 calls (1/2)(#125)Matthias Melcher
2025-05-09Remove declaration of Fl_Scalable_Graphics_Driver from FL/Fl_Graphics_Driver.HManoloFLTK
and declare it in non-public header src/Fl_Scalable_Graphics_Driver.H which also declares classes Fl_Font_Descriptor and Fl_Fontdesc.
2025-04-18Fix "heap-use-after-free" in resize_after_screen_change() (#1248)Timothy Lee
When a native window is destroyed, make sure the callback to Fl_WinAPI_Window_Driver::resize_after_screen_change() is removed. Added by Albrecht-S: Thanks for the original fix to Timothy Lee (@timothytylee). src/drivers/X11/Fl_X11_Window_Driver.cxx: equivalent fix for X11 as discussed on GitHub PR #1248
2025-03-25Fix: Windows: Clipboard gets stuck when text is copied while window is ↵ManoloFLTK
hidden (#1233)
2025-03-17Fix comparison that's always trueAlbrecht Schlosser
... because base_dir[0] and dest_dir[0] are *signed* chars.
2025-03-17Windows: fix "heap-use-after-free" in home_directory_name()Albrecht Schlosser
Calling getenv() twice with different output vars and accessing both later could cause "heap-use-after-free" error in some Windows versions. The result of home_directory_name() would be unpredictable. Found using Wine and/or MSYS2/clang/libc++ with Address Sanitizer.
2025-02-05Fix typos and trailing whitespaceAlbrecht Schlosser
Also replace 'MSWindows' with 'Windows' where appropriate, leaving only old documents like README files from 1.3 and older as-is.
2024-12-21FLUID: Improve path handling on Windows.MatthiasWM
2024-12-10Fix compiler warnings (VS 2019)Albrecht Schlosser
Found with warning level: /W3
2024-11-12Windows: Fix flicker/animation when transitioning from fullscreen to maximizeddannye
2024-11-12 Fix Keyboard shortcut (alt + letter) does not work in input widget-Windows ↵ManoloFLTK
(#1122)
2024-11-09Fix Windows: fullscreen_off does not correctly preserve window size (#1116)ManoloFLTK
2024-11-01Wayland: Fix issue in maximization of a borderless window (#1099)ManoloFLTK
Also fixes scenarios mixing fullscreen and maximization: - maximize - set fullscreen - unset fullscreen - un-maximize with and without window border.
2024-10-27Quick fix for Windows Ctrl character handling - cont'dManoloFLTK
2024-09-02Reverting false Ctrl Key fix on WindowsMatthias Melcher
- 1ae43956e2bfb933d63fc774ca8e4ed22e4108dd
2024-08-23Quick fix for Window Ctrl charcter handling.Matthias Melcher
This is needed to allow platform compatibel e_text and e_length, but a lot more work ist needed to unify keyboard handling
2024-05-27Remove useless Fl_Window_Driver accessors after new member ↵ManoloFLTK
Fl_Window::get_size_range()
2024-05-09Remove unused variables, fix compiler warningsAlbrecht Schlosser
2024-04-30Implement and document new class Fl_PDF_File_SurfaceManoloFLTK
2024-04-13Remove "MS" from "MS Windows" in docs code, and commentsAlbrecht Schlosser
The system (platform) is called "Windows", "MS Windows" doesn't make much sense. I removed "MS" for consistency.
2024-03-03Fix Visual Studio compiler warningsAlbrecht Schlosser
2024-03-01Windows: improve changing scale values of display while app runs.ManoloFLTK
2024-03-01Windows: make Ctrl/+/-/0/ scaling system-wide if all screens have same DPIManoloFLTK
2024-01-29Fix cached GL context on all platforms (#737)Matthias Melcher
2023-12-13#840: Fixes fixed buffer size in Fl::args_to_utf8()MatthiasWM
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-29Implements swap_interval for MSWindows.MatthiasWM
2023-11-06CHANGES.txt: add Fl_Grid, Fl_Window::maximize()ManoloFLTK
Also, remove stray virtual keyword.
2023-11-05Add Fl_Window::maximize() and Fl_Window::un_maximize()ManoloFLTK
2023-10-11Fixes fl_filename_relative on Linux, Mac, and Windows (#787)Matthias Melcher
* fixed filename_relative for Linux * Fixing fl_filename_relative for MSWindows. * Update documentation * Fixed docs. * Fixes Linux and macOS builds
2023-09-05Adds some convenience methods.Matthias Melcher
fl_filename_absolute can no generate a path using arbitrary source paths. Fl_Menu_ adds find_item_with_user_data and find_item_with_argument Fl_String adds find(string, start)
2023-04-24Windows: define _WIN32_IE for older MinGW versions (#710)Albrecht Schlosser
... if _WIN32_IE is not defined. Older MinGW versions would otherwise not define SHGFP_TYPE_CURRENT which is needed since commit 5a4e7caa54bab9da2061b0003bb546aa0da6ea1b that fixes GitHub issue #710: "Fl_Preferences not stored on Windows 10". This commit is based on Ian's work as discussed in fltk.coredev, thread "fltk-1.4 build error in Fl_WinAPI_System_Driver.cxx with 32-bit mingw" on Apr 20, 2023.
2023-04-23Replace internal fl_create_offscreen() calls by new Fl_Image_SurfaceManoloFLTK
2023-03-27Windows: use SHGetFolderPathW() for application data folder (#710)Albrecht Schlosser
See GitHub issue #710: "Fl_Preferences not stored on Windows 10" Summary: don't use the undocumented registry key "Shell Folders", use function SHGetFolderPathW() instead although this function is meanwhile deprecated (but available since Windows XP). Note: tested with 32-bit build running on Windows XP (works).
2023-03-22Remove extraneous Wayland-related comment from Windows codeManoloFLTK
2023-02-13Windows: minor change to support build with mingw64 4.9ManoloFLTK
This old compiler is available as a cross compiler from macOS to 64-bit Windows.
2023-02-11Very controlled GDIplus startup and shutdown #635 (#679)Matthias Melcher
Fall back to GDI if GDIplus is not available
2023-02-10Unlimited undo/redo for Fl_Input_ and Fl_Text_Buffer (#558) (#676)Matthias Melcher
2023-01-13Fix for "Rename Fl_X* Fl_Window::i private class member" (#223)ManoloFLTK
2023-01-09Virtual member Fl_Window_Driver::makeWindow() now returns voidManoloFLTK
2023-01-02Fix missing include file for Visual StudioAlbrecht Schlosser
... if GDIPLUS is disabled. Thanks to Winfried Szukalski for reporting this.