gCAD3D 2.35
catalog_gui.c File Reference

CATALOG-GUI. More...

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include "../ut/ut_geo.h"
#include "../ut/ut_txt.h"
#include "../ut/ut_cast.h"
#include "../gui/gui__.h"
#include "../ut/func_types.h"
#include "../xa/xa_mem.h"
#include "../ut/ut_os.h"
#include "../db/ut_DB.h"

Functions

int CTLG_Sel_wPartLst (char *partFilNam, char *actCatNam)
 ================================================================ More...
 
int CTLG_Sel_CB (char *parentNam, char *childNam)
 
int CTLG_Sel__ ()
 
int CTLG_Cre__ ()
 
int CTLG_Mod_CB (char *cNam)
 
int CTLG_Mod__ ()
 
int CTLG_Del_Del_CB (MemObj *parent, void **data)
 
int CTLG_Del_CB (char *cNam)
 
int CTLG_Del__ ()
 

Detailed Description

CATALOG-GUI.

=====================================================
List_functions_start:
CTLG_Sel__ display catalog-list and part-list
CTLG_Sel_CB callback child-selection (catalog-part selected)
CTLG_Cre__ create new catalogFile
CTLG_Cre_CB users gives name for new catalog
CTLG_Mod__ display List of <symDir-CATALOG>*.ctlg for userSelection
CTLG_Mod_CB Catalog selected
CTLG_Del_CB Catalog selected
CTLG_Del__ display List of <symDir-CATALOG>*.ctlg for userSelection
List_functions_end:
=====================================================

Function Documentation

int CTLG_Sel_wPartLst ( char *  partFilNam,
char *  actCatNam 
)

================================================================

================================================================

callback parent-sel (catalog selected)(); create childs-file (parts)
create new childList <tmp>/catParts.lst
save active catalog-name in file tmp/catParts.act
for catalog actCatNam
int CTLG_Sel_CB ( char *  parentNam,
char *  childNam 
)
Callback child-selection (catalog-part selected)
Retcode: 0=keep Hlist; 1=destroy HList.
int CTLG_Sel__ ( )

display catalog-list and part-list

int CTLG_Cre__ ( )
users gives name for new catalog
create new catalogFile
check if symDir CATALOG exists; wenn nein: anfordern !!
Create file <symDir-CATALOG>/<catalogname>.ctlg (copy the template)
int CTLG_Mod_CB ( char *  cNam)

Catalog selected;

int CTLG_Mod__ ( )

display Liste of <symDir-CATALOG>/*.ctlg for userSelection Edit selected file

int CTLG_Del_Del_CB ( MemObj parent,
void **  data 
)
int CTLG_Del_CB ( char *  cNam)

Catalog selected;

int CTLG_Del__ ( )

display Liste of <symDir-CATALOG>/*.ctlg for userSelection delete selected file mit Rueckfrage