summaryrefslogtreecommitdiff
path: root/src/hed/input.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/hed/input.h')
-rw-r--r--src/hed/input.h52
1 files changed, 52 insertions, 0 deletions
diff --git a/src/hed/input.h b/src/hed/input.h
new file mode 100644
index 0000000..76071ce
--- /dev/null
+++ b/src/hed/input.h
@@ -0,0 +1,52 @@
1/*************************************************************************
2 *
3 * HTCd - Copyright (C) 1998-2006 Henrik Rydberg
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18 */
19
20#include <mt/stringref.h>
21
22#ifndef INPUTH
23#define INPUTH
24
25#define KK_DOWN 0402
26#define KK_UP 0403
27#define KK_LEFT 0404
28#define KK_RIGHT 0405
29#define KK_HOME 0406
30#define KK_F0 0410
31#define KK_F(n) (KK_F0+(n))
32#define KK_NPAGE 0522
33#define KK_PPAGE 0523
34#define KK_END 0550
35
36int Input();
37int RawInput();
38
39int Lines();
40int Columns();
41
42void ClearScreen();
43void MoveCursor(int i,int j);
44void OutputField(int row,int col,int field,const sref& p);
45void Reverse(int n);
46void Bold(int n);
47void Refresh();
48
49void InitCurses();
50void EndCurses();
51
52#endif