* keys.h: Remove, include ...

* myslang.h: ... here.
* Makefile.am: Remove keys.h.
This commit is contained in:
Pavel Roskin 2002-08-22 06:56:35 +00:00
parent 089a1ae9e5
commit 1d2d88c2b9
4 changed files with 13 additions and 22 deletions

View File

@ -1,5 +1,9 @@
2002-08-22 Pavel Roskin <proski@gnu.org>
* keys.h: Remove, include ...
* myslang.h: ... here.
* Makefile.am: Remove keys.h.
* dlg.h: Remove unused fields in struct Dlg_head.
* dlg.c: Adjust for the above.

View File

@ -48,7 +48,7 @@ SRCS = achown.c achown.h background.c background.h boxes.c boxes.h \
eregex.h ext.c ext.h file.c filegui.c filegui.h file.h \
filenot.c fileopctx.c fileopctx.h find.c find.h findme.c \
findme.h fs.h fsusage.c fsusage.h global.h help.c help.h \
hotlist.c hotlist.h i18n.h info.c info.h key.c key.h keys.h \
hotlist.c hotlist.h i18n.h info.c info.h key.c key.h \
keyxdef.c layout.c layout.h learn.c learn.h listmode.c \
listmode.h main.c main.h menu.c menu.h \
mountlist.c mountlist.h mouse.c mouse.h myslang.h option.c \

View File

@ -1,20 +0,0 @@
#ifndef __KEYS_H
#define __KEYS_H
/* Key constants as used by mc for non-curses ports */
enum {
KEY_BACKSPACE = 400,
KEY_END, KEY_UP, KEY_DOWN, KEY_LEFT, KEY_RIGHT,
KEY_HOME, KEY_A1, KEY_C1, KEY_NPAGE, KEY_PPAGE, KEY_IC,
KEY_ENTER, KEY_DC, KEY_SCANCEL, KEY_BTAB
};
#define KEY_KP_ADD 4001
#define KEY_KP_SUBTRACT 4002
#define KEY_KP_MULTIPLY 4003
#define KEY_F(x) 1000+x
#endif /* __KEYS_H */

View File

@ -11,7 +11,14 @@
# include "slang/slang-mc.h"
#endif /* !HAVE_SYSTEM_SLANG */
#include "keys.h"
enum {
KEY_BACKSPACE = 400,
KEY_END, KEY_UP, KEY_DOWN, KEY_LEFT, KEY_RIGHT,
KEY_HOME, KEY_A1, KEY_C1, KEY_NPAGE, KEY_PPAGE, KEY_IC,
KEY_ENTER, KEY_DC, KEY_SCANCEL, KEY_BTAB
};
#define KEY_F(x) 1000+x
#define ACS_VLINE SLSMG_VLINE_CHAR
#define ACS_HLINE SLSMG_HLINE_CHAR