matthiasm wrote: > On May 17, 2007, at 7:32 PM, Owen wrote: > >> Hi, is it possible to create skinned applications in Fltk, either >> by standard or with a pluggin. >> >> I have already looked at wxWidgets, using wxSkin, however am >> interested in FLTK due to its small footprint. > > There are a few interfaces that can be used to get some kind of > skinning going, but there is no specific support for this. The main > missing feature in 1.1 is probably arbitrarily shaped windows (but a > patch for that exists somewhere). > > You can assign a background image to all windows and then define > boxtypes that will generate arbitrarily drawn buttons for you. >
Actually, skinning is more than that. At least under wxWidgets, skinning allows also creating basic callbacks for buttons (very basic scripting in xml), so that some new windows can be opened based on user's actions. A good approach for this would be to create your application's gui with a scripting language (like with my ruby's fltk2.0 bindings, for example) and use the scripting language itself as the skinning (or, use its marshaling capabilities at least for it). -- Gonzalo Garramuño [EMAIL PROTECTED] AMD4400 - ASUS48N-E GeForce7300GT Kubuntu Edgy _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

