Agar (libAgar) is a cross-platform GUI toolkit. Agar provides a base framework and a collection of GUI widgets from which GUI applications can be built. Agar can be styled and themed using a CSS-style engine.
A pure Agar application will work natively under X11, Windows, MacOS X and SDL. Agar takes advantage of hardware acceleration when it is available. Agar may also attach to an existing SDL or OpenGL context and operate as a self-contained window manager for the application. Agar will work with zero dependencies (although FreeType is recommended for best font quality). Agar is compact, efficient and fully thread-safe.
The selection of widgets included in Agar is intended to address the needs of typical applications. New Agar widgets are easily implemented using a C/C++ class registration interface. Separate libraries targetting more specialized applications include FreeSG, Edacious, Agar-MATH, Agar-VG and Agar-DEV.
Agar is free software. Its source code is freely usable and re-usable by
everyone under a BSD license, which allows
use in commercial applications free of charge.
The best available release is
The Agar project is sponsored by Csoft.net Hosting and ElectronTubeStore.com.
New stable release: agar-1.5.0 (A mild Breeze upon the Brow of the Dead)
The Subversion repository is now accessible via https://dev.csoft.net/agar/trunk.
The MinGW and Visual Studio Installation Guides have been updated.
The Online Manual now displays images; several cosmetic fixes were also applied.
New stable release: agar-1.4.1 (Landscapes of Frozen Methane)
New stable release: agar-1.4.0 (Landscapes of Frozen Methane)
New stable release: agar-1.3.4 (Pandemonic Incantation)
You do not need to purchase a license in order to use Agar in commercial applications and we do not require any kind of compensation, but if you find Agar useful, we hope that you will sign up for our technical support service.
"A display connected to a digital computer gives us a chance to gain familiarity with concepts not realizable in the physical world. It is like a looking glass into a mathematical wonderland." -- Ivan Sutherland