gCAD3D 2.35
ut_ui_TX.c File Reference

TX_Print .. for messageWindow. More...

#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdarg.h>
#include "../ut/ut_geo.h"
#include "../ut/ut_txt.h"
#include "../ut/ut_os.h"
#include "../ut/ut_TX.h"
#include "../xa/xa_msg.h"
#include "../xa/xa.h"

Macros

#define ON   0
 
#define OFF   1
 

Functions

int AP_errStat_set (int)
 
int TX_file_Print (char *fNam)
 
void TX_Print (char *txt,...)
 ========================================================== More...
 
void TX_Error (char *txt,...)
 ========================================================== More...
 
void TX_Write (char *txt)
 ========================================================== More...
 

Variables

static int TX_mode = ON
 
static char TX_buf1 [1024]
 

Detailed Description

TX_Print .. for messageWindow.

=====================================================
List_functions_start:
TX_file_Print print file into messageWindow
TX_Print print formatted into messageWindow
TX_Error print formatted into messageWindow & set error
TX_Write print textstring into messageWindow
List_functions_end:
=====================================================

Macro Definition Documentation

#define ON   0
#define OFF   1

Function Documentation

int AP_errStat_set ( int  )
raise error
0 = default = OK;
1 = Error - raise error; set AP_stat.errStat=1;
2 = DB_allocCDAT; rerun.
int TX_file_Print ( char *  fNam)

TX_file_Print print file into messageWindow

void TX_Print ( char *  txt,
  ... 
)

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

display message
0-10 parameters; max. 250 characters
Example:
TX_Print (".. distance is %lf", d1);
void TX_Error ( char *  txt,
  ... 
)

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

display message and raise error
0-10 parameters; max. 250 characters
Example:
TX_Print (".. distance must not exceed %lf", d1);
Set/reset Errors: see AP_errStat_set ()
void TX_Write ( char *  txt)

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

display message

Variable Documentation

int TX_mode = ON
static
char TX_buf1[1024]
static