gCAD3D 2.40
xa_objLst.c File Reference

MultiColumnList (Search/Name) More...

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdarg.h>
#include <math.h>
#include "../ut/ut_geo.h"
#include "../ut/ut_memTab.h"
#include "../ut/ut_BitTab.h"
#include "../ut/ut_txfil.h"
#include "../ut/ut_txt.h"
#include "../ut/ut_gtypes.h"
#include "../ut/ut_cast.h"
#include "../ut/ut_txTab.h"
#include "../gui/gui__.h"
#include "../db/ut_DB.h"
#include "../xa/xa_mem.h"
#include "../xa/xa_uid.h"
#include "../xa/xa_ed_mem.h"
#include "../xa/xa_msg.h"

Macros

#define TRUE   1
 
#define FALSE   0
 

Functions

 typedef_MemTab (int)
 
static BitTab (mcl_typTab, 256)
 
int UI_mcl_CB1 (MemObj *mo, void **data)
 
int UI_mcl_CBB (MemObj *mo, void **data)
 
int UI_mcl_CBL (MemObj *mo, void **data)
 
int UI_mcl_ck_obj_exist (char *oid)
 
int UI_mcl_load (int iMod, int iTxt, int iOp1, int iOp2, int iGrp)
 
int UI_mcl_modNam ()
 
int UI_mcl_get_win (MemObj **mo)
 
int UI_mcl_CB_popup (MemObj *mo, void **data)
 
int UI_mcl_CB_modVals (int ii)
 
int UI_mcl_ctrl (int mode, char *txt)
 
int UI_mcl_add__ (int typ, long dbi, int lNr, char *oSrc)
 
int UI_mcl_update ()
 
int UI_mcl__ (MemObj *mo, void **data)
 

Variables

int UI_fontsizX
 
int UI_fontsizY
 
int UI_InpMode
 
TxtTab MenTab
 
static MemObj mcl_win = GUI_OBJ_NEW
 
static MemObj mcl_dep__
 
static MemObj mcl_txt__
 
static MemObj mcl_cba [13]
 
static MemObj mcl_rbP
 
static MemObj mcl_rbC
 
static int mcl_typ = -1
 
static long mcl_dbi
 
static char mcl_ID [32] = ""
 
static char mcl_nam [64] = ""
 
static long mcl_rNr
 
static char mcl_text [128] = ""
 
static char mcl_dept [32] = ""
 
static char * mcl_wTab [20]
 
static int mclPopIA [100]
 
static char * mclPopSA [100]
 
static int mclTab []
 

Detailed Description

MultiColumnList (Search/Name)

=====================================================
List_functions_start:
UI_mcl_ctrl control window
UI_mcl__ Mainwindow
UI_mcl_load fill List
UI_mcl_init_selected put sel.objects into list
UI_mcl_CBL CB of list-selection; create popup
UI_mcl_CB_popup CB of popup-selection
UI_mcl_CBB CB of objType-radioButton
UI_mcl_CB1 CB of list-buttons
UI_mcl_cbFunc save userCallback-function
UI_mcl_add__ MultiColumnList-Add line
UI_mcl_ck_lNr_exist test if lNr already exists
UI_mcl_modNam modify ObjName
UI_mcl_get_win returns window
List_functions_end:
=====================================================

Macro Definition Documentation

#define TRUE   1
#define FALSE   0

Function Documentation

typedef_MemTab ( int  )
static BitTab ( mcl_typTab  ,
256   
)
static
int UI_mcl_CB1 ( MemObj mo,
void **  data 
)
int UI_mcl_CBB ( MemObj mo,
void **  data 
)
int UI_mcl_CBL ( MemObj mo,
void **  data 
)
int UI_mcl_ck_obj_exist ( char *  oid)
int UI_mcl_load ( int  iMod,
int  iTxt,
int  iOp1,
int  iOp2,
int  iGrp 
)
int UI_mcl_modNam ( )
int UI_mcl_get_win ( MemObj **  mo)

UI_mcl_get_win returns window

int UI_mcl_CB_popup ( MemObj mo,
void **  data 
)
int UI_mcl_CB_modVals ( int  ii)
int UI_mcl_ctrl ( int  mode,
char *  txt 
)
* activate search-window from program
* mode 1 find parents of obj "<txt>"
* 2 find childs of obj "<txt>"
* UI_FuncUCB- internal (1000-
*
int UI_mcl_add__ ( int  typ,
long  dbi,
int  lNr,
char *  oSrc 
)
int UI_mcl_update ( )
int UI_mcl__ ( MemObj mo,
void **  data 
)

Variable Documentation

int UI_fontsizX
int UI_fontsizY
int UI_InpMode
TxtTab MenTab
MemObj mcl_win = GUI_OBJ_NEW
static
MemObj mcl_dep__
static
MemObj mcl_txt__
static
MemObj mcl_cba[13]
static
MemObj mcl_rbP
static
MemObj mcl_rbC
static
int mcl_typ = -1
static
long mcl_dbi
static
char mcl_ID[32] = ""
static
char mcl_nam[64] = ""
static
long mcl_rNr
static
char mcl_text[128] = ""
static
char mcl_dept[32] = ""
static
char* mcl_wTab[20]
static
int mclPopIA[100]
static
char* mclPopSA[100]
static
int mclTab[]
static
Initial value:
={
#define Typ_PT
P Point.
Definition: AP_types.h:62
#define Typ_Error
U0 = undefined.
Definition: AP_types.h:57
#define Typ_CV
DB-curves 20-39.
Definition: AP_types.h:73
#define Typ_VAR
DB-primitives 1-19.
Definition: AP_types.h:60
#define Typ_Note
notes, images
Definition: AP_types.h:145
#define Typ_Tra
transformations
Definition: AP_types.h:282
#define Typ_LN
L Line.
Definition: AP_types.h:63
#define Typ_SOL
DB-bodies 80-89.
Definition: AP_types.h:136
#define Typ_PLN
DB-surfs 40-79.
Definition: AP_types.h:95
#define Typ_Model
M ModelReference of native-subModel ModelRef.
Definition: AP_types.h:181
#define Typ_CI
C Circ.
Definition: AP_types.h:64
#define Typ_SUR
A all surfaces (support-surface, bounded)
Definition: AP_types.h:96
#define Typ_VC
D Vector.
Definition: tst_glDrawElements1.c:53
#define Typ_Activ
I = Interactivity.
Definition: AP_types.h:224