summaryrefslogtreecommitdiff
path: root/src/drivers/WinAPI
AgeCommit message (Collapse)Author
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.
2022-12-30Use `FL_OVERRIDE` for all overridden virtual methods (#611)Matthias Melcher
FL_OVERRIDE is defined as `override` for C++11 and higher FL_OVERRIDE is defined as `override` for VisualC 2015 and newer Don't interfere with Fl_Widget::override()
2022-12-17Remove further unused code after 12da87bManoloFLTK
2022-12-17Remove useless Fl_System_Driver members after 12da87bManoloFLTK
2022-12-10Windows: fix memory leak caused by RegisterDragDrop (#569)Albrecht Schlosser
- call RevokeDragDrop() when the window is hidden - do not delete the *static* FLDropTarget object
2022-11-30Remove small files fl_XXX_gl_platform_init.cxxManoloFLTK
The single-function content of these files is moved to Fl_XXX_Gl_Window_Driver.cxx.
2022-11-15Add support of .svgz image files to fluidManoloFLTK
The prototype of the public Fl_SVG_Image constructor is expanded to allow construction from in-memory, gzip'ed binary data.
2022-11-11Remove redundant doxygen docs of fl_beep()Albrecht Schlosser
Also add a comment to all platform driver implementations.
2022-11-07Create class Fl_Unix_Screen_Driver used by X11 and Wayland platformsManoloFLTK
2022-10-02Add missing return value to Fl_WinAPI_Gl_Window_Driver::create_gl_context()ManoloFLTK
2022-10-02Clean use of virtual GLContext Fl_Gl_Window_Driver::create_gl_context().ManoloFLTK
2022-09-30FLTK widgets in OpenGL 3 windows: rewrite for driver system.ManoloFLTK
2022-09-26Replace all calls to sprintf() by calls to snprintf().ManoloFLTK
2022-09-01Simplify Fl_Window_Driver::screen_num() member functions.ManoloFLTK
2022-08-29Make hybrid Wayland/X11 platform.ManoloFLTK
2022-08-20Remove FL_EXPORT qualifier from platform-specific class declarations.ManoloFLTK
2022-06-19Move input method support to Fl_Screen_Driver from Fl_Graphics_DriverManoloFLTK
2022-06-12Issue #141: fl_filename_absolute bugs fixed for MSWindows.MatthiasWM
2022-05-07Change protection levels in classes Fl_XXX_Gl_Window_DriverManoloFLTK
2022-05-05Move struct shape_data_type inside Fl_XXX_Window_Driver.ManoloFLTK
2022-04-12Modify test/cairo_test.cxx to show roles of OPTION_CAIRO and OPTION_CAIROEXT.ManoloFLTK
Also make clear that these options require, for now, Fl_Double_Window to work cross-platform.
2022-04-03Remove '#include <sys/stat.h>' from FL/platform_types.hAlbrecht Schlosser
- Add this include statement only where needed. - Rename Fl_System_Driver::stat() to flstat(). This fixes an issue when using some (!) MinGW 64-bit build systems that obviously '#define stat _stat64' or similar. This would result in compiler problems if 'stat()' is a member function of Fl_System_Driver.
2022-03-31Fix whitespace errors (no code changes)Albrecht Schlosser
2022-03-23Remove vsscanf_l() call from Win32 driver (it appears to be a BSD-ism and ↵ian.macarthur
unsupported by the MS tools) and rename several clocale specific methods from "name" to "vname" since they take a va_list not a variable list of arguments.