Fenster: The most minimal cross-platform GUI library
Fenster is a minimalistic cross-platform library for 2D graphics, simplifying window management, input handling, and audio playback. It supports Go and Zig, with example code and MIT licensing.
Read original articleFenster is a minimalistic library designed for creating a cross-platform 2D canvas, drawing inspiration from older graphics programming environments like Borland BGI and QBASIC. It simplifies the process of managing application windows, handling keyboard and mouse input, and enabling audio playback with minimal coding effort. The library features a single application window with customizable size and title, automatic lifecycle management, a 24-bit RGB framebuffer for graphics, and support for cross-platform input events. It includes timers for maintaining stable frame rates and a straightforward polling API, eliminating the need for callbacks or multithreading. Fenster also provides bindings for the Go and Zig programming languages. An example code snippet demonstrates how to use Fenster to generate white noise on the canvas. Compilation instructions are provided for Linux, macOS, and Windows, detailing the necessary commands to compile and run the example. The library's API includes functions for opening and closing windows, handling system events, and manipulating pixel colors. Fenster is distributed under the MIT license, allowing its use in proprietary projects.
- Fenster is a cross-platform library for 2D graphics inspired by older programming environments.
- It simplifies window management, input handling, and audio playback with minimal code.
- The library supports multiple programming languages, including Go and Zig.
- Example code and compilation instructions are provided for various operating systems.
- Fenster is licensed under the MIT license, permitting use in proprietary applications.
Related
Writing GUI apps for Windows is painful
Samuel Tulach discusses challenges in writing Windows GUI apps in C++, emphasizing requirements like Windows support, styling, and efficiency. He evaluates various frameworks, recommending Dear ImGui for its simplicity and lightweight design.
Writing GUI apps doesn't have to be painful
The author discusses challenges in developing Windows GUI apps, opting for Go with Fyne library for a smart card reader project. Despite minor drawbacks, Go+Fyne proved efficient, attracting users and contributors.
ImRAD is a GUI builder for the ImGui library
ImRAD is a GUI builder for the ImGui library, supporting multiple operating systems with extensive widget options, dynamic variable management, and GPL-free generated code for project integration. Installation varies by platform.
Window Maker: X11 window manager with the look and feel of the NeXTSTEP UI
Window Maker is an X11 window manager for the GNUstep Desktop Environment, featuring lightweight performance, customizable options, and support for dockable applications. The latest version, 0.96.0, was released on August 5, 2023.
Microui+fenster=Small GUI
Max Bernstein discusses a new backend integrating the fenster and microui libraries for simplified GUI development. The project is open-source, inviting contributions while still needing refinements in rendering and shortcuts.
From 2023. Posted here a few times before. See also https://zserge.com/posts/fenster/
> Fenster -- a German word for "window".
In Latin, it's "fenestra".
Related
Writing GUI apps for Windows is painful
Samuel Tulach discusses challenges in writing Windows GUI apps in C++, emphasizing requirements like Windows support, styling, and efficiency. He evaluates various frameworks, recommending Dear ImGui for its simplicity and lightweight design.
Writing GUI apps doesn't have to be painful
The author discusses challenges in developing Windows GUI apps, opting for Go with Fyne library for a smart card reader project. Despite minor drawbacks, Go+Fyne proved efficient, attracting users and contributors.
ImRAD is a GUI builder for the ImGui library
ImRAD is a GUI builder for the ImGui library, supporting multiple operating systems with extensive widget options, dynamic variable management, and GPL-free generated code for project integration. Installation varies by platform.
Window Maker: X11 window manager with the look and feel of the NeXTSTEP UI
Window Maker is an X11 window manager for the GNUstep Desktop Environment, featuring lightweight performance, customizable options, and support for dockable applications. The latest version, 0.96.0, was released on August 5, 2023.
Microui+fenster=Small GUI
Max Bernstein discusses a new backend integrating the fenster and microui libraries for simplified GUI development. The project is open-source, inviting contributions while still needing refinements in rendering and shortcuts.