OCC22377 Patch for visualization component
[occt.git] / src / OpenGl / OpenGl_togl_connect.cxx
1
2 #include <OpenGl_tgl_all.hxx>
3
4 #include <InterfaceGraphic_Labels.hxx>
5 #include <InterfaceGraphic_Graphic3d.hxx>
6
7 #include <OpenGl_tgl.hxx>
8 #include <OpenGl_tgl_funcs.hxx>
9
10 void EXPORT
11 call_togl_connect
12 (
13  CALL_DEF_STRUCTURE * afather,
14  CALL_DEF_STRUCTURE * ason
15  )
16 {
17   call_func_set_edit_mode (CALL_PHIGS_EDIT_INSERT);
18   call_func_open_struct (afather->Id);
19   call_func_set_elem_ptr (0);
20   call_func_set_elem_ptr_label (Structure_LABConnect);
21   call_func_exec_struct (ason->Id);
22   call_func_close_struct ();
23   return;
24 }