> > > Dear All, > > In fltk-2.0 version, does it support the rotate function? > >=20 > > I have the 300 * 400 window, it has some widget in it, then I=20 > > want to roate it 90 degree, so it should be 400 * 300, and=20 > > the widget also rotate together. > >=20 > > Can fltk do this? Thanks. > > No, there is no direct support for rotating your windows. > > Most systems that support display rotation do so at the WM level, not at > the GUI level, so you probably need to investigate xrandr and so forth > to see how that is done. > Thanks, I tried xrandr, it can rotate the frame buffer, but the widget are still the previous size, I use fltk::scale() function to scale the widget, but failed, why? Thanks.
> If you really want to do it in the GUI, you might (though this is a long > shot) learn something useful from looking at the flwm code, though it is > written in fltk-1.0 IIRC. > > > > SELEX Galileo Ltd > Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS= > 14 3EL > A company registered in England & Wales. Company no. 02426132 > ******************************************************************** > This email and any attachments are confidential to the intended > recipient and may also be privileged. If you are not the intended > recipient please delete it from your system and notify the sender. > You should not copy it or use it for any purpose nor disclose or > distribute its contents to any other person. > ******************************************************************** > _______________________________________________ fltk mailing list fltk@easysw.com http://lists.easysw.com/mailman/listinfo/fltk