1 /***********************************************************************
5 File OpenGl_togl_pick :
12 HISTORIQUE DES MODIFICATIONS :
13 --------------------------------
14 xx-xx-xx : xxx ; Creation.
15 06-03-96 : FMN ; Ajout OpenGl_tgl_tox.h pour call_thedisplay
16 01-04-96 : CAL ; Integration MINSK portage WNT
17 05-02-97 : FMN ; Suppression de OpenGl_tgl_vis.h
19 ************************************************************************/
21 /*----------------------------------------------------------------------*/
26 #include <OpenGl_tgl_all.hxx>
27 #include <InterfaceGraphic_Graphic3d.hxx>
28 #include <OpenGl_tgl_subrvis.hxx>
29 #include <OpenGl_txgl.hxx>
30 #include <OpenGl_tgl_tox.hxx>
33 /*----------------------------------------------------------------------*/
41 call_tox_rect( apick->WsId,
42 TxglGetSubWindow( call_thedisplay, (WINDOW)apick->DefWindow.XWindow)
43 , apick->x, apick->y );
44 apick->Pick.depth = 0;
45 if( apick->x <= apick->DefWindow.dx &&
46 apick->y <= apick->DefWindow.dy )
47 call_subr_pick( apick );
50 /*----------------------------------------------------------------------*/