FLTK is the "Fast-Light Toolkit", a lightweight GUI library for Linux and Windows. FLTK is commonly found on embedded Linux systems due to it's low resource demands and low number of dependencies.

This is a program for FLTK showing widgets on a main window, all done in a single C++ file. The demo includes a Makefile to allow building with the make system and is ready for class compilation for targets such as ARM boards.

Build: 'make'
Run: './test.bin'

Requires FLTK development libraries:
 • Install on Debian based systems with 'apt install libfltk-dev'
 • Install on Fedora based systems with 'dnf install libfltk-devel'
 • Windows is supported but library must be built on the machine (See https://www.fltk.org/doc-1.3/intro.html)

Screenshot of demo application:

Sign Up For Full Access
Members gain full access to the Prosource library with dozens of source files for ARM Cortex, ATMega, PIC processors as well as desktop and embedded Linux systems. Solutions for bootloaders, Buildroot and Yocto targets as well as guided how-tos on embedded development to gain critical knowledge in new systems and speed development.
Statistics:
Language:C++
Files:2
Lines:239
Files size: 6.22 KB
 
RAM usage:960 bytes for test program
Avg Flash:8305 bytes for test program
Code:
Makefile
File size: 3242 bytes
fltkdemo1.cpp
File size: 3127 bytes