intro examples documentation download & requirements license contact

Introduction

XFLTK is an extension to fltk library which provides generation of GUI based on XML configuration files.

FLTK (pronounced "fulltick") is a cross-platform C++ GUI toolkit for UNIX®/Linux® (X11), Microsoft® Windows®, and MacOS® X. FLTK provides modern GUI functionality without the bloat and supports 3D graphics via OpenGL® and its built-in GLUT emulation.

 back to top

Examples

XFLTK "Hello world!" example:

hello.xml file
<?xml version="1.0"?>
<window w="200" h="100" resizable="myid" label="XFLTK Hello!">
  <widget id="myid" label="Hello!!" w="200" h="100" />
</window>
hello.cpp file
#include <fltk/run.h>
#include <xfltk/GUI.h>
int main() {
	xfltk::GUI g("hello.xml");
	g.rootAsWindow()->show();
	return fltk::run();
}


 back to top

Documentation

All tags and properties have identical names with equivalent classes and methods name from fltk library (currently not all FLTK's features are supported). See the FLTK site. Documentation for XFLTK is not avalibale yet.

The doxygen documentation is available here.

 back to top

Download & Requirements

Requirements:
  1. FLTK 2.0 - LGPL license
  2. eXpat - XML parser library, MPL license
Download

XFLTK v0.2 Win32 binaries (for MingW)
XFLTK v0.2 source code

Please be aware that XFLTK is in a very early stage of development.
Version 0.2 doesn't support some FLTK features.

 back to top

License

XFLTK is provided under the terms of the LGPL license.

 back to top

Contact

Authors:

 back to top