summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-10-03Revert 75016cb because it doesn't work well with macOS < 13.0ManoloFLTK
The problem is visible with test/tile when moving the sub window's border. This also fixes issue #508
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-10-02macOS: simpler way to delete the GL1 context of widgets-using GL3 windows.ManoloFLTK
2022-10-01macOS: support 5 more keys as Fl_Sys_Menu_Bar item shortcuts.ManoloFLTK
2022-10-01macOS: fixed problem in resizing of widget-containing OpenGL 3 window.ManoloFLTK
2022-09-30FLTK widgets in OpenGL 3 windows: rewrite for driver system.ManoloFLTK
2022-09-30Improve wording of GitHub Issue TemplatesAlbrecht Schlosser
as suggested by Manolo and Ian
2022-09-30macOS: simpler code for auxiliary NSView supporting widgets on a GL3 window.ManoloFLTK
2022-09-30Support of FLTK widgets in OpenGL 3 windows under Windows.ManoloFLTK
2022-09-30macOS: implement (BOOL)[FLView isOpaque] to improve drawing performance.ManoloFLTK
2022-09-30macOS: support FL_Up,FL_Down,FL_Left,FL_Right system menu item shortcutsManoloFLTK
2022-09-29macOS platform: rename Fl_Cocoa_Gl_Window_Driver.cxx to .mmManoloFLTK
2022-09-29Doc: more details about installation of GLEW.ManoloFLTK
2022-09-29Support of FLTK widgets in OpenGL 3 windows - cont'd.ManoloFLTK
This commit allows to switch between FL_DOUBLE / FL_SINGLE modes in widget-containing GL3 windows. Demo program examples/OpenGL3test is modified to show FLTK widgets even if the platform does not support OpenGL 3.
2022-09-28Add GitHub Issue TemplatesAlbrecht Schlosser
- bug_report.md: template for bug reports - feature_request.md: template for feature requests - fltk-build-or-usage-question.md: not really a template [1] [1] Explain to users that this is the wrong place to ask user questions and refer them to fltk.general
2022-09-28macOS: support of FLTK widgets in OpenGL 3 windows - cont'd.ManoloFLTK
This code is OK under macOS 10 9 and 13.
2022-09-28macOS: add necessary setWantsBestResolutionOpenGLSurface:YES message.ManoloFLTK
2022-09-27Remove use of class Fl_Window_Driver inside libfltk_glManoloFLTK
2022-09-27Use PR #507 by @ggarra13 to fix issue #85.ManoloFLTK
2022-09-27Simpler code to support FLTK widgets in macOS OpenGL 3 windows.ManoloFLTK
Also, the application-level code to add widgets to a GL3 window becomes platform-independent.
2022-09-26Replace all calls to sprintf() by calls to snprintf().ManoloFLTK
2022-09-26Fix crash under macOS 13 Ventura public beta 6 when closing menu window.ManoloFLTK
Bizarrely, an NSMouseEntered event arrives returning nil to [event window]!
2022-09-25Add cross-platform support for adding widgets to an OpenGL3-based Fl_Gl_Window.ManoloFLTK
Under non-macOS platforms, the key is to call glUseProgram(0); after having used OpenGL 3 which allows to then use OpenGL 1 and draw FLTK widgets over the OpenGL3 scene. Under macOS, this is impossible because macOS GL3 contexts are not compatible with GL1. The solution implemented here is to create an additional Fl_Gl_Window placed above and sized as the GL3-based window, to give it a non opaque, GL1-based context, and to put the FLTK widgets in that additional window.
2022-09-23Updated fltk logo for docs and help_dialog using logo from the website.Greg Ercolano
2022-09-23GL3 for macOS platform: allow creation of GL1 and GL3 contexts by an app.ManoloFLTK
2022-09-23GL3 support under X11: ask for compatibility profile if possible.ManoloFLTK
2022-09-23Fix build process of PDF docs on macOS and update .gitignoreAlbrecht Schlosser
Note: the syntax of command/switch `sed -i` is slightly different on macOS vs. Linux and should not be used. Move .gitignore parts referring to /documentation/ to their own file 'documentation/.gitignore' and add new generated file(s).
2022-09-23Fix Fl_X11_Window_Driver::fullscreen_on() and ↵ManoloFLTK
Fl_X11_Window_Driver::fullscreen_off().
2022-09-23Fixes incorrect install of fluid in macOS Applications directory.Gonzalo Garramuño
This requires sudo permissions to do it, and breaks ExtenalProject_Add.
2022-09-23Use adequate #include for fl_wl_display().ManoloFLTK
2022-09-23Wayland: process OPTION_USE_WAYLAND for Unix onlyManoloFLTK
2022-09-22Fix issue #501: build error under macOS 10.10ManoloFLTK
2022-09-22Wayland: fix window closing with titlelbar close button.ManoloFLTK
2022-09-22Wayland: fix error detection during call to glewInit().ManoloFLTK
2022-09-21Improve docs of Fl_Copy_Surface and use of OpenGL 3.ManoloFLTK
2022-09-21Update with changes from source (commit bcb1d791) - cont'd.ManoloFLTK
2022-09-21Update with changes from source (commit bcb1d791).ManoloFLTK
2022-09-18Add Doxygen description of FL_FREE_COLOR.ManoloFLTK
2022-09-17Improve use of CMake's OPTION_BUILD_HTML_DOCUMENTATIONManoloFLTK
2022-09-17Allow use of Fl_Window::default_icon() with a scaled image - Part 2.ManoloFLTK
Default icons are handled according to their scaled size, if there scaled.
2022-09-16Update from libdecor source code (commit a735d056).ManoloFLTK
2022-09-15Make Fl::set_color(r,g,b,a) effective under Wayland and macOS.ManoloFLTK
2022-09-14Improve virtual void* Fl_Gl_Window_Driver::GetProcAddress(procName)ManoloFLTK
2022-09-13Avoid deprecated glGetString(GL_EXTENSIONS) call when possible.ManoloFLTK
2022-09-13Remove forgotten debug code.ManoloFLTK
2022-09-12Allow use of Fl_Window::default_icon() with a scaled image.ManoloFLTK
2022-09-11Fix fl_read_image() under hybrid Wayland/X11 platform.ManoloFLTK
Function fl_read_image() obliges to keep a minimal use of global variable fl_window also under the Wayland platform, even if its type (Window) makes little sense for the hybrid library because it has its X11 value (given by X11/X.h) which is not meaningful for the Wayland leg of the hybrid platform. Virtual member function Fl_Surface_Device::as_image_surface() becomes useless.
2022-09-11Fix support of CMake OPTION_WAYLAND_ONLY.ManoloFLTK
2022-09-11Add needed variable for Wayland-only platform.ManoloFLTK