View Full Version : landscape mode
pitchou
04-06-2003, 02:11 PM
Hello,
I'd like to develop an application which would run in landscape mode, but I didn't find any way to do this in OS5.
thanks for any idea or link !
PitchOu
CliePet
04-06-2003, 11:19 PM
> I'd like to develop an application which would run in landscape mode
Landscape capable programs are rare, because it is such a pain to program.
If you are drawing the user interface yourself, you can adjust the drawing code appropriately (a little painful for some things like fonts)
If you want a brute force approach, you can create an offscreen window (running in portrait mode) to draw most things, and then rotate the bitmap when you draw to the real screen window.
Write that blt code as an ARMlet for speed
Of course Input coordinates (for stylus input) need to be rotated as well.
vBulletin v3.0.3, Copyright ©2000-2012, Jelsoft Enterprises Ltd.