You can use IDirectFBScreen::GetSize() to get the size of the screen.
 
You can use IDirectFB::SetVideoMode to change the screen size, but only if
you are in exclusive cooperative level (that is if you are addressing the
primary surface). But of course you can switch between cooperative modes to
do this.
 
Chris
=====================
Chris Bore
BORES Signal Processing
www.bores.com
 
 

  _____  

From: [email protected]
[mailto:[email protected]] On Behalf Of Baskar O
Sent: 22 October 2009 02:50
To: [email protected]; [email protected]
Subject: [directfb-users] Screen resolution



Does directfb have support for on the fly screen resolution change?

Or if my hardware performs auto rotation and if I do get that notification,
how do I tell Directfb to reset it to the new screen orientation?


  _____  

Hotmail: Free, trusted and rich email service. Get it
<http://clk.atdmt.com/GBL/go/171222984/direct/01/> now. 
_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to