summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2023-07-22Adds default shortcut to Fl_Shortcut_Button.Matthias Melcher
2023-07-21Wayland: slightly improve procedure to close toplevel windowManoloFLTK
2023-07-19Fix missing (new) source file in fluid and dependenciesAlbrecht Schlosser
New file: Fl_Button_Type.cxx
2023-07-19Fix textcolor of transient scale display (#756)Albrecht Schlosser
Make background color and text (label) color of the transient scale display consistent with tooltip colors.
2023-07-15Documentation: add detail about primary monitorManoloFLTK
2023-07-14Keep sending FL_DRAG until all mouse buttons are releasedAlbrecht Schlosser
The old version would send FL_MOVE events after dragging with more than one mouse buttons pressed, as soon as the first button was released. The new version sends FL_DRAG until the last mouse button is released and then FL_MOVE, as usual. This change affects dragging only if more than one mouse button is pushed and held while dragging. The order of pushing and releasing mouse buttons does not affect the behavior.
2023-07-13Wayland: add control of targeted screen by fullscreen windowsManoloFLTK
2023-07-13Clamp input values of Fl_Color_Chooser (#749)Albrecht Schlosser
Note: this may be somewhat confusing if the user enters out-of-range values manually because they are overwritten immediately with valid input but the effects seen in issue #749 are IMHO worse.
2023-07-12Wayland: keep mouse button state across push/release eventsAlbrecht Schlosser
Notes: (1) Fl::e_state holds the current state of all mouse buttons which is returned by Fl::event_buttons() - "plural form". (2) Fl::e_keysym holds the "key" of the current event which can be a mouse button, returned by Fl::event_button() - "singular form".
2023-07-12Fix Wayland FL_RELEASE events reporting wrong buttonAlbrecht Schlosser
... in Fl::event_button(). This can be seen when two buttons have been pressed simultaneously and then released (see test/handle_events.cxx).
2023-07-12corrects default popup menu box type for Fl_Choice (#748)Matthias Melcher
2023-07-10More detailed documentation of Fl::screen_xywh()ManoloFLTK
2023-07-09Update CMakeLists.txtMohammed Alyousef
2023-07-07Improve documentation of Fl::screen_num(int x, int y)ManoloFLTK
2023-06-28Clarify documentation of Fl_Window::size_range()Albrecht Schlosser
Document typical (recommended) usage and platform specific behavior.
2023-06-28Have Fl_Wayland_Window_Driver use Fl::add_check() when adequateManoloFLTK
2023-06-27Slight simplification of Fl_Wayland_Gl_Window_Driver::swap_buffers()ManoloFLTK
Also, reorder members of class Fl_Wayland_Gl_Window_Driver
2023-06-26Fix Fl_Cocoa_Gl_Window_Driver::resize()ManoloFLTK
The additional [NSOpenGLContext flushBuffer] messages appear necessary when an Fl_Tile contains 2 or more GL subwindows.
2023-06-24Wayland: improve mapping and hiding of GL (subs)windowsManoloFLTK
2023-06-23Slightly simpler Fl_Wayland_Window_Driver::hide()ManoloFLTK
2023-06-19Wayland: improve support of multi-display setupsManoloFLTK
2023-06-13Wayland: fix menutitle windows with scaled, multiple displayManoloFLTK
2023-06-12 Fix "Cannot link if built with OPTION_PRINT_SUPPORT=OFF" (#734)ManoloFLTK
2023-06-06 Fix "Fl::get_font_name() with Pango is inconsistent"-cont'd (#732)ManoloFLTK
2023-06-06 Fix "Fl::get_font_name() with Pango is inconsistent"-cont'd (#732)ManoloFLTK
2023-06-06 Fix "Fl::get_font_name() with Pango is inconsistent"-cont'd (#732)ManoloFLTK
2023-06-05 Fix "Fl::get_font_name() with Pango is inconsistent"-cont'd (#732)ManoloFLTK
2023-06-05Fix "Fl::get_font_name() with Pango is inconsistent" (#732)ManoloFLTK
2023-06-05Improve re-use of client/compositor shared memory by Wayland buffersManoloFLTK
2023-06-01Fix "Huge memory leak under Wayland" (#730)ManoloFLTK
2023-05-31Slightly simplify Fl_Wayland_Window_Driver::makeWindow()ManoloFLTK
2023-05-22Slightly improve Fl_Wayland_Window_Driver::flush()ManoloFLTK
2023-05-22Slightly re-organize class Fl_Wayland_Window_DriverManoloFLTK
2023-05-20Fix name of static member variable Fl_Wayland_Screen_Driver::wl_displayManoloFLTK
and add explanatory comment.
2023-05-19 Fix Fl_Simple_Terminal::append(str, len) assumes a null terminated string ↵ManoloFLTK
(#728)
2023-05-17Add null-pointer check for tall menu window under Wayland+KDEManoloFLTK
2023-05-15Fix handling of tall menu windows with the KDE Wayland compositorManoloFLTK
Unfortunately (sigh), the KDE Wayland compositor does not seem to support correctly, that is, as described by the Wayland protocol, popup windows that are taller than the display : there is no means to make it draw such popup so that part of it is above the screen top, whereas the 3 other tested compositors (Mutter, Weston, Sway) don't have this problem. This commit implements a new approach to draw tall menu windows, and uses it only with the KDE compositor : instead of asking the compositor to slide the menu window up, the menu window remains at a fixed position and the graphics inside the window is slided up. This requires to add a member variable, int offset_y, to class menuwindow, that gets used only for the Wayland platform and that contains the vertical offset by which graphics to the menu window is moved, expressed in FLTK units. An accessor to the address of this member variable is added to class Fl_Window_Driver.
2023-05-13Wayland: improve tall menu window support with xdg_positioner_set_offset()ManoloFLTK
2023-05-12Wayland: slightly simpler surface_enter() for toplevel GL windowsManoloFLTK
2023-05-11Wayland: fix opening GL top-level window on 2-screen system - cont'dManoloFLTK
2023-05-11Wayland: fix opening GL top-level window on 2-screen systemManoloFLTK
2023-05-09Fix doxygen doc generation and document platform specific filesAlbrecht Schlosser
Pure platform specific files like 'src/*_win32.cxx' are excluded from doxygen processing and don't need doxygen specific guard macros. Document this fact prominently at the beginning of each file. Fix exclude patterns and remove duplicates from Doxyfile.in.
2023-05-03Fl_Wayland_Screen_Driver::get_system_scheme() is not neededManoloFLTK
2023-05-03Wayland: clearer procedure to complete initialisation of screen dataManoloFLTK
2023-05-02 Wayland: problem with menus on secondary monitor - cont'd (#724)ManoloFLTK
2023-05-02Wayland: problem with dropdown menus on secondary monitor (#724)ManoloFLTK
2023-05-01Wayland: wl_cursor_theme_load() may return NULLManoloFLTK
2023-05-01Fix regression in Fl::screeen_xywh() introduced at 9ea0cc8ManoloFLTK
2023-05-01Check return values of calls to libxkbcommon functions (#727)ManoloFLTK
2023-04-30Allow building Wayland platform without dbus - cont'd (#726)ManoloFLTK
CMake-based building without dbus is made possible