11 extern int fstation_focus;
14 extern int wfo_in_use[20];
17 extern int max_fstations;
22 extern unsigned long qmap[16];
32 int i,xc,yc,text_width,length,m;
44 char tbuf[100],mbuf[100];
85 for(ii=0;ii<max_fstations;ii++) {
91 if(wfo_in_use[h] == -1)
94 if(
fstation[ii].owner==wfo_in_use[h])
104 if(qpf_on==1 &&
fstation[ii].qpf==-1)
108 if(flf_on==1 &&
fstation[ii].frz==-1)
137 if(
i==fstation_focus)
143 XDrawLine(
display,pix,
gc,x1+1,y1+1,x1+1,y1-1);
144 XDrawLine(
display,pix,
gc,x1+1,y1-1,x1-1,y1-1);
145 XDrawLine(
display,pix,
gc,x1-1,y1-1,x1-1,y1+1);
146 XDrawLine(
display,pix,
gc,x1-1,y1+1,x1+1,y1-1);
161 else if(type==4 && qpf_on==1) {
170 strcpy(tbuf,&mbuf[1]);
177 else if(type==4 && flf_on==1) {
186 strcpy(tbuf,&mbuf[1]);
193 text_width=XTextWidth(
info_font[4],tbuf,length);
210 XDrawString(
display,pix,
gc,xc,yc,tbuf,length);
XFontStruct * info_font[10]
sprintf(fbuf,"/usr/mapper/nexrad/ngrid.%02d-%02d-%02d-%02d", year, month, day, hour)
void plot_fstations(Drawable pix, int h, int type, int k, int display_flag)