On 6 May 2010, at 18:35, Emil Cataranciuc wrote: > Hello! > Is it possible to rotate/show text vertically? > But not like this: > T > e > x > t
You mean rotate the text? I don't know if fltk2 has that ability or not (though it is feasible on many modern systems). There are hooks to support text rotation in the fltk-1.3 tree, at least on some platforms, though probably not all, but there's no exposed API for it AFAIK. There are a few contributions on the links page that provide for text rotation, so you might find something there that works. If it were me, I'd make a subclassed widget and i it's draw method rotate the label text there - but I don't know what it is you are trying to do. Can you expand a bit on what effect you are trying to achieve? Maybe someone here already has the code to do it. If you are trying to "rotate" the entire display though, I'd do that at the graphic driver / window manager level, not in the application code. _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

