Hello Ray,

Hello Robert,

That works!!  :-)  But now I have a new problem.  My screen is 320x240
(but is designed as a sideways 240x320).  So when I rotate the display
I end up with a stripe of unused space down the right side of the
screen, and then an unviewable area below the screen.  I thought I
would just go in and change the mode line in the fb.modes file, but I
can't seem to get it right.  Shouldn't I be setting the mode to
240x320?
Hmmm I don't think you should change the fb.modes as it contains the low level information for your display driver. And these will not change! The rotation is purely in software on a higher level.

You might need to modify the source of the application to make it aware of the changed dimensions. (i.e. swap width and height) My Application uses FLTK which does exactly that. (the code from Nikita Egorov)

Kind regards,
Robert

I keep ending up with a purplish colored window (rotated
correctly) but that only fills about 25 percent of the screen.

I am using the "mode generator" from here:
http://bisqwit.iki.fi/source/fbmodes.html?xres=320&yres=240&refr=80&xwid=60&ywid=80&xpro=1&ypro=1

Do you know what I might be doing wrong?

On Fri, Nov 13, 2009 at 10:44 AM, Robert Feld <[email protected]> wrote:
try

links --dfb:layer-rotate=90

Thanks!


--
Robert Feld, Dipl.-Ing.
Research and Development

Corscience GmbH & Co. KG
Henkestr. 91
D-91052 Erlangen
Germany

Tel: +49 9131 977986-511
Fax: +49 9131 977986-59
e-mail: [email protected] <mailto:[email protected]>
Internet: www.corscience.de <http://www.corscience.de/>
----------------------------------------
Corscience GmbH & Co. KG
Sitz der Gesellschaft/Place of business: Erlangen
Amtsgericht/Local court: Fürth
Handelsregisternummer/Commercial Register No.: HRA 7510
Geschäftsführer/Managing director: Prof. Dr. Armin Bolz, Dr. Karl-Andreas Feldhahn, Dipl.-Volksw. Marc Griefahn

CONFIDENTIALITY: This e-mail and any attachments are confidential and may also be privileged. If received in error, please do not disclose the contents to anyone, but notify us immediately by return e-mail and delete this e-mail and any attachments from your system. Thank you.


_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to