http://www.politiker-stopp.de/gfx/politiker-stopp-print.png

Benjamin Schieder

[TECH] CREATING A TOUCHSCREEN INTERFACE IN FLTK 1.1

2009 November 30 | 0 comments

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

Category: blog

Tags: Tech OpenMoko FreeRunner SHR FLTK


Post a comment

All comments are held for moderation; basic HTML formatting is accepted.

Name: (required)
E-mail: (required, not published)
Website: (optional)
Comment: