/* text_in.h  for inputting text in OpenGL */

#include <stdio.h>
#include <string.h>
#include <GL/glut.h>

void clear_text(char msg[]); /* clears input string, optional */
                /* some places leave previous user dtring for user to edit */

void get_text(char msg[], void (*call_with_text)());
              /* user must call 'add_text' in mouse funct */
                     
int add_text(unsigned char key);
              /* if(add_text(key)) return; statement for key funct */

void stop_text(char msg[]);
               /* stop inputting text */

void show_text(GLfloat x, GLfloat y, char msg[]);
               /* user must call 'show_text' in display funct */

/* end text_in.h  not set up for C++ */

