Hi,

I remember that we can set the mozilla window size using Mozilla Chrome
file. We had it running on the similar resoultion quite ok. Chrome is kind
of UI specification in XML format(Mozilla Calls it XUL).

Regards,
Siddharth

-----Original Message-----
From: [email protected]
[mailto:[email protected]]on Behalf Of Niels Roest
Sent: Tuesday, February 17, 2009 10:21 PM
To: tina nambiar
Cc: [email protected]
Subject: Re: [directfb-users] how to adjust LCD resolution using
Directfb


Hi Teena.

I think that mozilla does IDirectFBDisplayLayer::CreateWindow or something.
DirectFB allows the window to be bigger than the screen, or bigger than
the layer,
and DirectFB allows the window to be moved around.

So you can do 3 things:
(1) make sure that the application requests the size of the screen
with e.g. IDirectFBScreen::GetSize, and make sure that mozilla makes
the  window this big.
or (2) fiddle inside DirectFB to disallow a big window, or rescale the
window down.
or (3) have a look if mozilla has a nice option to control the output
window.

hth
Niels

tina nambiar wrote:
> Hi all,
>
>        I would like to know if there is some method by which  we can
> adjust the LCD resolution using  Directfb . I actually need to run
> mozilla browser application on 320x640 LCD touch screen , but the
> window doesnt fit in the screen .i suppose that the application reads
> a different resolution(1024x720 -roughly ) can we calibrate the
> resolution to 320x640.
> ------------------------------------------------------------------------
>
> _______________________________________________
> directfb-users mailing list
> [email protected]
> http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users
>


--

.------------------------------------------.
| DirectFB - Hardware accelerated graphics |
| http://www.directfb.org/                 |
"------------------------------------------"

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


The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments contained in it.
_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to