fpGUI

From Free Pascal wiki
Jump to navigationJump to search

English (en) español (es)

fpGUI is a Object Pascal toolkit for cross-platform application development. It provides single-source portability across Linux, MS Windows, *BSD, MacOS, Solaris/OpenSolaris, ReactOS and embedded devices like Embedded Linux and Windows CE. fpGUI Toolkit can be used for Open Source and Commercial applications.

fpGUI is a widgetset completely written in Object Pascal. It links directly with the underlying windowing system (Xlib, GDI), and thus avoids the need for many large external libraries (eg: Qt, GTK etc). The main design goal is to get a consistent look and behavior across platforms.

Links

Latest release v2.0.3 (2026-02-14):

Website:

Documentation:

Repository:

Compile fpGUI code from terminal:

For complete instructions, for many different ways to compile fpGUI, see the `docs/INSTALL.txt` file in the code repository.

The recommended mention is using PasBuild as follows...

To compile for Linux or FreeBSD:

 > pasbuild compile -p unix,agg

or for Windows

 > pasbuild compile -p windows,agg

or for MacOS

 > pasbuild compile -p macos,agg


Then simply add a -Fu unit path to your project, pointing to <fpgui>/framework/target/units


Compile fpGUI code from Lazarus:

See the `docs/INSTALL.txt` file in the code repository, for detailed instructions.

After that, you can compile pure fpGUI applications with Lazarus IDE.

License

fpGUI uses the LGPL v2 license with a static linking exception - the same as the Free Pascal Compiler's RTL. For more details, see the `LICENSE.txt` file in the root of the code repository.

Support

A dedicated support newsgroup exists for fpGUI Toolkit. Connection details are as follows:

Details
NNTP Server geldenhuys.co.uk
Port 119
Group fpgui.support

Any News Client (eg: Mozilla Thunderbird, XanaNews, Opera Mail etc) can be used to connect to the news group. This is by far the best option and gives you the freedom to use your preferred news client software.

In a pinch, there is also a HTML webnews interface. This interface has some limitations (eg: attachments), but is good enough to read and reply to messages when on the go via a web browser (smartphone or desktop). To access the HTML interface, visit the following URL: [http://geldenhuys.co.uk/webnews/]

Screenshots

This is a small sample of what the fpGUI Toolkit's new 2D graphics engine can do. Full sub-pixel accuracy, anti-aliased line drawing, anti-aliased text, alpha blending, fully customisable gradient and dash-line generator, gamma support etc. The 2D graphics engine is also fully implemented in Pascal, so no external libraries are required, and makes it very portable to other platforms.

A demo application showing some AggPas rendering capabilities, now built into fpGUI Toolkit.
A sample application showing one of the seven built-in themes.

More of fpGUI's built-in themes can be seen by visiting this URL.

See also