- a library for making graphical user interfaces (GUI)
by Christer Sandberg
Get the latest version from the download page. The documentation is available in the package, as well as here, change list here.
In case you are a MSVC user and for some reason is not capable to build CGUI using the makefile in the package we provide this MSVC6 project file and MSVC8 to build CGUI.
Info about the MSVC6 project file.
What is CGUI?
CGUI is a library that provides you with a set of C-functions to create
GUI applications, i.e. windows and window controls like buttons,
check-boxes, menus, input boxes etc.
- The API of CGUI is a set of C-functions, which makes it usable in both
C and C++ applications. There are also bindings to FreeBasic.
- Extensive documentation in different formats: plain text, info, rtf,
and html that describe the GUI functions
- Lots of simple GUI examples are included
- CGUI is easy to use. To create a widget you need to pass a minimum of parameters
to the creator function. You don't need to learn any new data structures.
You only need to have a basic knowledge about C, and in addition to that know a little
about how to use function-pointers and void-pointers. If you are not used with pointers
it may be quite OK anyway - just look at the examples and you will soon get it. If you
need a quick lesson about pointers right now, click here.
- CGUI is free (no licence) and open source.
- Some programs that are using CGUI:
- Compu-weigh - Batch weighing machines (embedded computer system), by Compu-Weigh Pty. Ltd.
- SeaTools - A tool to test your Seagate HD drive, by Seagate Technology LLC.
- Ellen - A micro processor simulator for educational purpose, used at Mälardalen Univeristy.
- Vertigo - A Flight Simulator
by Anton Norup Sörensen (using CGUI for the dialogs).
- MultiAMP - A Multimedia player for DOS by Rafal Szyja.
- RAD - Recording and Analysing Data by Lucas Cepowski.
- SOSS - A chess tournament program, (a "chess pairing program"), by Christer Sandberg. This
uses quite a lot of the features present in CGUI.
- Trac42i - Interpreter for the language "Trac42",
used for educational purpose, used at Mälardalen Univeristy.
- Free Snake - By Vlad (using CGUI for the dialogs in the GUI).
Needing for CGUI?
CGUI requires Allegro. If you succeeded in building and installing Allegro
from sources, then it should be no problem builing and installing CGUI. The build for CGUI has been tested on Linux (gcc),
DOS(DJGPP) and win32(mingw32, MSVC6 and Cygwin), but in principal can be used on any platform where Allegro works.
Trouble with CGUI?