1
0
Fork 0

Updateds to win32 print system.

This commit is contained in:
curt 1999-10-29 18:08:54 +00:00
parent 06b966ee53
commit cd49be7182

View file

@ -861,10 +861,14 @@ void printScreen ( puObject *obj ) {
BusyCursor( 0 ); BusyCursor( 0 );
mainMenuBar->hide(); mainMenuBar->hide();
CGlPrinter p; CGlPrinter p( CGlPrinter::READ_BITMAP );
int cur_width = current_view.get_winWidth( );
int cur_height = current_view.get_winHeight( );
p.Begin( "FlightGear" ); p.Begin( "FlightGear" );
fgInitVisuals(); fgInitVisuals();
fgReshape( p.GetHorzRes(), p.GetVertRes() ); fgReshape( cur_width, cur_height );
//fgReshape( p.GetHorzRes(), p.GetVertRes() );
fgRenderFrame();
fgRenderFrame(); fgRenderFrame();
p.End(); p.End();