Mercurial > mplayer.hg
annotate osdep/getch2.h @ 24333:d332d20ca300
r24216: Add missed in r24212 strings definitions
r24310: Support for selecting language via packet 28.
r24341: Move debug message to verbose output level.
author | voroshil |
---|---|
date | Thu, 06 Sep 2007 17:54:11 +0000 |
parents | 50e1e79056b6 |
children | 6ac1ece1f9fe |
rev | line source |
---|---|
1 | 1 /* GyS-TermIO v2.0 (for GySmail v3) (C) 1999 A'rpi/ESP-team */ |
2 /* a very small replacement of ncurses library */ | |
3 | |
4 /* Screen size. Initialized by load_termcap() and get_screen_size() */ | |
5 extern int screen_width; | |
6 extern int screen_height; | |
7 | |
17240
11459d1ff17c
Use termcap "erase to end of line" character code instead of using spaces
ods15
parents:
9380
diff
changeset
|
8 /* Termcap code to erase to end of line */ |
11459d1ff17c
Use termcap "erase to end of line" character code instead of using spaces
ods15
parents:
9380
diff
changeset
|
9 extern char * erase_to_end_of_line; |
11459d1ff17c
Use termcap "erase to end of line" character code instead of using spaces
ods15
parents:
9380
diff
changeset
|
10 |
1 | 11 /* Get screen-size using IOCTL call. */ |
17566
f580a7755ac5
Patch by Stefan Huehner / stefan % huehner ! org \
rathann
parents:
17240
diff
changeset
|
12 extern void get_screen_size(void); |
1 | 13 |
14 /* Load key definitions from the TERMCAP database. 'termtype' can be NULL */ | |
15 extern int load_termcap(char *termtype); | |
16 | |
17 /* Enable and disable STDIN line-buffering */ | |
17566
f580a7755ac5
Patch by Stefan Huehner / stefan % huehner ! org \
rathann
parents:
17240
diff
changeset
|
18 extern void getch2_enable(void); |
f580a7755ac5
Patch by Stefan Huehner / stefan % huehner ! org \
rathann
parents:
17240
diff
changeset
|
19 extern void getch2_disable(void); |
1 | 20 |
21 /* Read a character or a special key code (see keycodes.h) */ | |
24129 | 22 extern void getch2(void); |
1 | 23 |
19808
5385740067a1
* remove extern definitions of functions in .c files
attila
parents:
17566
diff
changeset
|
24 #ifdef __MINGW32__ |
5385740067a1
* remove extern definitions of functions in .c files
attila
parents:
17566
diff
changeset
|
25 extern int mp_input_win32_slave_cmd_func(int fd,char* dest,int size); |
5385740067a1
* remove extern definitions of functions in .c files
attila
parents:
17566
diff
changeset
|
26 #endif |