I am using SDL in my game program, my mobile phone screen size is 240x320.
But I want to use it to play game, I wish rotate my phone 90 degreen to
use,thus the screen will be 320x240. At now, SDL works fine in my mobile
phone, but only in mode 240x320. Does SDL support the automaticaly Videm
Mode roatation? I wish there is an calll like
SetVideoMode(240,320,ROTATION_90_DEGREE), so all my program codes will not
do any changes.
Thanks
Kimber JI
Does SDL support the automaticaly Videm Mode roatation?
No.On Sep 25, 2004, at 9:40 AM, Kimber Ji wrote:
I think David Hedbor worked on something along the lines of this for the
Zaurus PDA builds of SDL… at least, I think he did something. Maybe it
was simply a Qt-level adjustment. shrug
Random Ref. to get you started:
http://twomix.devolution.com/pipermail/sdl/2003-May/054106.html
Good luck!
PS - what type of cellphone? I’ve got some SDL games that I ported to
SDL on the Zaurus by manually rotating the display (or altering the aspect),
and shrinking most/all of the bitmaps:
Bug Squish [New Breed Software]
Mad Bomber [New Breed Software]
Vectoroids [New Breed Software]
All are GPL’d, and I’m always happy to see my stuff spread to even more
platforms. 
-bill!
bill at newbreedsoftware.com New Breed Software
http://www.newbreedsoftware.com/ Tux Paint 0.9.14 – Coming soon!On Sat, Sep 25, 2004 at 09:40:01PM +0800, Kimber Ji wrote:
I am using SDL in my game program, my mobile phone screen size is 240x320.
But I want to use it to play game, I wish rotate my phone 90 degreen to
use,thus the screen will be 320x240. At now, SDL works fine in my mobile
phone, but only in mode 240x320. Does SDL support the automaticaly Videm
Mode roatation? I wish there is an calll like
SetVideoMode(240,320,ROTATION_90_DEGREE), so all my program codes will not
do any changes.