/*********************************************************************** FONCTION : ---------- File OpenGl_togl_ration_window : REMARQUES: ---------- HISTORIQUE DES MODIFICATIONS : -------------------------------- xx-xx-xx : xxx ; Creation. 02-07-96 : FMN ; Suppression WSWSHeight et WSWSWidth 05-02-97 : FMN ; Suppression de OpenGl_tgl_vis.h ************************************************************************/ #define IMP100701 /* GG Prevent window resizing on when redraw in a pixmap */ /*----------------------------------------------------------------------*/ /* * Includes */ #include #include #include #include #include #include void EXPORT call_togl_ratio_window ( CALL_DEF_VIEW * aview ) { CMN_KEY_DATA k; #ifdef IMP100701 if( aview->DefBitmap.bitmap ) return; #endif call_subr_resize( aview ); k.ldata = ( Tint )aview->DefWindow.dx; TsmSetWSAttri( aview->WsId, WSWidth, &k ); k.ldata = ( Tint )aview->DefWindow.dy; TsmSetWSAttri( aview->WsId, WSHeight, &k ); return; }