Logo Search packages:      
Sourcecode: ytree version File versions  Download package

print.c

/***************************************************************************
 *
 * $Header: /usr/local/cvsroot/utils/ytree/print.c,v 1.2 1998/05/10 20:02:24 werner Rel $
 *
 * Enhanced Curses Functions
 *
 ***************************************************************************/



#include "ytree.h"



int MvAddStr(int y, int x, char *str)
{
  for(;*str != '\0';str++)
      mvaddch(y, x++, PRINT(*str));
  return 0;
}

int MvWAddStr(WINDOW *win, int y, int x, char *str)
{
  for(;*str != '\0';str++)
      mvwaddch(win, y, x++, PRINT(*str));
  return 0;
}


int WAddStr(WINDOW *win, char *str)
{
  for(;*str != '\0';str++)
      waddch(win, PRINT(*str));
  return 0;
}

int AddStr(char *str)
{
  for(;*str != '\0';str++)
      addch( PRINT(*str));
  return 0;
}


Generated by  Doxygen 1.6.0   Back to index