summaryrefslogtreecommitdiff
path: root/src/drivers
AgeCommit message (Collapse)Author
2024-07-26Wayland: restore support of Fl_Tile with subwindow widgetManoloFLTK
2024-07-24Fix Fl_Scalable_Graphics_Driver::rect(x,y,w,h) (#1017)ManoloFLTK
2024-07-23Fix "line_style_doc program under X11: join type wrong" - cont'd (#1017)ManoloFLTK
2024-07-23Fix "line_style_doc program under X11: join type wrong" (#1017)ManoloFLTK
2024-07-19Remove unused function after commit 325004fManoloFLTK
2024-07-19Fix border case of use of fl_end_loop under Windows with USE_GDIPLUS=1ManoloFLTK
2024-07-18Remove duplicated commentManoloFLTK
The remaining instance is in Fl_Gl_Window_Driver.cxx
2024-07-17Simplify creation of OpenGL contexts under X11 platform (#1005)ManoloFLTK
The previous approach FLTK used to create OpenGL contexts under the X11 platform followed a different code path to create contexts for OpenGL version 3 and above than to create contexts for OpenGL versions 1 or 2. The FLTK code followed exactly "Tutorial: OpenGL 3.0 Context Creation (GLX)" of the official OpenGL wiki, see: https://www.khronos.org/opengl/wiki/Tutorial:_OpenGL_3.0_Context_Creation_(GLX) That code worked OK with Debian 11 and with any tested Linux configurations in a VM running on Apple hardware. However, it failed with Debian 12 and later on native Linux boxes to create GL3 contexts with the FL_DOUBLE flag. That's what issue #1005 reports. A first attempt to fix #1005 followed instructions given at: https://registry.khronos.org/OpenGL-Refpages/gl2.1/xhtml/glXIntro.xml which supposedly describe how to create OpenGL contexts with GLX. That had no effect on issue #1005. This commit erases all attempts to use OpenGL3-specific calls or even the more modern glXCreateNewContext() function that appears with GLX version 1.3. The committed code uses only OpenGL 1-age functions to create OpenGL contexts for X11 windows. Created contexts follow the "Compatibility Profile" which means they are compatible with both modern OpenGL3-style and legacy OpenGL1/2-style. This appears to fix issue #1005.
2024-07-14Wayland: support move/resize of subwindow independently from parent (#1003)ManoloFLTK
2024-07-12Fix typo in comment referring to github issueManoloFLTK
2024-07-04New Wayland-specific function: int fl_wl_buffer_scale(Fl_Window *)ManoloFLTK
2024-07-03Wayland: fix interactive moving and resizing of a subwindow - cont'd (#1003)ManoloFLTK
2024-07-01Wayland: fix interactive moving and resizing of a subwindow - cont'd (#987)ManoloFLTK
This commit removes changes in class Fl_Group introduced in 1c6a0c1.
2024-06-30Fl_Tree +/- buttons are no longer drawn using bitmaps, different default ↵Cyprinus Carpio
line color (#995) Fl_Tree changed to support system color themes (PR #995) merging CyprinusCarpio's mods carried over from from issue #972. * Fl_Tree: use named (colormap) colors to support system color themes (see issue #972). changed connectorcolor() default from gray ramp color to FL_INACTIVE_COLOR (Fl_Color(8)), and similar named colormap colors for icon drawing. * Fl_Tree ⊞ / ⊟ icons (and on macs, ▶ / ▼icons) are now drawn w/fl_draw() functions instead of with xpm bitmaps for colormap control --------- Co-authored-by: Greg Ercolano <erco@seriss.com>
2024-06-29Wayland: fix interactive moving and resizing of a subwindow - cont'd (#987)ManoloFLTK
This fix requires to be able to recognize whether Fl_Wayland_Window_Driver::resize() is called by a resize operation of an encompassing widget or not. To do that, private static int variable group_resize_depth_ is added to class Fl_Group and an accessor to this variable is added to class Fl_Window_Driver.
2024-06-29Wayland: improve mapping of subwindows on displayManoloFLTK
2024-06-27Wayland: fix interactive moving and resizing of a subwindow - cont'd (#987)ManoloFLTK
2024-06-24Wayland: account for old versions of the GTK shell protocol - cont'dManoloFLTK
Not easy to get it right in absence of any documentation for "GTK Shell" protocol.
2024-06-24Wayland: account for old versions of the GTK shell protocol - cont'dManoloFLTK
2024-06-23Wayland: account for old versions of the GTK shell protocolManoloFLTK
2024-06-23Wayland: stop key repeats when focus leaves a windowManoloFLTK
2024-06-22Wayland: use serial rather than time argument of wl_keyboard_key() to ↵ManoloFLTK
support key repeats
2024-06-21Remove trailing whitespaceAlbrecht Schlosser
no code changes
2024-06-21Fix Wayland memory leak (#991)Albrecht Schlosser
2024-06-17Wayland: capture window titlebar as depth-4 imageManoloFLTK
2024-06-11Fix crash in howto-drag-and-drop under macOSManoloFLTK
2024-06-11Wayland: fix interactive moving and resizing of a subwindow - cont'd (#987)ManoloFLTK
2024-06-09 Fix: Changing default color palette affects opengl child drawing on Wayland ↵ManoloFLTK
(#989)
2024-06-08Wayland: support DnD from X11-FLTK to Wayland-FLTKManoloFLTK
2024-06-04Wayland: add necessary calls to gtk_surface1_release()ManoloFLTK
2024-06-03Document how to control window location in screen under WaylandManoloFLTK
2024-06-03Wayland: fix interactive moving and resizing of a subwindow (#987)ManoloFLTK
2024-06-02 Fix Child Windows under Wayland are clipped on resizing … (#987)ManoloFLTK
2024-05-28Fix: Wayland sends wrong events after an FL_DRAG of a top window - cont'd (#983)ManoloFLTK
2024-05-28Fix: Wayland sends wrong events after an FL_DRAG of a top window (#983)ManoloFLTK
2024-05-27Remove useless Fl_Window_Driver accessors after new member ↵ManoloFLTK
Fl_Window::get_size_range()
2024-05-21More details about handling modal windows and various gnome versionsManoloFLTK
2024-05-20Wayland: don't call gtk_surface1_release() probably not usefulManoloFLTK
Also, add comment about when call to gtk_surface1_set_modal() is useful or useless but harmless.
2024-05-19Wayland: accept diverse versions of the GTK Shell protocolManoloFLTK
2024-05-15Change member function args to Fl_Menu_Bar::play_menu(const Fl_Menu_Item *)ManoloFLTK
2024-05-14 New member function Fl_Menu_Bar::play_menu(const char *title)ManoloFLTK
2024-05-13Wayland: call gtk_surface1_set_modal() of GTK Shell protocol - cont'dManoloFLTK
2024-05-11Wayland: call gtk_surface1_set_modal() of GTK Shell protocol for modal winsManoloFLTK
This has the Mutter compositor open modal windows at the center of their parent window rather than at an unpredictable display position before this commit.
2024-05-11Fix DnD to Wayland FLTK app on the KDE/Plasma desktopManoloFLTK
2024-05-10Wayland: slightly improved fix for issue #878ManoloFLTK
2024-05-09Remove unused variables, fix compiler warningsAlbrecht Schlosser
2024-05-09Wayland documentation: improve "Input Methods" and various detailsManoloFLTK
also fix typo mentionned -> mentioned
2024-05-06Wayland: simpler implementation of "GTK Shell" protocolManoloFLTK
2024-05-05Wayland: use frame_cb before redrawing GL subwins - cont'd (#967)ManoloFLTK
2024-05-03Wayland: use frame_cb before redrawing GL subwindows (#967)ManoloFLTK