Example #1
0
void Gdeactive_icon()
{
	int		cur_window, was_normal;

	if ( !icon_active ) return;
	if ( (cur_window = active) != 2 )
	  Wgmode();
	drawIconPtr = &icon_buf[ 0 ];
	if ( (was_normal = !GisXORmode()) )
	  icon_xormode();
	draw_icon( iconx, icony );			/* Erase old */
	if( was_normal )
	  icon_normalmode();
	*drawIconPtr = '\0';
#ifdef UNIX
	printf( "%s", &icon_buf[ 0 ] );
#else 
	vms_outputchars( &icon_buf[ 0 ], drawIconPtr - &icon_buf[ 0 ] );
#endif 
	if (cur_window != 2)
	  Wsetactive( cur_window );

	icon_active = 0;
	icon_moving = 0;
}
Example #2
0
static void setwindows(char *argv[])
/*************/
{
    if ((argv[0][4]!='n') && (argv[0][3]!='n'))
    {
#ifdef VNMRJ
        saveGraphFunc(argv, 1, 1, 1);
#endif
        Wclear_graphics();
        clear_dscale();
        show_plotterbox();
    } else {
#ifdef VNMRJ
        saveGraphFunc(argv, 1, 0, 3);
#endif
    }
    Wgmode(); /* goto tek graphics and set screen 2 active */
    Wshow_graphics();
    drawPlotBox();
}
Example #3
0
static void setwindows()
/*************/
{
  Wgmode(); /* goto tek graphics and set screen 2 active */
  Wshow_graphics();
}