OK, the ftp server seems to have come back on line. Eventually. Here's the "full" version of the demo I tried to post before - there's still not that much to it, mind you.
http://www.imm.uklinux.net/fltk/anim_demo.tgz Anyway, it's all coded in a very C-style (the OP indicated a preference for C, and that suits me too...!) For example, the lists of widgets are held in simple arrays (they really ought to be help in a proper list or other suitable STL container, of course, in the C++ style.) The casts (such as they are) are C-style casts, etc. Use of printf rather than messing about with streams. And so on... Anyway, the demo attempts to show: - Using fluid to create your own composite widget classes - Using those widget classes - Making your own widget class "by hand" (derived from Fl_Box) - Referencing the "home made" class in fluid - Using timers - Using callbacks - Laying out widgets programatically - Updating widgets programatically - Basic drawing (lines, colours) Hope it's some help. I had fun anyway! Cheers, -- Ian _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

