File: input.h

package info (click to toggle)
powder 117-2
  • links: PTS
  • area: non-free
  • in suites: stretch
  • size: 10,576 kB
  • ctags: 3,545
  • sloc: cpp: 55,002; makefile: 541; sh: 258; objc: 245; ansic: 107; csh: 54
file content (31 lines) | stat: -rw-r--r-- 896 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/*
 * PROPRIETARY INFORMATION.  This software is proprietary to POWDER
 * Development, and is not to be reproduced, transmitted, or disclosed
 * in any way without written permission.
 *
 * Produced by:	Jeff Lait
 *
 *      	POWDER Development
 *
 * NAME:        input.h ( POWDER Library, C++ )
 *
 * COMMENTS:
 * 	This provides a way of getting input from the user using the
 * 	standard 4 button approach.
 *
 *	By "standard", I mean unique to POWDER and completely uninituitive to
 *	the rest of the world.
 */

#ifndef __input_h__
#define __input_h__

// This inputs a line into the given buffer, maximum length of len.
// lx & ly is where to write the line's text.
// gx & gy is where the gnomon is to be placed (uses 3x3 grid centered there)
// initialtext is the initial text.
void
input_getline(char *text, int len, int lx, int ly, int gx, int gy,
		const char *initialtext = 0);

#endif