void _so_init(QSP_ARG_DECL int argc,const char **argv) { static int so_inited=0; if( so_inited ) return; window_sys_init(SINGLE_QSP_ARG); #ifdef HAVE_MOTIF motif_init(argv[0]); #endif /* HAVE_MOTIF */ #ifndef BUILD_FOR_OBJC if(panel_obj_itp == NULL) init_panel_objs(); /* support for genwin */ add_genwin(panel_obj_itp, &gwfp, NULL); add_sizable(panel_obj_itp,&panel_sf, NULL ); // scrnobj_itp is null at this point!? if( scrnobj_itp == NULL ) init_scrnobjs(); add_sizable(scrnobj_itp,&scrnobj_sf, NULL ); #else //if(panel_obj_itp == NULL) // init_panel_objs(SINGLE_QSP_ARG); #endif /* ! BUILD_FOR_OBJC */ // We need to have genwin's be sizable for ios too!? so_inited=1; }
void pi_init(void) { motif_init(); motifaux_init(); xtaux_init(); }