nanogui: Portrait Mode with Win32.


Previous by date: 29 Apr 2002 16:31:53 -0000 Re: GrCopyArea problems with SVGA Nano-X, Greg Haerr
Next by date: 29 Apr 2002 16:31:53 -0000 Re: Best way to restart/shutdown app, Greg Haerr
Previous in thread: 29 Apr 2002 16:31:53 -0000 Portrait Mode with Win32., Keegan Prendergast
Next in thread:

Subject: Re: [nanogui] Portrait Mode with Win32.
From: "Greg Haerr" ####@####.####
Date: 29 Apr 2002 16:31:53 -0000
Message-Id: <01a401c1ef9a$067ecd60$6401a8c0@gregnewport>

: How can I rotate the screen 90 degrees in the Win32 API.  I have the
frambuffer setup, and my program still displays, I just need it rotated.
What can be done?

See the startup code in the nano-X server nanox/srvmain.c,
where the portrait_mode variable gets set as the result
of the -{L,R,N,D} options.  These options need to be
added to the mwin/winmain.c code, and you should be
set.  Most all the portrait mode handling is done at the
driver level, so everything should work.

You could also hack the low level driver drivers/scr_fb.c,
setting gr_portrait_mode from there, that's how it was
originally done.

Regards,

Greg



Previous by date: 29 Apr 2002 16:31:53 -0000 Re: GrCopyArea problems with SVGA Nano-X, Greg Haerr
Next by date: 29 Apr 2002 16:31:53 -0000 Re: Best way to restart/shutdown app, Greg Haerr
Previous in thread: 29 Apr 2002 16:31:53 -0000 Portrait Mode with Win32., Keegan Prendergast
Next in thread:


Powered by ezmlm-browse 0.20.