[Tech] Creating a touchscreen interface in FLTK 1.1

I'm developing some applications on the OpenMoko FreeRunner using the SHR distribution.
For drawing I use FLTK version 1.1.
On a touchscreen there's not much point in using a scrollbar to scroll on the visible area, so I implemented a FLTK class that inherits from Fl_Scroll and implements scrolling on an area using the mouse (or finger).
You can download the source including a simple example, I consider the code in the public domain, GPLv2 only (not later!) where void.
EOF
Back home
11:13:20 30.11.2009 | Permalink | Trackback URI


