mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 12:56:51 +03:00
e0194b11a0
* win.h: ... where it's used. Remove unused definitions. * win.c: Remove unused code. * key.h: Include mouse.h, don't rely on others doing it. * widget.h: Include dlg.h. Remove Tk-only fields. * widget.c: Remove Tk-only fields.
18 lines
439 B
C
18 lines
439 B
C
#ifndef __WIN_H
|
|
#define __WIN_H
|
|
|
|
/* Keys managing */
|
|
typedef void (*movefn)(void *, int);
|
|
int check_movement_keys (int c, int additional, int page_size, void *,
|
|
movefn backfn, movefn forfn, movefn topfn, movefn bottomfn);
|
|
int lookup_key (char *keyname);
|
|
|
|
/* Terminal managing */
|
|
extern int xterm_flag;
|
|
void do_enter_ca_mode (void);
|
|
void do_exit_ca_mode (void);
|
|
|
|
void mc_raw_mode (void);
|
|
void mc_noraw_mode (void);
|
|
#endif /* __WIN_H */
|