Robert,

Thank you, thank you, thank you!  I knew I just needed to be pointed
in the right direction.  It had never occurred to me to try and
correct the display size in the *application itself*.  It ended up
being very simple.

With links2-2 the directfb width and size is set in directfb.c like this ...

directfb_driver.x = config.width;
directfb_driver.y = config.height;

I simply changed it to the resolution that I want it to have ...

directfb_driver.x = 320;
directfb_driver.y = 240;

Then did a make clean and a make - and it works perfectly - full display!

On Mon, Nov 16, 2009 at 5:28 AM, Robert Feld <[email protected]> wrote:
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)

Thanks again,
-- 
Ray Dios Haque
ODDREE Editor
http://www.oddree.com
_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to