FLTK Gleam

Picture of the different FLTK schemes.

A comparison of the stock FLTK schemes and the different Gleam versions.

Gleam is a patch for FLTK 1.1.10 and FLTK 1.3 that adds the Gleam Scheme which adds another attractive look to the lightweight toolkit.

Features

There are three versions of Gleam:

  • the original version
  • Version 2.0
    • adds a pale outline inside of widget
    • improves how Gleam looks when used with tabs and buttons.
  • Version 3.0
    • Curves the widget borders slightly
    • Adds a gradient to the bottom of the widget making it seem to glow

Early versions of the patch also alter the default widget colours replacing them with colours from the beautiful Tango palette.


Downloads

To build FLTK with the Gleam scheme you need two files: a patch and fl_gleam.cxx.

FLTK Gleam Versions

This file does the actual theming. Rename it to fl_gleam.cxx (without the version number) and copy it to the src directory of whichever FLTK version you're compiling.


Building

You apply the patch by copying fl_gleam.cxx to the src directory of the FLTK version you're compiling (for example fltk-1.1.10/src/).

Then you apply the patch outside of that folder using

patch -p0 -i patchname.patch

So if you want to patch FLTK 1.1.10 what you would do is:

xentalion@silence:~/Source/Libraries/fltk-1.1.10$ cd ../
xentalion@silence:~/Source/Libraries/$ patch -p0 -i fltk_gleam-1.1.10.patch
xentalion@silence:~/Source/Libraries/$ cp fl_gleam-3.cxx fltk-1.1.10/src/fl_gleam.cxx

Then ./configure and make or dpkg-buildpackage. Whatever you would normally do. :)

If you have any questions or suggestions please send me a message! You can find my contact information on my About page.