Daily_QC
Functions | Variables
display_data.c File Reference
#include "prototypes_new.h"
Include dependency graph for display_data.c:

Go to the source code of this file.

Functions

void options_draw ()
 
void quit_draw ()
 
void get_new_values ()
 
void bhandle_expose ()
 
void display_data (char *hb5, char *pc, int dmonth, int dday, int dyear, int dhour, int ddays)
 
void get_new_values (struct stim etim, struct stim btim, char *hb5, char *pc)
 
void draw_area (int k, int m, int xs, int ys, int xz, int yz)
 
struct max_min get_max_min (struct stn_values *stn_values, int inum)
 
int get_delta_time (time_t lbtim, time_t letim)
 
float get_delta_valu (int diff)
 
void options_draw (Widget w, XtPointer data, XmDrawingAreaCallbackStruct *call_data)
 
void quit_draw (Widget w, XtPointer data, XmDrawingAreaCallbackStruct *call_data)
 
void bhandle_expose (Widget w, XtPointer data, XmDrawingAreaCallbackStruct *call_data)
 
int get_dbase (char *pc, int *num)
 
void get_units (char *ibuf, char *sbuf)
 
void get_acronym (char *ibuf, char *sbuf)
 
void to_stage (char *hb5, char pe1, char pe2, struct stn_values *stn_values, int inum)
 

Variables

struct stn_valuesstn_values
 
XFontStruct * info_font [10]
 
Font font [10]
 
int init_subdisplay
 
Display * display
 
Window bwindow [20]
 
Window root_win
 
struct save_rec save_rec [20]
 
char qual [10]
 
int display_method
 
Widget bdrawing_area [10]
 
Widget draw_dialog [10]
 
Widget top_level
 
Widget bmain_window
 
unsigned long mmap [16]
 
GC gc1
 
static int bmax_width =600
 
static int bmax_height =400
 
static int depth
 
static int scale =0
 
static int linear =0
 
struct stim btim
 
struct stim etim
 
char pe2
 
struct stn_rec stn_rec
 
int dbase
 
int month
 
int day
 
int year
 
int hour
 
int days
 

Function Documentation

◆ bhandle_expose() [1/2]

void bhandle_expose ( )
Here is the caller graph for this function:

◆ bhandle_expose() [2/2]

void bhandle_expose ( Widget  w,
XtPointer  data,
XmDrawingAreaCallbackStruct *  call_data 
)

Definition at line 1370 of file display_data.c.

Here is the call graph for this function:

◆ display_data()

void display_data ( char *  hb5,
char *  pc,
int  dmonth,
int  dday,
int  dyear,
int  dhour,
int  ddays 
)

Definition at line 32 of file display_data.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ draw_area()

void draw_area ( int  k,
int  m,
int  xs,
int  ys,
int  xz,
int  yz 
)

Definition at line 306 of file display_data.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ get_acronym()

void get_acronym ( char *  ibuf,
char *  sbuf 
)

Definition at line 1653 of file display_data.c.

Here is the caller graph for this function:

◆ get_dbase()

int get_dbase ( char *  pc,
int *  num 
)

Definition at line 1397 of file display_data.c.

◆ get_delta_time()

int get_delta_time ( time_t  lbtim,
time_t  letim 
)

Definition at line 1203 of file display_data.c.

Here is the caller graph for this function:

◆ get_delta_valu()

float get_delta_valu ( int  diff)

Definition at line 1242 of file display_data.c.

Here is the caller graph for this function:

◆ get_max_min()

struct max_min get_max_min ( struct stn_values stn_values,
int  inum 
)

Definition at line 306 of file display_data.c.

Here is the caller graph for this function:

◆ get_new_values() [1/2]

void get_new_values ( )
Here is the caller graph for this function:

◆ get_new_values() [2/2]

void get_new_values ( struct stim  etim,
struct stim  btim,
char *  hb5,
char *  pc 
)

Definition at line 87 of file display_data.c.

Here is the call graph for this function:

◆ get_units()

void get_units ( char *  ibuf,
char *  sbuf 
)

Definition at line 1611 of file display_data.c.

Here is the caller graph for this function:

◆ options_draw() [1/2]

void options_draw ( )
Here is the caller graph for this function:

◆ options_draw() [2/2]

void options_draw ( Widget  w,
XtPointer  data,
XmDrawingAreaCallbackStruct *  call_data 
)

Definition at line 1316 of file display_data.c.

Here is the call graph for this function:

◆ quit_draw() [1/2]

void quit_draw ( )
Here is the caller graph for this function:

◆ quit_draw() [2/2]

void quit_draw ( Widget  w,
XtPointer  data,
XmDrawingAreaCallbackStruct *  call_data 
)

Definition at line 1353 of file display_data.c.

◆ to_stage()

void to_stage ( char *  hb5,
char  pe1,
char  pe2,
struct stn_values stn_values,
int  inum 
)

Definition at line 1791 of file display_data.c.

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ bdrawing_area

Widget bdrawing_area[10]
extern

Definition at line 113 of file daily_qc.c.

◆ bmain_window

Widget bmain_window
extern

Definition at line 115 of file daily_qc.c.

◆ bmax_height

int bmax_height =400
static

Definition at line 19 of file display_data.c.

◆ bmax_width

int bmax_width =600
static

Definition at line 19 of file display_data.c.

◆ btim

struct stim btim

Definition at line 19 of file display_data.c.

◆ bwindow

Window bwindow[20]
extern

Definition at line 110 of file daily_qc.c.

◆ day

int day

Definition at line 30 of file display_data.c.

◆ days

int days

Definition at line 30 of file display_data.c.

◆ dbase

int dbase

Definition at line 28 of file display_data.c.

◆ depth

int depth
static

Definition at line 19 of file display_data.c.

◆ display

Display* display
extern

Definition at line 228 of file daily_qc.c.

◆ display_method

int display_method
extern

Definition at line 112 of file daily_qc.c.

◆ draw_dialog

Widget draw_dialog[10]
extern

Definition at line 114 of file daily_qc.c.

◆ etim

struct stim etim

Definition at line 19 of file display_data.c.

◆ font

Font font[10]
extern

Definition at line 231 of file daily_qc.c.

◆ gc1

GC gc1

Definition at line 17 of file display_data.c.

◆ hour

int hour

Definition at line 30 of file display_data.c.

◆ info_font

XFontStruct* info_font[10]
extern

Definition at line 230 of file daily_qc.c.

◆ init_subdisplay

int init_subdisplay
extern

Definition at line 109 of file daily_qc.c.

◆ linear

int linear =0
static

Definition at line 19 of file display_data.c.

◆ mmap

unsigned long mmap[16]
extern

Definition at line 226 of file daily_qc.c.

◆ month

int month

Definition at line 30 of file display_data.c.

◆ pe2

char pe2

Definition at line 26 of file display_data.c.

◆ qual

char qual

Definition at line 29 of file display_data.c.

◆ root_win

Window root_win

Definition at line 8 of file display_data.c.

◆ save_rec

struct save_rec save_rec[20]
extern

Definition at line 110 of file daily_qc.c.

◆ scale

int scale =0
static

Definition at line 19 of file display_data.c.

◆ stn_rec

struct stn_rec stn_rec

Definition at line 26 of file display_data.c.

◆ stn_values

Definition at line 3 of file display_data.c.

◆ top_level

Widget top_level
extern

Definition at line 214 of file daily_qc.c.

◆ year

int year

Definition at line 30 of file display_data.c.