xa.h File Reference

Go to the source code of this file.

Data Structures

struct  AP_STAT
struct  APP_OBJ_NAM

Defines

#define AP_VERSION   "1.80"
 SW-version-text.
#define INIT_TXT   " gCAD3D Version 1.82 / 2012-04-04"
 SW-init-text; with version & date.

Functions

int AP_defaults_write ()
long AP_cre_defHdr (int typ, int istart)
int AP_Init0 ()
int AP_Init1 ()
int AP_search_init ()
int AP_Print0 (int mode, char *cmd, int irot, char *off, char *scl)
int AP_PrintWrHex (FILE *fpo, unsigned char *dat, int ilen, int gray)
int AP_defaults_read ()
char AP_typChar_typ (int typ)
int AP_name_typInd (char *buf, int typ, long ind)
int AP_obj_del0 ()
int AP_get_lNr ()
int AP_set_lNr (int lNr)
long AP_lNr_get ()
int AP_lNr_set (long lNr)
int AP_colSel (ColRGB *cSel)
char * AP_Get_ConstPl_Z (int typ)
int AP_APT_clean ()
int AP_errStat_set (int stat)
int AP_errStat_get ()
void GR_tmpSym (int typ, Point *pt1)

Variables

char WC_modnam [128]
char WC_modact [128]
char AP_dir_open [128]
char AP_sym_open [64]
char AP_dir_save [128]
char AP_sym_save [64]
char AP_dir_prg [128]
char AP_sym_prg [64]
char AP_errText [128]
char AP_printer [80]
char AP_browser [80]
char AP_editor [80]
char AP_lang [4]
char APP_act_nam [64]
int APP_act_typ

Detailed Description


Define Documentation

#define AP_VERSION   "1.80"

SW-version-text.

#define INIT_TXT   " gCAD3D Version 1.82 / 2012-04-04"

SW-init-text; with version & date.


Function Documentation

int AP_defaults_write (  ) 

defaults -> cfg/xa.rc

long AP_cre_defHdr ( int  typ,
int  istart 
)

    create ObjHeader zB "P20="
    wc3-Source: ED_add_objInd

int AP_Init0 (  ) 
int AP_Init1 (  ) 

init DL, ED, WC

int AP_search_init (  ) 
int AP_Print0 ( int  mode,
char *  cmd,
int  irot,
char *  off,
char *  scl 
)
int AP_PrintWrHex ( FILE *  fpo,
unsigned char *  dat,
int  ilen,
int  gray 
)
int AP_defaults_read (  ) 

read defaults from <base>/tmp/xa.rc

char AP_typChar_typ ( int  typ  ) 

    AP_typChar_typ      make typChar from typ  (Typ_PT -> 'P')
    Error: returns '-'

int AP_name_typInd ( char *  buf,
int  typ,
long  ind 
)

    AP_name_typInd      make name from typ and DB-Index  (visible object types)
    see also AP_oid_dbo AP_typ_2_bastyp AP_cre_defHdr

int AP_obj_del0 (  ) 
int AP_get_lNr (  ) 
int AP_set_lNr ( int  lNr  ) 
long AP_lNr_get (  ) 

see also ED_get_lnr_act APT_line_act

int AP_lNr_set ( long  lNr  ) 

    Achtung: der Editor benutzt zumeist ED_lnr_act
    see also ED_set_lnr_act

int AP_colSel ( ColRGB cSel  ) 

    define default-color
    see UI_WinDefTx
    see TSU_exp_wrlCol

char* AP_Get_ConstPl_Z ( int  typ  ) 

    typ = 0       returns the active ConstrPln as Text; zB "RZ" or "R22"
    typ = Typ_VC  returns the Z-vec of the active ConstrPln as Text

int AP_APT_clean (  ) 
int AP_errStat_set ( int  stat  ) 

    raise / reset error
    0 = default = OK;
    1 = Error
    2 = DB_allocCDAT; rerun.

int AP_errStat_get (  ) 
void GR_tmpSym ( int  typ,
Point pt1 
)

Variable Documentation

char WC_modnam[128]
char WC_modact[128]
char AP_dir_open[128]
char AP_sym_open[64]
char AP_dir_save[128]
char AP_sym_save[64]
char AP_dir_prg[128]
char AP_sym_prg[64]
char AP_errText[128]
char AP_printer[80]
char AP_browser[80]
char AP_editor[80]
char AP_lang[4]
char APP_act_nam[64]
Generated on Fri Apr 6 09:40:10 2012 for gCAD3D by  doxygen 1.6.3