1 /* 2 * PROPRIETARY INFORMATION. This software is proprietary to POWDER 3 * Development, and is not to be reproduced, transmitted, or disclosed 4 * in any way without written permission. 5 * 6 * Produced by: Jeff Lait 7 * 8 * POWDER Development 9 * 10 * NAME: input.h ( POWDER Library, C++ ) 11 * 12 * COMMENTS: 13 * This provides a way of getting input from the user using the 14 * standard 4 button approach. 15 * 16 * By "standard", I mean unique to POWDER and completely uninituitive to 17 * the rest of the world. 18 */ 19 20 #ifndef __input_h__ 21 #define __input_h__ 22 23 // This inputs a line into the given buffer, maximum length of len. 24 // lx & ly is where to write the line's text. 25 // gx & gy is where the gnomon is to be placed (uses 3x3 grid centered there) 26 // initialtext is the initial text. 27 void 28 input_getline(char *text, int len, int lx, int ly, int gx, int gy, 29 const char *initialtext = 0); 30 31 #endif 32