blob: 8ec1fab44d02b5c27c645a5df0bcea2fbac81e3f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
/***********************************************************************
FONCTION :
----------
File OpenGl_togl_pick :
REMARQUES:
----------
HISTORIQUE DES MODIFICATIONS :
--------------------------------
xx-xx-xx : xxx ; Creation.
06-03-96 : FMN ; Ajout OpenGl_tgl_tox.h pour call_thedisplay
01-04-96 : CAL ; Integration MINSK portage WNT
05-02-97 : FMN ; Suppression de OpenGl_tgl_vis.h
************************************************************************/
/*----------------------------------------------------------------------*/
/*
* Includes
*/
#include <OpenGl_tgl_all.hxx>
#include <InterfaceGraphic_Graphic3d.hxx>
#include <OpenGl_tgl_subrvis.hxx>
#include <OpenGl_txgl.hxx>
#include <OpenGl_tgl_tox.hxx>
/*----------------------------------------------------------------------*/
void EXPORT
call_togl_pick
(
CALL_DEF_PICK *apick
)
{
call_tox_rect( apick->WsId,
TxglGetSubWindow( call_thedisplay, (WINDOW)apick->DefWindow.XWindow)
, apick->x, apick->y );
apick->Pick.depth = 0;
if( apick->x <= apick->DefWindow.dx &&
apick->y <= apick->DefWindow.dy )
call_subr_pick( apick );
return;
}
/*----------------------------------------------------------------------*/
|