1 /***********************************************************************
5 file OpenGl_togl_displaystructure.c :
12 HISTORIQUE DES MODIFICATIONS :
13 --------------------------------
14 xx-xx-xx : CAL ; Creation.
15 05-02-97 : FMN ; Suppression de OpenGl_tgl_vis.h
16 10-04-97 : CAL ; Modification pour que last draw => last execute.
18 ************************************************************************/
20 /*----------------------------------------------------------------------*/
26 #include <OpenGl_tgl_all.hxx>
28 #include <InterfaceGraphic_Labels.hxx>
29 #include <InterfaceGraphic_Graphic3d.hxx>
30 #include <InterfaceGraphic_Visual3d.hxx>
32 #include <OpenGl_tgl_funcs.hxx>
33 #include <OpenGl_telem_view.hxx>
36 call_togl_displaystructure
46 case 0 : labelPriority = View_LABPriority01; break;
47 case 1 : labelPriority = View_LABPriority02; break;
48 case 2 : labelPriority = View_LABPriority03; break;
49 case 3 : labelPriority = View_LABPriority04; break;
50 case 4 : labelPriority = View_LABPriority05; break;
51 case 5 : labelPriority = View_LABPriority06; break;
52 case 6 : labelPriority = View_LABPriority07; break;
53 case 7 : labelPriority = View_LABPriority08; break;
54 case 8 : labelPriority = View_LABPriority09; break;
55 case 9 : labelPriority = View_LABPriority10; break;
56 case 10: labelPriority = View_LABEnd; break;
58 default: labelPriority = Priority; break;
61 call_func_set_edit_mode (CALL_PHIGS_EDIT_INSERT);
62 call_func_open_struct (aview->ViewId);
63 call_func_set_elem_ptr (0);
64 call_func_set_elem_ptr_label (labelPriority);
65 call_func_offset_elem_ptr (-1);
66 call_func_exec_struct (StructId);
67 call_func_close_struct ();