nanogui: Thread: Portrait Mode with Win32.


[<<] [<] Page 1 of 1 [>] [>>]
Subject: Portrait Mode with Win32.
From: "Keegan Prendergast" ####@####.####
Date: 26 Apr 2002 19:34:42 -0000
Message-Id: <001c01c1ed58$40534af0$556013ac@aca.astronautics.com>

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?
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


[<<] [<] Page 1 of 1 [>] [>>]


Powered by ezmlm-browse 0.20.