tomihasa / libagar

Cross-Platform GUI Toolkit

Home Page:http://libagar.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Agar

What is it?

Agar is a type of sugar polymer obtained from seaweed and red algae. Agar becomes gelatinous in water and is primarly used as a culture medium for microbiological work. Agar is also the name of an open source GUI toolkit, a set of software libraries for building graphical user interfaces.

Agar works with a wide variety of platforms and graphics systems, from modern desktops to classic consoles and embedded devices. Agar's low-level layers are modular, extensible and easily ported to new hardware platforms and graphics systems. Standard drivers include:

  • sdlfb (SDL, frame-buffer)
  • sdlgl (SDL, OpenGL)
  • glx (X11, OpenGL)
  • cocoa (MacOS X, OpenGL)
  • wgl (Windows, OpenGL)

For graphics systems without window capabilities, a single-window mode is provided (in which case Agar provides an internal window manager).

A set of general-purpose widgets are included in the Agar distribution. Agar's class registration interface allows new widgets to be implemented externally (i.e., as part of an application or library). GUI elements are styled with Cascading Stylesheets.

Agar is thread-safe when built with threads support.

Libraries Included

  • CORE: Platform, I/O, Object System
  • GUI (Base): GUI Framework
  • GUI (Widgets): GUI Standard Widgets
  • MATH: Matrices, Vectors, Advanced Rendering Methods
  • NET: Network Interface and HTTP Application Server
  • SG: 3D Engine
  • SK: 2D Sketch and Constraint Solver
  • RG: Feature-based Tileable Graphics
  • AU: Audio Interface Library
  • MAP: Simple Tile Engine
  • VG: Simple 2D Vector Graphics

CORE implements Agar's Object System, a single-inheritance system that can be used from different languages (for example, it is possible to subclass an Agar class written in C with one written in Ada and vice-versa). Agar objects are serializable (and CORE provides serialization routines to help with that). A tree of Agar objects is referred to as a VFS or virtual filesystem. The CORE library is non-graphical and usable by command-line programs or daemons. It provides simple interfaces to operating system services such as filesystem access, dynamic library loading, network services, process execution, I/O multiplexing, timers and threads.

Installation

Availability

Latest Stable Release

Latest Development Sources

Portability

Agar is portable to different platforms including FreeBSD, IRIX, Linux, MacOS Classic, MacOS X, NetBSD, OpenBSD, Solaris and Windows. Agar has been used on ARM embedded devices. It has even been ported to game consoles such as the GP2x, the Nintendo Gamecube/Wii and the Xbox.

License

Contributing

About

Cross-Platform GUI Toolkit

http://libagar.org/

License:BSD 2-Clause "Simplified" License


Languages

Language:C 64.2%Language:Roff 12.7%Language:Ada 8.4%Language:Makefile 4.1%Language:Shell 3.5%Language:Objective-C 2.7%Language:C++ 1.9%Language:Perl 1.4%Language:XS 0.9%Language:M4 0.1%Language:CSS 0.0%Language:Scheme 0.0%