OSDN Git Service

add translations
[jnethack/source.git] / win / curses / cursmisc.h
1 /* vim:set cin ft=c sw=4 sts=4 ts=8 et ai cino=Ls\:0t0(0 : -*- mode:c;fill-column:80;tab-width:8;c-basic-offset:4;indent-tabs-mode:nil;c-file-style:"k&r" -*-*/
2 /* NetHack 3.6 cursmisc.h */
3 /* Copyright (c) Karl Garrison, 2010. */
4 /* NetHack may be freely redistributed.  See license for details. */
5
6 #ifndef CURSMISC_H
7 # define CURSMISC_H
8
9 /* Global declarations */
10
11 int curses_read_char(void);
12 void curses_toggle_color_attr(WINDOW *win, int color, int attr, int onoff);
13 void curses_menu_color_attr(WINDOW *win, int color, int attr, int onoff);
14 void curses_bail(const char *mesg);
15 winid curses_get_wid(int type);
16 char *curses_copy_of(const char *s);
17 int curses_num_lines(const char *str, int width);
18 char *curses_break_str(const char *str, int width, int line_num);
19 char *curses_str_remainder(const char *str, int width, int line_num);
20 boolean curses_is_menu(winid wid);
21 boolean curses_is_text(winid wid);
22 int curses_convert_glyph(int ch, int glyph);
23 void curses_move_cursor(winid wid, int x, int y);
24 void curses_prehousekeeping(void);
25 void curses_posthousekeeping(void);
26 void curses_view_file(const char *filename, boolean must_exist);
27 void curses_rtrim(char *str);
28 int curses_get_count(int first_digit);
29 int curses_convert_attr(int attr);
30 int curses_read_attrs(const char *attrs);
31 char *curses_fmt_attrs(char *);
32 int curses_convert_keys(int key);
33 int curses_get_mouse(int *mousex, int *mousey, int *mod);
34 void curses_mouse_support(int);
35
36 #endif /* CURSMISC_H */