measure.c: outputting 'meas' status in Windows GUI

This commit is contained in:
h_vogt 2012-12-05 23:06:16 +01:00
parent 0f2794267c
commit a13e5bf867
1 changed files with 11 additions and 1 deletions

View File

@ -32,6 +32,10 @@ static bool measures_passed; /* TRUE: stop simulation (if option autostop is set
extern bool ft_batchmode;
extern bool rflag;
#ifdef HAS_WINDOWS /* hvogt 10.03.99, nach W. Mues */
extern void SetAnalyse(char *Analyse, int Percent);
#endif
/* measure in interactive mode:
meas command inside .control ... .endc loop or manually entered.
@ -225,6 +229,12 @@ do_measure(
wordlist *measure_word_list;
int precision = measure_get_precision();
#ifdef HAS_WINDOWS
if (!chk_only)
SetAnalyse("meas", 0);
#endif
just_chk_meas = chk_only;
an_name = strdup(what); /* analysis type, e.g. "tran" */
@ -279,7 +289,7 @@ do_measure(
first_time = FALSE;
if (just_chk_meas != TRUE && strcmp(an_type, "tran") == 0) {
fprintf(stdout, " Transient Analysis\n\n");
fprintf(stdout, "\n Measurements for Transient Analysis\n\n");
// plot_cur = setcplot("tran");
}
}